|
||||||||||
| 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.NamedGraphImpl
public class NamedGraphImpl
Implementation of NamedGraph
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.
(URI: http://openanzo.org/types/NamedGraph)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.common.ontology.NamedGraph |
|---|
TYPE |
| Method Summary | |
|---|---|
User |
addCreatedBy()
Adds an anonymous value for the 'createdBy' property |
User |
addCreatedBy(org.openrdf.model.Resource resource)
Adds a value for the 'createdBy' property. |
void |
addCreatedBy(User createdBy)
Adds a value for the 'createdBy' property |
User |
addLastModifiedByUser()
Adds an anonymous value for the 'lastModifiedByUser' property |
User |
addLastModifiedByUser(org.openrdf.model.Resource resource)
Adds a value for the 'lastModifiedByUser' property. |
void |
addLastModifiedByUser(User lastModifiedByUser)
Adds a value for the 'lastModifiedByUser' property |
info.aduna.collections.iterators.CloseableIterator<User> |
getCreatedBy()
Get an Iterator the 'createdBy' property values. |
java.lang.String |
getHasMetadataGraph()
Gets the 'hasMetadataGraph' property value |
info.aduna.collections.iterators.CloseableIterator<User> |
getLastModifiedByUser()
Get an Iterator the 'lastModifiedByUser' property values. |
java.util.Calendar |
getModified()
Gets the 'modified' property value |
java.lang.Long |
getRevision()
Gets the 'revision' property value |
ACL |
getUsesAcl()
Gets the 'usesAcl' 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 |
removeCreatedBy(org.openrdf.model.Resource createdBy)
Remove a 'createdBy' property value. |
void |
removeCreatedBy(User createdBy)
Removes a value for the 'createdBy' property. |
void |
removeLastModifiedByUser(org.openrdf.model.Resource lastModifiedByUser)
Remove a 'lastModifiedByUser' property value. |
void |
removeLastModifiedByUser(User lastModifiedByUser)
Removes a value for the 'lastModifiedByUser' property. |
void |
setHasMetadataGraph(java.lang.String hasMetadataGraph)
Sets the 'hasMetadataGraph' property value |
void |
setModified(java.util.Calendar modified)
Sets the 'modified' property value |
void |
setRevision(java.lang.Long revision)
Sets the 'revision' property value |
ACL |
setUsesAcl()
Sets the 'usesAcl' property value to an anonymous node |
void |
setUsesAcl(ACL usesAcl)
Sets the 'usesAcl' property value |
ACL |
setUsesAcl(org.openrdf.model.Resource resource)
Sets the 'usesAcl' property value to the given resource, and add's rdf:type properties. |
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 java.lang.String getHasMetadataGraph()
throws JastorException
NamedGraph
getHasMetadataGraph in interface NamedGraphString
JastorExceptionNamedGraph.hasMetadataGraphProperty
public void setHasMetadataGraph(java.lang.String hasMetadataGraph)
throws JastorException
NamedGraph
setHasMetadataGraph in interface NamedGraphhasMetadataGraph - String
JastorExceptionNamedGraph.hasMetadataGraphProperty
public java.util.Calendar getModified()
throws JastorException
NamedGraph
getModified in interface NamedGraphCalendar
JastorExceptionNamedGraph.modifiedProperty
public void setModified(java.util.Calendar modified)
throws JastorException
NamedGraph
setModified in interface NamedGraphmodified - Calendar
JastorExceptionNamedGraph.modifiedProperty
public java.lang.Long getRevision()
throws JastorException
NamedGraph
getRevision in interface NamedGraphLong
JastorExceptionNamedGraph.revisionProperty
public void setRevision(java.lang.Long revision)
throws JastorException
NamedGraph
setRevision in interface NamedGraphrevision - Long
JastorExceptionNamedGraph.revisionProperty
public info.aduna.collections.iterators.CloseableIterator<User> getCreatedBy()
throws JastorException
NamedGraph
getCreatedBy in interface NamedGraphIterator of User
JastorExceptionNamedGraph.createdByProperty
public void addCreatedBy(User createdBy)
throws JastorException
NamedGraph
addCreatedBy in interface NamedGraphcreatedBy - The User to add
JastorExceptionNamedGraph.createdByProperty
public User addCreatedBy()
throws JastorException
NamedGraph
addCreatedBy in interface NamedGraphUser created
JastorExceptionNamedGraph.createdByProperty
public User addCreatedBy(org.openrdf.model.Resource resource)
throws JastorException
NamedGraphUser with the factory
and calling addCreatedBy(org.openanzo.common.ontology.User createdBy)
The resource argument have rdf:type http://openanzo.org/RBAC#User. That is, this method
should not be used as a shortcut for creating new objects in the model.
addCreatedBy in interface NamedGraphresource - The Resource to add
JastorExceptionNamedGraph.createdByProperty
public void removeCreatedBy(User createdBy)
throws JastorException
NamedGraph
removeCreatedBy in interface NamedGraphcreatedBy - The User to remove
JastorExceptionNamedGraph.createdByProperty
public void removeCreatedBy(org.openrdf.model.Resource createdBy)
throws JastorException
NamedGraph
removeCreatedBy in interface NamedGraphcreatedBy - User, the value to remove
JastorExceptionNamedGraph.createdByProperty
public info.aduna.collections.iterators.CloseableIterator<User> getLastModifiedByUser()
throws JastorException
NamedGraph
getLastModifiedByUser in interface NamedGraphIterator of User
JastorExceptionNamedGraph.lastModifiedByUserProperty
public void addLastModifiedByUser(User lastModifiedByUser)
throws JastorException
NamedGraph
addLastModifiedByUser in interface NamedGraphlastModifiedByUser - The User to add
JastorExceptionNamedGraph.lastModifiedByUserProperty
public User addLastModifiedByUser()
throws JastorException
NamedGraph
addLastModifiedByUser in interface NamedGraphUser created
JastorExceptionNamedGraph.lastModifiedByUserProperty
public User addLastModifiedByUser(org.openrdf.model.Resource resource)
throws JastorException
NamedGraphUser with the factory
and calling addLastModifiedByUser(org.openanzo.common.ontology.User lastModifiedByUser)
The resource argument have rdf:type http://openanzo.org/RBAC#User. That is, this method
should not be used as a shortcut for creating new objects in the model.
addLastModifiedByUser in interface NamedGraphresource - The Resource to add
JastorExceptionNamedGraph.lastModifiedByUserProperty
public void removeLastModifiedByUser(User lastModifiedByUser)
throws JastorException
NamedGraph
removeLastModifiedByUser in interface NamedGraphlastModifiedByUser - The User to remove
JastorExceptionNamedGraph.lastModifiedByUserProperty
public void removeLastModifiedByUser(org.openrdf.model.Resource lastModifiedByUser)
throws JastorException
NamedGraph
removeLastModifiedByUser in interface NamedGraphlastModifiedByUser - User, the value to remove
JastorExceptionNamedGraph.lastModifiedByUserProperty
public ACL getUsesAcl()
throws JastorException
NamedGraph
getUsesAcl in interface NamedGraphACL
JastorExceptionNamedGraph.usesAclProperty
public void setUsesAcl(ACL usesAcl)
throws JastorException
NamedGraph
setUsesAcl in interface NamedGraphusesAcl - ACL
JastorExceptionNamedGraph.usesAclProperty
public ACL setUsesAcl()
throws JastorException
NamedGraph
setUsesAcl in interface NamedGraphACL, the created value
JastorExceptionNamedGraph.usesAclProperty
public ACL setUsesAcl(org.openrdf.model.Resource resource)
throws JastorException
NamedGraphACL with the factory.
and calling setUsesAcl(org.openanzo.common.ontology.ACL usesAcl)
The resource argument have rdf:type http://openanzo.org/RBAC#ACL. That is, this method
should not be used as a shortcut for creating new objects in the model.
setUsesAcl in interface NamedGraphresource - Resource must not be be null.
ACL, the newly created value
JastorExceptionNamedGraph.usesAclPropertypublic 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 | |||||||||