|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingImpl
org.openanzo.common.ontology.PreconditionImpl
public class PreconditionImpl
Implementation of Precondition
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.
(URI: http://openanzo.org/types/Precondition)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.common.ontology.Precondition |
|---|
TYPE |
| Method Summary | |
|---|---|
Dataset |
getDataset()
Gets the 'dataset' property value |
Query |
getQuery()
Gets the 'query' property value |
Result |
getResult()
Gets the 'result' 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 |
Dataset |
setDataset()
Sets the 'dataset' property value to an anonymous node |
void |
setDataset(Dataset dataset)
Sets the 'dataset' property value |
Dataset |
setDataset(org.openrdf.model.Resource resource)
Sets the 'dataset' property value to the given resource, and add's rdf:type properties. |
Query |
setQuery()
Sets the 'query' property value to an anonymous node |
void |
setQuery(Query query)
Sets the 'query' property value |
Query |
setQuery(org.openrdf.model.Resource resource)
Sets the 'query' property value to the given resource, and add's rdf:type properties. |
Result |
setResult()
Sets the 'result' property value to an anonymous node |
Result |
setResult(org.openrdf.model.Resource resource)
Sets the 'result' property value to the given resource, and add's rdf:type properties. |
void |
setResult(Result result)
Sets the 'result' 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 |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class GraphThingImpl
public Dataset getDataset()
throws JastorException
Precondition
getDataset in interface PreconditionDataset
JastorExceptionPrecondition.datasetProperty
public void setDataset(Dataset dataset)
throws JastorException
Precondition
setDataset in interface Preconditiondataset - Dataset
JastorExceptionPrecondition.datasetProperty
public Dataset setDataset()
throws JastorException
Precondition
setDataset in interface PreconditionDataset, the created value
JastorExceptionPrecondition.datasetProperty
public Dataset setDataset(org.openrdf.model.Resource resource)
throws JastorException
PreconditionDataset with the factory.
and calling setDataset(org.openanzo.common.ontology.Dataset dataset)
The resource argument have rdf:type http://openanzo.org/types/Dataset. That is, this method
should not be used as a shortcut for creating new objects in the model.
setDataset in interface Preconditionresource - Resource must not be be null.
Dataset, the newly created value
JastorExceptionPrecondition.datasetProperty
public Query getQuery()
throws JastorException
Precondition
getQuery in interface PreconditionQuery
JastorExceptionPrecondition.queryProperty
public void setQuery(Query query)
throws JastorException
Precondition
setQuery in interface Preconditionquery - Query
JastorExceptionPrecondition.queryProperty
public Query setQuery()
throws JastorException
Precondition
setQuery in interface PreconditionQuery, the created value
JastorExceptionPrecondition.queryProperty
public Query setQuery(org.openrdf.model.Resource resource)
throws JastorException
PreconditionQuery with the factory.
and calling setQuery(org.openanzo.common.ontology.Query query)
The resource argument have rdf:type http://openanzo.org/types/Query. That is, this method
should not be used as a shortcut for creating new objects in the model.
setQuery in interface Preconditionresource - Resource must not be be null.
Query, the newly created value
JastorExceptionPrecondition.queryProperty
public Result getResult()
throws JastorException
Precondition
getResult in interface PreconditionResult
JastorExceptionPrecondition.resultProperty
public void setResult(Result result)
throws JastorException
Precondition
setResult in interface Preconditionresult - Result
JastorExceptionPrecondition.resultProperty
public Result setResult()
throws JastorException
Precondition
setResult in interface PreconditionResult, the created value
JastorExceptionPrecondition.resultProperty
public Result setResult(org.openrdf.model.Resource resource)
throws JastorException
PreconditionResult with the factory.
and calling setResult(org.openanzo.common.ontology.Result result)
The resource argument have rdf:type http://openanzo.org/types/Result. That is, this method
should not be used as a shortcut for creating new objects in the model.
setResult in interface Preconditionresource - Resource must not be be null.
Result, the newly created value
JastorExceptionPrecondition.resultPropertypublic void registerListener(ThingListener listener)
CoreThing
registerListener in interface CoreThingregisterListener in class GraphThingImpllistener - ThingListenerpublic void unregisterListener(ThingListener listener)
CoreThing
unregisterListener in interface CoreThingunregisterListener in class GraphThingImpllistener - ThingListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||