|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.content.mediator.KBCaller
org.activemath.content.mediator.kbimpl.MBaseCaller
public class MBaseCaller
| Field Summary | |
|---|---|
protected static boolean |
DEBUG
|
| Constructor Summary | |
|---|---|
MBaseCaller(MBaseRef mb)
|
|
| Method Summary | |
|---|---|
String |
getContent(String uri)
Returns the whole content of the learning object corresponding to the given uri. |
String |
getMappingURL()
Returns the URL of the mapping file. |
List |
getMetadata(String uri)
currently not used Currently, only the title of the given Learning Object is returned. |
String |
getName()
Each KBCaller has name, which can be returned by this method. |
String |
getOntologyURL()
Returns the URL of the owl-file which specifies the metadata structure of the kb. |
String |
getUniqueURIPrefix()
Returns a unique prefix of the URIs belonging to this repository. |
Set |
queryClass(String item)
Returns the set of class labels the given item belongs to. |
Set |
queryProperty(String item)
Returns a Set of lists, where each list comprises two elements: [attribute,value]. |
Set |
queryProperty(String item,
String learningContext)
We introduce this method to handle the 2dimenional properties which are dependent on the learning context. |
Set |
queryRelation(String relation,
String item)
Returns the set of all items x for which holds: x rel item. |
Set |
queryRelation(String relation,
String item,
String coverage)
Returns the set of all items x for which holds: x rel item. |
| Methods inherited from class org.activemath.content.mediator.KBCaller |
|---|
getOIOMapping, getOntologyModel, optimizeKBQuery, setOIOMapping, setOntologyModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final boolean DEBUG
| Constructor Detail |
|---|
public MBaseCaller(MBaseRef mb)
| Method Detail |
|---|
public Set queryClass(String item)
KBCaller
queryClass in class KBCaller
public Set queryRelation(String relation,
String item,
String coverage)
KBCaller
queryRelation in class KBCaller
public Set queryRelation(String relation,
String item)
KBCaller
queryRelation in class KBCallerpublic Set queryProperty(String item)
KBCaller
queryProperty in class KBCaller
public Set queryProperty(String item,
String learningContext)
item - learningContext -
public String getName()
KBCaller
getName in class KBCallerpublic String getOntologyURL()
KBCaller
getOntologyURL in class KBCallerpublic String getMappingURL()
KBCaller
getMappingURL in class KBCallerpublic String getUniqueURIPrefix()
KBCaller
getUniqueURIPrefix in class KBCallerpublic List getMetadata(String uri)
org.activemath.content.mediator.KBCaller#getMetadata(java.lang.String)public String getContent(String uri)
KBCaller
getContent in class KBCaller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||