| org.ontoware.semweb4j.lessons.lesson5.gen.Thing
All known Subclasses: org.ontoware.semweb4j.lessons.lesson5.gen.Tag, org.ontoware.semweb4j.lessons.lesson5.gen.Person,
Thing | public class Thing extends org.ontoware.rdfreactor.schema.rdfschema.Class (Code) | | This class acts as a catch-all for all properties, for which no domain has specified.
This class was generated by RDFReactor on 02.07.07 21:37
|
Constructor Summary | |
protected | Thing(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 | Thing(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write) Returns a Java wrapper over an RDF object, identified by URI. | public | Thing(Model model, URI uri) Returns a Java wrapper over an RDF object, identified by URI. | public | Thing(Model model, String uriString) Returns a Java wrapper over an RDF object, identified by URI. | public | Thing(Model model, BlankNode bnode) Returns a Java wrapper over an RDF object, identified by a blank node. | public | Thing(Model model) Returns a Java wrapper over an RDF object, identified by
a randomly generated URI. |
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://www.w3.org/2000/01/rdf-schema#Class
|
Thing | protected Thing(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 |
Thing | public Thing(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 |
Thing | public Thing(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 |
Thing | public Thing(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 |
Thing | public Thing(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 |
Thing | public Thing(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 |
getAllInstances | public Thing[] getAllInstances()(Code) | | all instances of this class |
getAllInstances | public static Thing[] getAllInstances(Model model)(Code) | | all instances of this class in the given Model Parameters: model - an RDF2Go model |
getInstance | public static Thing getInstance(Model model, URI uri) throws Exception(Code) | | Parameters: model - RDF2Go model Parameters: uri - instance identifier an instance of Thing or null if none existst throws: Exception - if Model causes problems |
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 |
|
|