|
||||||||||
| 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.AMRepositoryCaller
public class AMRepositoryCaller
| Constructor Summary | |
|---|---|
AMRepositoryCaller()
|
|
| 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. |
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 a Set containing all the classes the item item belongs to. |
Set |
queryProperty(String item)
Returns a set of lists(i.e. ordered pairs) like {[difficulty,easy][learningContext,secondaryEd]} |
Set |
queryRelation(String rel,
String item)
Returns the set of all items x for which holds: x rel item. |
Set |
queryRelation(String rel,
String item,
String c)
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 |
| Constructor Detail |
|---|
public AMRepositoryCaller()
| Method Detail |
|---|
public Set queryClass(String item)
queryClass in class KBCallerKBCaller.queryClass(java.lang.String)
public Set queryRelation(String rel,
String item)
KBCaller
queryRelation in class KBCallerpublic Set queryProperty(String item)
queryProperty in class KBCallerKBCaller.queryProperty(java.lang.String)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 String getContent(String uri)
KBCaller
getContent in class KBCaller
public Set queryRelation(String rel,
String item,
String c)
KBCaller
queryRelation in class KBCaller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||