org.openanzo.common.ontology
Class ACLImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.common.ontology.ACLImpl
All Implemented Interfaces:
ACL, CoreThing, GraphThing

public class ACLImpl
extends GraphThingImpl
implements ACL

Implementation of ACL Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.

(URI: http://openanzo.org/RBAC#ACL)



Field Summary
 
Fields inherited from interface org.openanzo.common.ontology.ACL
TYPE
 
Method Summary
 Role addAdd()
          Adds an anonymous value for the 'add' property
 Role addAdd(org.openrdf.model.Resource resource)
          Adds a value for the 'add' property.
 void addAdd(Role add)
          Adds a value for the 'add' property
 Role addChangeNamedGraphACL()
          Adds an anonymous value for the 'changeNamedGraphACL' property
 Role addChangeNamedGraphACL(org.openrdf.model.Resource resource)
          Adds a value for the 'changeNamedGraphACL' property.
 void addChangeNamedGraphACL(Role changeNamedGraphACL)
          Adds a value for the 'changeNamedGraphACL' property
 Role addInsertNamedGraph()
          Adds an anonymous value for the 'insertNamedGraph' property
 Role addInsertNamedGraph(org.openrdf.model.Resource resource)
          Adds a value for the 'insertNamedGraph' property.
 void addInsertNamedGraph(Role insertNamedGraph)
          Adds a value for the 'insertNamedGraph' property
 Role addRead()
          Adds an anonymous value for the 'read' property
 Role addRead(org.openrdf.model.Resource resource)
          Adds a value for the 'read' property.
 void addRead(Role read)
          Adds a value for the 'read' property
 Role addRemove()
          Adds an anonymous value for the 'remove' property
 Role addRemove(org.openrdf.model.Resource resource)
          Adds a value for the 'remove' property.
 void addRemove(Role remove)
          Adds a value for the 'remove' property
 Role addRemoveNamedGraph()
          Adds an anonymous value for the 'removeNamedGraph' property
 Role addRemoveNamedGraph(org.openrdf.model.Resource resource)
          Adds a value for the 'removeNamedGraph' property.
 void addRemoveNamedGraph(Role removeNamedGraph)
          Adds a value for the 'removeNamedGraph' property
 info.aduna.collections.iterators.CloseableIterator<Role> getAdd()
          Get an Iterator the 'add' property values.
 info.aduna.collections.iterators.CloseableIterator<Role> getChangeNamedGraphACL()
          Get an Iterator the 'changeNamedGraphACL' property values.
 info.aduna.collections.iterators.CloseableIterator<Role> getInsertNamedGraph()
          Get an Iterator the 'insertNamedGraph' property values.
 info.aduna.collections.iterators.CloseableIterator<Role> getRead()
          Get an Iterator the 'read' property values.
 info.aduna.collections.iterators.CloseableIterator<Role> getRemove()
          Get an Iterator the 'remove' property values.
 info.aduna.collections.iterators.CloseableIterator<Role> getRemoveNamedGraph()
          Get an Iterator the 'removeNamedGraph' 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 removeAdd(org.openrdf.model.Resource add)
          Remove a 'add' property value.
 void removeAdd(Role add)
          Removes a value for the 'add' property.
 void removeChangeNamedGraphACL(org.openrdf.model.Resource changeNamedGraphACL)
          Remove a 'changeNamedGraphACL' property value.
 void removeChangeNamedGraphACL(Role changeNamedGraphACL)
          Removes a value for the 'changeNamedGraphACL' property.
 void removeInsertNamedGraph(org.openrdf.model.Resource insertNamedGraph)
          Remove a 'insertNamedGraph' property value.
 void removeInsertNamedGraph(Role insertNamedGraph)
          Removes a value for the 'insertNamedGraph' property.
 void removeRead(org.openrdf.model.Resource read)
          Remove a 'read' property value.
 void removeRead(Role read)
          Removes a value for the 'read' property.
 void removeRemove(org.openrdf.model.Resource remove)
          Remove a 'remove' property value.
 void removeRemove(Role remove)
          Removes a value for the 'remove' property.
 void removeRemoveNamedGraph(org.openrdf.model.Resource removeNamedGraph)
          Remove a 'removeNamedGraph' property value.
 void removeRemoveNamedGraph(Role removeNamedGraph)
          Removes a value for the 'removeNamedGraph' property.
 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

listStatements

public java.util.Collection<org.openrdf.model.Statement> listStatements()
Description copied from interface: CoreThing
Get set of statements that makeup this THINGS's properties and types

Specified by:
listStatements in interface CoreThing
Overrides:
listStatements in class GraphThingImpl
Returns:
set of statements that makeup this THINGS's properties and types

getAdd

public info.aduna.collections.iterators.CloseableIterator<Role> getAdd()
                                                                throws JastorException
Description copied from interface: ACL
Get an Iterator the 'add' property values. This Iteartor may be used to remove all such values.

Specified by:
getAdd in interface ACL
Returns:
Iterator of Role
Throws:
JastorException
See Also:
ACL.addProperty

addAdd

public void addAdd(Role add)
            throws JastorException
Description copied from interface: ACL
Adds a value for the 'add' property

Specified by:
addAdd in interface ACL
Parameters:
add - The Role to add
Throws:
JastorException
See Also:
ACL.addProperty

addAdd

public Role addAdd()
            throws JastorException
Description copied from interface: ACL
Adds an anonymous value for the 'add' property

Specified by:
addAdd in interface ACL
Returns:
The anoymous Role created
Throws:
JastorException
See Also:
ACL.addProperty

addAdd

public Role addAdd(org.openrdf.model.Resource resource)
            throws JastorException
Description copied from interface: ACL
Adds a value for the 'add' property. This method is equivalent constructing a new instance of Role with the factory and calling addAdd(org.openanzo.common.ontology.Role add) The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addAdd in interface ACL
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.Role created
Throws:
JastorException
See Also:
ACL.addProperty

removeAdd

public void removeAdd(Role add)
               throws JastorException
Description copied from interface: ACL
Removes a value for the 'add' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeAdd in interface ACL
Parameters:
add - The Role to remove
Throws:
JastorException
See Also:
ACL.addProperty

removeAdd

public void removeAdd(org.openrdf.model.Resource add)
               throws JastorException
Description copied from interface: ACL
Remove a 'add' 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.

Specified by:
removeAdd in interface ACL
Parameters:
add - Role, the value to remove
Throws:
JastorException
See Also:
ACL.addProperty

getChangeNamedGraphACL

public info.aduna.collections.iterators.CloseableIterator<Role> getChangeNamedGraphACL()
                                                                                throws JastorException
Description copied from interface: ACL
Get an Iterator the 'changeNamedGraphACL' property values. This Iteartor may be used to remove all such values.

Specified by:
getChangeNamedGraphACL in interface ACL
Returns:
Iterator of Role
Throws:
JastorException
See Also:
ACL.changeNamedGraphACLProperty

addChangeNamedGraphACL

public void addChangeNamedGraphACL(Role changeNamedGraphACL)
                            throws JastorException
Description copied from interface: ACL
Adds a value for the 'changeNamedGraphACL' property

Specified by:
addChangeNamedGraphACL in interface ACL
Parameters:
changeNamedGraphACL - The Role to add
Throws:
JastorException
See Also:
ACL.changeNamedGraphACLProperty

addChangeNamedGraphACL

public Role addChangeNamedGraphACL()
                            throws JastorException
Description copied from interface: ACL
Adds an anonymous value for the 'changeNamedGraphACL' property

Specified by:
addChangeNamedGraphACL in interface ACL
Returns:
The anoymous Role created
Throws:
JastorException
See Also:
ACL.changeNamedGraphACLProperty

addChangeNamedGraphACL

public Role addChangeNamedGraphACL(org.openrdf.model.Resource resource)
                            throws JastorException
Description copied from interface: ACL
Adds a value for the 'changeNamedGraphACL' property. This method is equivalent constructing a new instance of Role with the factory and calling addChangeNamedGraphACL(org.openanzo.common.ontology.Role changeNamedGraphACL) The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addChangeNamedGraphACL in interface ACL
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.Role created
Throws:
JastorException
See Also:
ACL.changeNamedGraphACLProperty

removeChangeNamedGraphACL

public void removeChangeNamedGraphACL(Role changeNamedGraphACL)
                               throws JastorException
Description copied from interface: ACL
Removes a value for the 'changeNamedGraphACL' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeChangeNamedGraphACL in interface ACL
Parameters:
changeNamedGraphACL - The Role to remove
Throws:
JastorException
See Also:
ACL.changeNamedGraphACLProperty

removeChangeNamedGraphACL

public void removeChangeNamedGraphACL(org.openrdf.model.Resource changeNamedGraphACL)
                               throws JastorException
Description copied from interface: ACL
Remove a 'changeNamedGraphACL' 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.

Specified by:
removeChangeNamedGraphACL in interface ACL
Parameters:
changeNamedGraphACL - Role, the value to remove
Throws:
JastorException
See Also:
ACL.changeNamedGraphACLProperty

getInsertNamedGraph

public info.aduna.collections.iterators.CloseableIterator<Role> getInsertNamedGraph()
                                                                             throws JastorException
Description copied from interface: ACL
Get an Iterator the 'insertNamedGraph' property values. This Iteartor may be used to remove all such values.

Specified by:
getInsertNamedGraph in interface ACL
Returns:
Iterator of Role
Throws:
JastorException
See Also:
ACL.insertNamedGraphProperty

addInsertNamedGraph

public void addInsertNamedGraph(Role insertNamedGraph)
                         throws JastorException
Description copied from interface: ACL
Adds a value for the 'insertNamedGraph' property

Specified by:
addInsertNamedGraph in interface ACL
Parameters:
insertNamedGraph - The Role to add
Throws:
JastorException
See Also:
ACL.insertNamedGraphProperty

addInsertNamedGraph

public Role addInsertNamedGraph()
                         throws JastorException
Description copied from interface: ACL
Adds an anonymous value for the 'insertNamedGraph' property

Specified by:
addInsertNamedGraph in interface ACL
Returns:
The anoymous Role created
Throws:
JastorException
See Also:
ACL.insertNamedGraphProperty

addInsertNamedGraph

public Role addInsertNamedGraph(org.openrdf.model.Resource resource)
                         throws JastorException
Description copied from interface: ACL
Adds a value for the 'insertNamedGraph' property. This method is equivalent constructing a new instance of Role with the factory and calling addInsertNamedGraph(org.openanzo.common.ontology.Role insertNamedGraph) The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addInsertNamedGraph in interface ACL
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.Role created
Throws:
JastorException
See Also:
ACL.insertNamedGraphProperty

removeInsertNamedGraph

public void removeInsertNamedGraph(Role insertNamedGraph)
                            throws JastorException
Description copied from interface: ACL
Removes a value for the 'insertNamedGraph' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeInsertNamedGraph in interface ACL
Parameters:
insertNamedGraph - The Role to remove
Throws:
JastorException
See Also:
ACL.insertNamedGraphProperty

removeInsertNamedGraph

public void removeInsertNamedGraph(org.openrdf.model.Resource insertNamedGraph)
                            throws JastorException
Description copied from interface: ACL
Remove a 'insertNamedGraph' 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.

Specified by:
removeInsertNamedGraph in interface ACL
Parameters:
insertNamedGraph - Role, the value to remove
Throws:
JastorException
See Also:
ACL.insertNamedGraphProperty

getRead

public info.aduna.collections.iterators.CloseableIterator<Role> getRead()
                                                                 throws JastorException
Description copied from interface: ACL
Get an Iterator the 'read' property values. This Iteartor may be used to remove all such values.

Specified by:
getRead in interface ACL
Returns:
Iterator of Role
Throws:
JastorException
See Also:
ACL.readProperty

addRead

public void addRead(Role read)
             throws JastorException
Description copied from interface: ACL
Adds a value for the 'read' property

Specified by:
addRead in interface ACL
Parameters:
read - The Role to add
Throws:
JastorException
See Also:
ACL.readProperty

addRead

public Role addRead()
             throws JastorException
Description copied from interface: ACL
Adds an anonymous value for the 'read' property

Specified by:
addRead in interface ACL
Returns:
The anoymous Role created
Throws:
JastorException
See Also:
ACL.readProperty

addRead

public Role addRead(org.openrdf.model.Resource resource)
             throws JastorException
Description copied from interface: ACL
Adds a value for the 'read' property. This method is equivalent constructing a new instance of Role with the factory and calling addRead(org.openanzo.common.ontology.Role read) The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addRead in interface ACL
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.Role created
Throws:
JastorException
See Also:
ACL.readProperty

removeRead

public void removeRead(Role read)
                throws JastorException
Description copied from interface: ACL
Removes a value for the 'read' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeRead in interface ACL
Parameters:
read - The Role to remove
Throws:
JastorException
See Also:
ACL.readProperty

removeRead

public void removeRead(org.openrdf.model.Resource read)
                throws JastorException
Description copied from interface: ACL
Remove a 'read' 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.

Specified by:
removeRead in interface ACL
Parameters:
read - Role, the value to remove
Throws:
JastorException
See Also:
ACL.readProperty

getRemove

public info.aduna.collections.iterators.CloseableIterator<Role> getRemove()
                                                                   throws JastorException
Description copied from interface: ACL
Get an Iterator the 'remove' property values. This Iteartor may be used to remove all such values.

Specified by:
getRemove in interface ACL
Returns:
Iterator of Role
Throws:
JastorException
See Also:
ACL.removeProperty

addRemove

public void addRemove(Role remove)
               throws JastorException
Description copied from interface: ACL
Adds a value for the 'remove' property

Specified by:
addRemove in interface ACL
Parameters:
remove - The Role to add
Throws:
JastorException
See Also:
ACL.removeProperty

addRemove

public Role addRemove()
               throws JastorException
Description copied from interface: ACL
Adds an anonymous value for the 'remove' property

Specified by:
addRemove in interface ACL
Returns:
The anoymous Role created
Throws:
JastorException
See Also:
ACL.removeProperty

addRemove

public Role addRemove(org.openrdf.model.Resource resource)
               throws JastorException
Description copied from interface: ACL
Adds a value for the 'remove' property. This method is equivalent constructing a new instance of Role with the factory and calling addRemove(org.openanzo.common.ontology.Role remove) The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addRemove in interface ACL
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.Role created
Throws:
JastorException
See Also:
ACL.removeProperty

removeRemove

public void removeRemove(Role remove)
                  throws JastorException
Description copied from interface: ACL
Removes a value for the 'remove' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeRemove in interface ACL
Parameters:
remove - The Role to remove
Throws:
JastorException
See Also:
ACL.removeProperty

removeRemove

public void removeRemove(org.openrdf.model.Resource remove)
                  throws JastorException
Description copied from interface: ACL
Remove a 'remove' 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.

Specified by:
removeRemove in interface ACL
Parameters:
remove - Role, the value to remove
Throws:
JastorException
See Also:
ACL.removeProperty

getRemoveNamedGraph

public info.aduna.collections.iterators.CloseableIterator<Role> getRemoveNamedGraph()
                                                                             throws JastorException
Description copied from interface: ACL
Get an Iterator the 'removeNamedGraph' property values. This Iteartor may be used to remove all such values.

Specified by:
getRemoveNamedGraph in interface ACL
Returns:
Iterator of Role
Throws:
JastorException
See Also:
ACL.removeNamedGraphProperty

addRemoveNamedGraph

public void addRemoveNamedGraph(Role removeNamedGraph)
                         throws JastorException
Description copied from interface: ACL
Adds a value for the 'removeNamedGraph' property

Specified by:
addRemoveNamedGraph in interface ACL
Parameters:
removeNamedGraph - The Role to add
Throws:
JastorException
See Also:
ACL.removeNamedGraphProperty

addRemoveNamedGraph

public Role addRemoveNamedGraph()
                         throws JastorException
Description copied from interface: ACL
Adds an anonymous value for the 'removeNamedGraph' property

Specified by:
addRemoveNamedGraph in interface ACL
Returns:
The anoymous Role created
Throws:
JastorException
See Also:
ACL.removeNamedGraphProperty

addRemoveNamedGraph

public Role addRemoveNamedGraph(org.openrdf.model.Resource resource)
                         throws JastorException
Description copied from interface: ACL
Adds a value for the 'removeNamedGraph' property. This method is equivalent constructing a new instance of Role with the factory and calling addRemoveNamedGraph(org.openanzo.common.ontology.Role removeNamedGraph) The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addRemoveNamedGraph in interface ACL
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.common.ontology.Role created
Throws:
JastorException
See Also:
ACL.removeNamedGraphProperty

removeRemoveNamedGraph

public void removeRemoveNamedGraph(Role removeNamedGraph)
                            throws JastorException
Description copied from interface: ACL
Removes a value for the 'removeNamedGraph' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeRemoveNamedGraph in interface ACL
Parameters:
removeNamedGraph - The Role to remove
Throws:
JastorException
See Also:
ACL.removeNamedGraphProperty

removeRemoveNamedGraph

public void removeRemoveNamedGraph(org.openrdf.model.Resource removeNamedGraph)
                            throws JastorException
Description copied from interface: ACL
Remove a 'removeNamedGraph' 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.

Specified by:
removeRemoveNamedGraph in interface ACL
Parameters:
removeNamedGraph - Role, the value to remove
Throws:
JastorException
See Also:
ACL.removeNamedGraphProperty

registerListener

public void registerListener(ThingListener listener)
Description copied from interface: CoreThing
Register a ThingListener for this THING

Specified by:
registerListener in interface CoreThing
Overrides:
registerListener in class GraphThingImpl
Parameters:
listener - ThingListener

unregisterListener

public void unregisterListener(ThingListener listener)
Description copied from interface: CoreThing
Unregister a ThingListener for this THING

Specified by:
unregisterListener in interface CoreThing
Overrides:
unregisterListener in class GraphThingImpl
Parameters:
listener - ThingListener


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