org.activemath.content.query.dbimpl
Class MBaseCaller

java.lang.Object
  extended by org.activemath.content.query.DBCaller
      extended by org.activemath.content.query.dbimpl.MBaseCaller

public class MBaseCaller
extends DBCaller


Constructor Summary
MBaseCaller(MBaseRef mb)
          Default Constructor.
 
Method Summary
 List queryAttr(String item, String attr)
           
 Set queryClass(String item)
          Give back the set of the class labels of the given item.
 List queryRelation(String item, String rel)
           
 
Methods inherited from class org.activemath.content.query.DBCaller
optimizeDBQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBaseCaller

public MBaseCaller(MBaseRef mb)
Default Constructor.

Parameters:
mb - The interface to MBase.
Method Detail

queryClass

public Set queryClass(String item)
               throws NoSuchItemException
Description copied from class: DBCaller
Give back the set of the class labels of the given item. An empty set possible?

Specified by:
queryClass in class DBCaller
Parameters:
item - The target item.
Throws:
NoSuchItemException

queryRelation

public List queryRelation(String item,
                          String rel)
                   throws UnsupportedOntologyQueryException,
                          NoSuchItemException
Specified by:
queryRelation in class DBCaller
Throws:
UnsupportedOntologyQueryException
NoSuchItemException

queryAttr

public List queryAttr(String item,
                      String attr)
               throws UnsupportedOntologyQueryException,
                      NoSuchItemException
Specified by:
queryAttr in class DBCaller
Throws:
UnsupportedOntologyQueryException
NoSuchItemException