| org.rdfs.sioc.Thing org.rdfs.sioc.Role
Role | public class Role extends Thing (Code) | | This class was generated by RDFReactor on 01.06.07 18:30
This class manages access to these properties:
Schema Comment: A Role is a function of a User within a scope of a particular Forum, Site, etc.
|
Constructor Summary | |
protected | Role(Model model, URI classURI, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write) Returns a Java wrapper over an RDF object, identified by URI. | public | Role(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write) Returns a Java wrapper over an RDF object, identified by URI. | public | Role(Model model, URI uri) Returns a Java wrapper over an RDF object, identified by URI. | public | Role(Model model, String uriString) Returns a Java wrapper over an RDF object, identified by URI. | public | Role(Model model, BlankNode bnode) Returns a Java wrapper over an RDF object, identified by a blank node. | public | Role(Model model) Returns a Java wrapper over an RDF object, identified by
a randomly generated URI. |
FUNCTIONOF | final public static URI FUNCTIONOF(Code) | | http://rdfs.org/sioc/ns#function_of
|
MANAGED_URIS | final public static URI[] MANAGED_URIS(Code) | | all property-URIs with this class as domain
|
RDFS_CLASS | final public static URI RDFS_CLASS(Code) | | http://rdfs.org/sioc/ns#Role
|
SCOPE | final public static URI SCOPE(Code) | | http://rdfs.org/sioc/ns#has_scope
|
Role | protected Role(Model model, URI classURI, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write)(Code) | | Returns a Java wrapper over an RDF object, identified by URI.
Creating two wrappers for the same instanceURI is legal.
Parameters: model - RDF2GO Model implementation, see http://rdf2go.semweb4j.org Parameters: classURI - URI of RDFS class Parameters: instanceIdentifier - Resource that identifies this instance Parameters: write - if true, the statement (this, rdf:type, TYPE) is written to the model |
Role | public Role(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write)(Code) | | Returns a Java wrapper over an RDF object, identified by URI.
Creating two wrappers for the same instanceURI is legal.
Parameters: model - RDF2GO Model implementation, see http://rdf2go.ontoware.org Parameters: instanceIdentifier - an RDF2Go Resource identifying this instance Parameters: write - if true, the statement (this, rdf:type, TYPE) is written to the model |
Role | public Role(Model model, URI uri)(Code) | | Returns a Java wrapper over an RDF object, identified by URI.
Creating two wrappers for the same instanceURI is legal.
The statement (this, rdf:type, TYPE) is written to the model
Parameters: model - RDF2GO Model implementation, see http://rdf2go.ontoware.org Parameters: uri - URI of this instance |
Role | public Role(Model model, String uriString) throws ModelRuntimeException(Code) | | Returns a Java wrapper over an RDF object, identified by URI.
Creating two wrappers for the same instanceURI is legal.
The statement (this, rdf:type, TYPE) is written to the model
Parameters: model - RDF2GO Model implementation, see http://rdf2go.ontoware.org Parameters: uriString - A URI of this instance, represented as a String throws: ModelRuntimeException - if URI syntax is wrong |
Role | public Role(Model model, BlankNode bnode)(Code) | | Returns a Java wrapper over an RDF object, identified by a blank node.
Creating two wrappers for the same blank node is legal.
The statement (this, rdf:type, TYPE) is written to the model
Parameters: model - RDF2GO Model implementation, see http://rdf2go.ontoware.org Parameters: bnode - BlankNode of this instance |
Role | public Role(Model model)(Code) | | Returns a Java wrapper over an RDF object, identified by
a randomly generated URI.
Creating two wrappers results in different URIs.
The statement (this, rdf:type, TYPE) is written to the model
Parameters: model - RDF2GO Model implementation, see http://rdf2go.ontoware.org |
addSiocFunction_Inverse | public void addSiocFunction_Inverse(User value)(Code) | | add 'Function'-Inverse
Parameters: value - |
addSiocFunctionof | public void addSiocFunctionof(User value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: A User who has this Role. |
addSiocScope | public void addSiocScope(Forum value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: A Forum that this Role applies to. |
addSiocScopeof_Inverse | public void addSiocScopeof_Inverse(Forum value)(Code) | | add 'Scopeof'-Inverse
Parameters: value - |
getAllInstances | public Role[] getAllInstances()(Code) | | all instances of this class |
getAllInstances | public static Role[] getAllInstances(Model model)(Code) | | all instances of this class in the given Model Parameters: model - an RDF2Go model |
getAllSiocFunction_Inverse | public User[] getAllSiocFunction_Inverse()(Code) | | all A's that have a relation 'Function' to this Role instance |
getAllSiocFunctionof | public User[] getAllSiocFunctionof()(Code) | | all valuesSchema Comment: A User who has this Role. |
getAllSiocScope | public Forum[] getAllSiocScope()(Code) | | all valuesSchema Comment: A Forum that this Role applies to. |
getAllSiocScopeof_Inverse | public Forum[] getAllSiocScopeof_Inverse()(Code) | | all A's that have a relation 'Scopeof' to this Role instance |
getInstance | public static Role getInstance(Model model, URI uri) throws Exception(Code) | | Parameters: model - RDF2Go model Parameters: uri - instance identifier an instance of Role or null if none existst throws: Exception - if Model causes problems |
getSiocFunctionof | public User getSiocFunctionof()(Code) | | Schema Comment: A User who has this Role.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
getSiocScope | public Forum getSiocScope()(Code) | | Schema Comment: A Forum that this Role applies to.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
hasInstance | public static boolean hasInstance(Model model, URI uri)(Code) | | Parameters: model - Parameters: uri - true if uri is an instance of this class in the model |
hasSiocFunctionof | public boolean hasSiocFunctionof(User value)(Code) | | Parameters: value - true if the model contains a statement (this, FUNCTIONOF, value) |
hasSiocFunctionof | public boolean hasSiocFunctionof()(Code) | | true if the model contains a statement (this, FUNCTIONOF, *) |
hasSiocScope | public boolean hasSiocScope(Forum value)(Code) | | Parameters: value - true if the model contains a statement (this, SCOPE, value) |
hasSiocScope | public boolean hasSiocScope()(Code) | | true if the model contains a statement (this, SCOPE, *) |
removeSiocFunctionof | public void removeSiocFunctionof(User value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: A User who has this Role. |
removeSiocScope | public void removeSiocScope(Forum value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: A Forum that this Role applies to. |
setSiocFunctionof | public void setSiocFunctionof(User value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: A User who has this Role. |
setSiocScope | public void setSiocScope(Forum value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: A Forum that this Role applies to. |
|
|