|
||||||||||
| 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.CommandImpl
public class CommandImpl
Implementation of Command
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.
(URI: http://openanzo.org/types/Command)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.common.ontology.Command |
|---|
TYPE |
| Method Summary | |
|---|---|
Precondition |
addPrecondition()
Adds an anonymous value for the 'precondition' property |
void |
addPrecondition(Precondition precondition)
Adds a value for the 'precondition' property |
Precondition |
addPrecondition(org.openrdf.model.Resource resource)
Adds a value for the 'precondition' property. |
info.aduna.collections.iterators.CloseableIterator<Precondition> |
getPrecondition()
Get an Iterator the 'precondition' property values. |
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 |
removePrecondition(Precondition precondition)
Removes a value for the 'precondition' property. |
void |
removePrecondition(org.openrdf.model.Resource precondition)
Remove a 'precondition' 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 info.aduna.collections.iterators.CloseableIterator<Precondition> getPrecondition()
throws JastorException
Command
getPrecondition in interface CommandIterator of Precondition
JastorExceptionCommand.preconditionProperty
public void addPrecondition(Precondition precondition)
throws JastorException
Command
addPrecondition in interface Commandprecondition - The Precondition to add
JastorExceptionCommand.preconditionProperty
public Precondition addPrecondition()
throws JastorException
Command
addPrecondition in interface CommandPrecondition created
JastorExceptionCommand.preconditionProperty
public Precondition addPrecondition(org.openrdf.model.Resource resource)
throws JastorException
CommandPrecondition with the factory
and calling addPrecondition(org.openanzo.common.ontology.Precondition precondition)
The resource argument have rdf:type http://openanzo.org/types/Precondition. That is, this method
should not be used as a shortcut for creating new objects in the model.
addPrecondition in interface Commandresource - The Resource to add
JastorExceptionCommand.preconditionProperty
public void removePrecondition(Precondition precondition)
throws JastorException
Command
removePrecondition in interface Commandprecondition - The Precondition to remove
JastorExceptionCommand.preconditionProperty
public void removePrecondition(org.openrdf.model.Resource precondition)
throws JastorException
Command
removePrecondition in interface Commandprecondition - Precondition, the value to remove
JastorExceptionCommand.preconditionPropertypublic 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 | |||||||||