|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamedGraph
Interface for NamedGraph ontology class
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this interface.
(URI: http://openanzo.org/types/NamedGraph)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
createdByProperty
The Anzo Property for createdBy |
static org.openrdf.model.URI |
hasMetadataGraphProperty
The Anzo Property for hasMetadataGraph |
static org.openrdf.model.URI |
lastModifiedByUserProperty
The Anzo Property for lastModifiedByUser |
static org.openrdf.model.URI |
modifiedProperty
The Anzo Property for modified |
static org.openrdf.model.URI |
revisionProperty
The Anzo Property for revision |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
static org.openrdf.model.URI |
usesAclProperty
The Anzo Property for usesAcl |
| 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 |
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. |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri |
| Field Detail |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI hasMetadataGraphProperty
(URI: http://openanzo.org/predicates/hasMetadataGraph)
static final org.openrdf.model.URI modifiedProperty
(URI: http://openanzo.org/predicates/modified)
static final org.openrdf.model.URI revisionProperty
(URI: http://openanzo.org/predicates/revision)
static final org.openrdf.model.URI createdByProperty
(URI: http://openanzo.org/predicates/createdBy)
static final org.openrdf.model.URI lastModifiedByUserProperty
(URI: http://openanzo.org/predicates/lastModifiedByUser)
static final org.openrdf.model.URI usesAclProperty
(URI: http://openanzo.org/predicates/usesAcl)
| Method Detail |
|---|
java.lang.String getHasMetadataGraph()
throws JastorException
String
JastorExceptionhasMetadataGraphProperty
void setHasMetadataGraph(java.lang.String hasMetadataGraph)
throws JastorException
hasMetadataGraph - String
JastorExceptionhasMetadataGraphProperty
java.util.Calendar getModified()
throws JastorException
Calendar
JastorExceptionmodifiedProperty
void setModified(java.util.Calendar modified)
throws JastorException
modified - Calendar
JastorExceptionmodifiedProperty
java.lang.Long getRevision()
throws JastorException
Long
JastorExceptionrevisionProperty
void setRevision(java.lang.Long revision)
throws JastorException
revision - Long
JastorExceptionrevisionProperty
info.aduna.collections.iterators.CloseableIterator<User> getCreatedBy()
throws JastorException
Iterator of User
JastorExceptioncreatedByProperty
void addCreatedBy(User createdBy)
throws JastorException
createdBy - The User to add
JastorExceptioncreatedByProperty
User addCreatedBy()
throws JastorException
User created
JastorExceptioncreatedByProperty
User addCreatedBy(org.openrdf.model.Resource resource)
throws JastorException
User 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.
resource - The Resource to add
JastorExceptioncreatedByProperty
void removeCreatedBy(User createdBy)
throws JastorException
createdBy - The User to remove
JastorExceptioncreatedByProperty
void removeCreatedBy(org.openrdf.model.Resource createdBy)
throws JastorException
createdBy - User, the value to remove
JastorExceptioncreatedByProperty
info.aduna.collections.iterators.CloseableIterator<User> getLastModifiedByUser()
throws JastorException
Iterator of User
JastorExceptionlastModifiedByUserProperty
void addLastModifiedByUser(User lastModifiedByUser)
throws JastorException
lastModifiedByUser - The User to add
JastorExceptionlastModifiedByUserProperty
User addLastModifiedByUser()
throws JastorException
User created
JastorExceptionlastModifiedByUserProperty
User addLastModifiedByUser(org.openrdf.model.Resource resource)
throws JastorException
User 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.
resource - The Resource to add
JastorExceptionlastModifiedByUserProperty
void removeLastModifiedByUser(User lastModifiedByUser)
throws JastorException
lastModifiedByUser - The User to remove
JastorExceptionlastModifiedByUserProperty
void removeLastModifiedByUser(org.openrdf.model.Resource lastModifiedByUser)
throws JastorException
lastModifiedByUser - User, the value to remove
JastorExceptionlastModifiedByUserProperty
ACL getUsesAcl()
throws JastorException
ACL
JastorExceptionusesAclProperty
void setUsesAcl(ACL usesAcl)
throws JastorException
usesAcl - ACL
JastorExceptionusesAclProperty
ACL setUsesAcl()
throws JastorException
ACL, the created value
JastorExceptionusesAclProperty
ACL setUsesAcl(org.openrdf.model.Resource resource)
throws JastorException
ACL 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.
resource - Resource must not be be null.
ACL, the newly created value
JastorExceptionusesAclProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||