org.openanzo.common.ontology
Interface NamedGraph

All Superinterfaces:
CoreThing, GraphThing
All Known Implementing Classes:
NamedGraphImpl

public interface NamedGraph
extends GraphThing

Interface for NamedGraph ontology class
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this interface.

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


RDF Schema Standard Properties
comment : A metadata associated with a grouping of statements



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

TYPE

static final org.openrdf.model.URI TYPE
The rdf:type for this ontology class


hasMetadataGraphProperty

static final org.openrdf.model.URI hasMetadataGraphProperty
The Anzo Property for hasMetadataGraph

(URI: http://openanzo.org/predicates/hasMetadataGraph)



modifiedProperty

static final org.openrdf.model.URI modifiedProperty
The Anzo Property for modified

(URI: http://openanzo.org/predicates/modified)



RDF Schema Standard Properties
comment : Timestamp of last time object was modified


revisionProperty

static final org.openrdf.model.URI revisionProperty
The Anzo Property for revision

(URI: http://openanzo.org/predicates/revision)



RDF Schema Standard Properties
comment : A version number that increments each time the object of the statement is changed


createdByProperty

static final org.openrdf.model.URI createdByProperty
The Anzo Property for createdBy

(URI: http://openanzo.org/predicates/createdBy)



lastModifiedByUserProperty

static final org.openrdf.model.URI lastModifiedByUserProperty
The Anzo Property for lastModifiedByUser

(URI: http://openanzo.org/predicates/lastModifiedByUser)



usesAclProperty

static final org.openrdf.model.URI usesAclProperty
The Anzo Property for usesAcl

(URI: http://openanzo.org/predicates/usesAcl)


Method Detail

getHasMetadataGraph

java.lang.String getHasMetadataGraph()
                                     throws JastorException
Gets the 'hasMetadataGraph' property value

Returns:
String
Throws:
JastorException
See Also:
hasMetadataGraphProperty

setHasMetadataGraph

void setHasMetadataGraph(java.lang.String hasMetadataGraph)
                         throws JastorException
Sets the 'hasMetadataGraph' property value

Parameters:
hasMetadataGraph - String
Throws:
JastorException
See Also:
hasMetadataGraphProperty

getModified

java.util.Calendar getModified()
                               throws JastorException
Gets the 'modified' property value

Returns:
Calendar
Throws:
JastorException
See Also:
modifiedProperty

setModified

void setModified(java.util.Calendar modified)
                 throws JastorException
Sets the 'modified' property value

Parameters:
modified - Calendar
Throws:
JastorException
See Also:
modifiedProperty

getRevision

java.lang.Long getRevision()
                           throws JastorException
Gets the 'revision' property value

Returns:
Long
Throws:
JastorException
See Also:
revisionProperty

setRevision

void setRevision(java.lang.Long revision)
                 throws JastorException
Sets the 'revision' property value

Parameters:
revision - Long
Throws:
JastorException
See Also:
revisionProperty

getCreatedBy

info.aduna.collections.iterators.CloseableIterator<User> getCreatedBy()
                                                                      throws JastorException
Get an Iterator the 'createdBy' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of User
Throws:
JastorException
See Also:
createdByProperty

addCreatedBy

void addCreatedBy(User createdBy)
                  throws JastorException
Adds a value for the 'createdBy' property

Parameters:
createdBy - The User to add
Throws:
JastorException
See Also:
createdByProperty

addCreatedBy

User addCreatedBy()
                  throws JastorException
Adds an anonymous value for the 'createdBy' property

Returns:
The anoymous User created
Throws:
JastorException
See Also:
createdByProperty

addCreatedBy

User addCreatedBy(org.openrdf.model.Resource resource)
                  throws JastorException
Adds a value for the 'createdBy' property. This method is equivalent constructing a new instance of 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.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.User created
Throws:
JastorException
See Also:
createdByProperty

removeCreatedBy

void removeCreatedBy(User createdBy)
                     throws JastorException
Removes a value for the 'createdBy' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
createdBy - The User to remove
Throws:
JastorException
See Also:
createdByProperty

removeCreatedBy

void removeCreatedBy(org.openrdf.model.Resource createdBy)
                     throws JastorException
Remove a 'createdBy' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
createdBy - User, the value to remove
Throws:
JastorException
See Also:
createdByProperty

getLastModifiedByUser

info.aduna.collections.iterators.CloseableIterator<User> getLastModifiedByUser()
                                                                               throws JastorException
Get an Iterator the 'lastModifiedByUser' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of User
Throws:
JastorException
See Also:
lastModifiedByUserProperty

addLastModifiedByUser

void addLastModifiedByUser(User lastModifiedByUser)
                           throws JastorException
Adds a value for the 'lastModifiedByUser' property

Parameters:
lastModifiedByUser - The User to add
Throws:
JastorException
See Also:
lastModifiedByUserProperty

addLastModifiedByUser

User addLastModifiedByUser()
                           throws JastorException
Adds an anonymous value for the 'lastModifiedByUser' property

Returns:
The anoymous User created
Throws:
JastorException
See Also:
lastModifiedByUserProperty

addLastModifiedByUser

User addLastModifiedByUser(org.openrdf.model.Resource resource)
                           throws JastorException
Adds a value for the 'lastModifiedByUser' property. This method is equivalent constructing a new instance of 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.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.User created
Throws:
JastorException
See Also:
lastModifiedByUserProperty

removeLastModifiedByUser

void removeLastModifiedByUser(User lastModifiedByUser)
                              throws JastorException
Removes a value for the 'lastModifiedByUser' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
lastModifiedByUser - The User to remove
Throws:
JastorException
See Also:
lastModifiedByUserProperty

removeLastModifiedByUser

void removeLastModifiedByUser(org.openrdf.model.Resource lastModifiedByUser)
                              throws JastorException
Remove a 'lastModifiedByUser' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
lastModifiedByUser - User, the value to remove
Throws:
JastorException
See Also:
lastModifiedByUserProperty

getUsesAcl

ACL getUsesAcl()
               throws JastorException
Gets the 'usesAcl' property value

Returns:
ACL
Throws:
JastorException
See Also:
usesAclProperty

setUsesAcl

void setUsesAcl(ACL usesAcl)
                throws JastorException
Sets the 'usesAcl' property value

Parameters:
usesAcl - ACL
Throws:
JastorException
See Also:
usesAclProperty

setUsesAcl

ACL setUsesAcl()
               throws JastorException
Sets the 'usesAcl' property value to an anonymous node

Returns:
ACL, the created value
Throws:
JastorException
See Also:
usesAclProperty

setUsesAcl

ACL setUsesAcl(org.openrdf.model.Resource resource)
               throws JastorException
Sets the 'usesAcl' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of 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.

Parameters:
resource - Resource must not be be null.
Returns:
ACL, the newly created value
Throws:
JastorException
See Also:
usesAclProperty


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