|
||||||||||
| 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.RoleImpl
public class RoleImpl
Implementation of Role
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.
(URI: http://openanzo.org/RBAC#Role)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.common.ontology.Role |
|---|
TYPE |
| Method Summary | |
|---|---|
Role |
addSubRoleOf()
Adds an anonymous value for the 'subRoleOf' property |
Role |
addSubRoleOf(org.openrdf.model.Resource resource)
Adds a value for the 'subRoleOf' property. |
void |
addSubRoleOf(Role subRoleOf)
Adds a value for the 'subRoleOf' property |
info.aduna.collections.iterators.CloseableIterator<Role> |
getSubRoleOf()
Get an Iterator the 'subRoleOf' 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 |
removeSubRoleOf(org.openrdf.model.Resource subRoleOf)
Remove a 'subRoleOf' property value. |
void |
removeSubRoleOf(Role subRoleOf)
Removes a value for the 'subRoleOf' 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 |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class GraphThingImpl
public info.aduna.collections.iterators.CloseableIterator<Role> getSubRoleOf()
throws JastorException
Role
getSubRoleOf in interface RoleIterator of Role
JastorExceptionRole.subRoleOfProperty
public void addSubRoleOf(Role subRoleOf)
throws JastorException
Role
addSubRoleOf in interface RolesubRoleOf - The Role to add
JastorExceptionRole.subRoleOfProperty
public Role addSubRoleOf()
throws JastorException
Role
addSubRoleOf in interface RoleRole created
JastorExceptionRole.subRoleOfProperty
public Role addSubRoleOf(org.openrdf.model.Resource resource)
throws JastorException
RoleRole with the factory
and calling addSubRoleOf(org.openanzo.common.ontology.Role subRoleOf)
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.
addSubRoleOf in interface Roleresource - The Resource to add
JastorExceptionRole.subRoleOfProperty
public void removeSubRoleOf(Role subRoleOf)
throws JastorException
Role
removeSubRoleOf in interface RolesubRoleOf - The Role to remove
JastorExceptionRole.subRoleOfProperty
public void removeSubRoleOf(org.openrdf.model.Resource subRoleOf)
throws JastorException
Role
removeSubRoleOf in interface RolesubRoleOf - Role, the value to remove
JastorExceptionRole.subRoleOfPropertypublic 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 | |||||||||