|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryState
Defines the operations to query the different aspect of state stored in the Directory Service
Method Summary | |
---|---|
java.util.Set |
askQuery(java.lang.String variableName,
java.lang.String multiplyVariablesQuery)
Get values of the selected variable satisfing the KIF query with possibly many variable. |
java.util.Set |
getInstancesOf(java.lang.String conceptName)
Get set of instances of the given concept; if the concept is an instance itself the set contains just this instance. |
java.util.Set |
getValuesForProperty(java.lang.String property,
java.lang.String subject)
Get values of the variable satisfing the KIF query: (property subject ?val). |
boolean |
testTrue(java.lang.String statement)
Test if the KIF statemant is true according to the ontologies in the ontology repository. |
Method Detail |
---|
boolean testTrue(java.lang.String statement) throws DirectoryFailure, QueryFailure
statement
- to be tested for truth
DirectoryFailure
- if the connection to the DS cannot be established
QueryFailure
- if query failedjava.util.Set askQuery(java.lang.String variableName, java.lang.String multiplyVariablesQuery) throws DirectoryFailure, QueryFailure
variableName
- the name of the selected variablemultiplyVariablesQuery
- the query
DirectoryFailure
- if the connection to the DS cannot be established
QueryFailure
- if query failed.java.util.Set getInstancesOf(java.lang.String conceptName) throws DirectoryFailure, UnknownConceptException
conceptName
- The name of the concept
DirectoryFailure
- if the connection to the DS cannot be established
UnknownConceptException
- if conceptName is unknowjava.util.Set getValuesForProperty(java.lang.String property, java.lang.String subject) throws DirectoryFailure, QueryFailure
property
- the name of the propertysubject
- the name of the subject
DirectoryFailure
- if the connection to the DS cannot be established
QueryFailure
- if query failed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |