| org.rdfs.sioc.Thing org.rdfs.sioc.Space org.rdfs.sioc.Site
Site | public class Site extends Space (Code) | | This class was generated by RDFReactor on 01.06.07 18:30
This class manages access to these properties:
Schema Comment: A web-accessible data Space. It can be the location of an online community or set of communities, with Users and Usergroups creating Items in a set of Containers.
|
Constructor Summary | |
protected | Site(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 | Site(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write) Returns a Java wrapper over an RDF object, identified by URI. | public | Site(Model model, URI uri) Returns a Java wrapper over an RDF object, identified by URI. | public | Site(Model model, String uriString) Returns a Java wrapper over an RDF object, identified by URI. | public | Site(Model model, BlankNode bnode) Returns a Java wrapper over an RDF object, identified by a blank node. | public | Site(Model model) Returns a Java wrapper over an RDF object, identified by
a randomly generated URI. |
ADMINISTRATOR | final public static URI ADMINISTRATOR(Code) | | http://rdfs.org/sioc/ns#has_administrator
|
HOSTOF | final public static URI HOSTOF(Code) | | http://rdfs.org/sioc/ns#host_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#Site
|
Site | protected Site(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 |
Site | public Site(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 |
Site | public Site(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 |
Site | public Site(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 |
Site | public Site(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 |
Site | public Site(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 |
addSiocAdministrator | public void addSiocAdministrator(User value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: A User who is an administrator of this Site. |
addSiocAdministratorof_Inverse | public void addSiocAdministratorof_Inverse(User value)(Code) | | add 'Administratorof'-Inverse
Parameters: value - |
addSiocHost_Inverse | public void addSiocHost_Inverse(Forum value)(Code) | | add 'Host'-Inverse
Parameters: value - |
addSiocHostof | public void addSiocHostof(Forum value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: A Forum that is hosted on this Site. |
getAllInstances | public Site[] getAllInstances()(Code) | | all instances of this class |
getAllInstances | public static Site[] getAllInstances(Model model)(Code) | | all instances of this class in the given Model Parameters: model - an RDF2Go model |
getAllSiocAdministrator | public User[] getAllSiocAdministrator()(Code) | | all valuesSchema Comment: A User who is an administrator of this Site. |
getAllSiocAdministratorof_Inverse | public User[] getAllSiocAdministratorof_Inverse()(Code) | | all A's that have a relation 'Administratorof' to this Site instance |
getAllSiocHost_Inverse | public Forum[] getAllSiocHost_Inverse()(Code) | | all A's that have a relation 'Host' to this Site instance |
getAllSiocHostof | public Forum[] getAllSiocHostof()(Code) | | all valuesSchema Comment: A Forum that is hosted on this Site. |
getInstance | public static Site getInstance(Model model, URI uri) throws Exception(Code) | | Parameters: model - RDF2Go model Parameters: uri - instance identifier an instance of Site or null if none existst throws: Exception - if Model causes problems |
getSiocAdministrator | public User getSiocAdministrator()(Code) | | Schema Comment: A User who is an administrator of this Site.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
getSiocHostof | public Forum getSiocHostof()(Code) | | Schema Comment: A Forum that is hosted on this Site.
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 |
hasSiocAdministrator | public boolean hasSiocAdministrator(User value)(Code) | | Parameters: value - true if the model contains a statement (this, ADMINISTRATOR, value) |
hasSiocAdministrator | public boolean hasSiocAdministrator()(Code) | | true if the model contains a statement (this, ADMINISTRATOR, *) |
hasSiocHostof | public boolean hasSiocHostof(Forum value)(Code) | | Parameters: value - true if the model contains a statement (this, HOSTOF, value) |
hasSiocHostof | public boolean hasSiocHostof()(Code) | | true if the model contains a statement (this, HOSTOF, *) |
removeSiocAdministrator | public void removeSiocAdministrator(User value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: A User who is an administrator of this Site. |
removeSiocHostof | public void removeSiocHostof(Forum value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: A Forum that is hosted on this Site. |
setSiocAdministrator | public void setSiocAdministrator(User value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: A User who is an administrator of this Site. |
setSiocHostof | public void setSiocHostof(Forum value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: A Forum that is hosted on this Site. |
|
|