org.openanzo.common.ontology
Class QueryImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.common.ontology.QueryImpl
All Implemented Interfaces:
Query, CoreThing, GraphThing

public class QueryImpl
extends GraphThingImpl
implements Query

Implementation of Query Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.

(URI: http://openanzo.org/types/Query)



Field Summary
 
Fields inherited from interface org.openanzo.common.ontology.Query
TYPE
 
Method Summary
 java.lang.String getQueryString()
          Gets the 'queryString' property value
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 void registerListener(ThingListener listener)
          Register a ThingListener for this THING
 void setQueryString(java.lang.String queryString)
          Sets the 'queryString' property value
 void unregisterListener(ThingListener listener)
          Unregister a ThingListener for this THING
 
Methods inherited from class org.openanzo.jastor.GraphThingImpl
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, removeStatements, resource, setPropertyValue, setPropertyValue, toString, uri
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openanzo.jastor.GraphThing
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue
 
Methods inherited from interface org.openanzo.jastor.CoreThing
clearCache, isRDFType, removeStatements, resource, uri
 

Method Detail

listStatements

public java.util.Collection<org.openrdf.model.Statement> listStatements()
Description copied from interface: CoreThing
Get set of statements that makeup this THINGS's properties and types

Specified by:
listStatements in interface CoreThing
Overrides:
listStatements in class GraphThingImpl
Returns:
set of statements that makeup this THINGS's properties and types

getQueryString

public java.lang.String getQueryString()
                                throws JastorException
Description copied from interface: Query
Gets the 'queryString' property value

Specified by:
getQueryString in interface Query
Returns:
String
Throws:
JastorException
See Also:
Query.queryStringProperty

setQueryString

public void setQueryString(java.lang.String queryString)
                    throws JastorException
Description copied from interface: Query
Sets the 'queryString' property value

Specified by:
setQueryString in interface Query
Parameters:
queryString - String
Throws:
JastorException
See Also:
Query.queryStringProperty

registerListener

public void registerListener(ThingListener listener)
Description copied from interface: CoreThing
Register a ThingListener for this THING

Specified by:
registerListener in interface CoreThing
Overrides:
registerListener in class GraphThingImpl
Parameters:
listener - ThingListener

unregisterListener

public void unregisterListener(ThingListener listener)
Description copied from interface: CoreThing
Unregister a ThingListener for this THING

Specified by:
unregisterListener in interface CoreThing
Overrides:
unregisterListener in class GraphThingImpl
Parameters:
listener - ThingListener


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.