| org.ontoware.semweb4j.lessons.lesson5.gen.Thing org.ontoware.semweb4j.lessons.lesson5.gen.Tag
Tag | public class Tag extends Thing (Code) | | the tags which are assigned to people
This class manages access to these properties:
This class was generated by RDFReactor on 02.07.07 21:37
|
Constructor Summary | |
protected | Tag(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 | Tag(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write) Returns a Java wrapper over an RDF object, identified by URI. | public | Tag(Model model, URI uri) Returns a Java wrapper over an RDF object, identified by URI. | public | Tag(Model model, String uriString) Returns a Java wrapper over an RDF object, identified by URI. | public | Tag(Model model, BlankNode bnode) Returns a Java wrapper over an RDF object, identified by a blank node. | public | Tag(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
|
NAME | final public static URI NAME(Code) | | http://example.com/semweb4j#name
|
RDFS_CLASS | final public static URI RDFS_CLASS(Code) | | http://example.com/semweb4j#Tag
|
Tag | protected Tag(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 |
Tag | public Tag(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 |
Tag | public Tag(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 |
Tag | public Tag(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 |
Tag | public Tag(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 |
Tag | public Tag(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 |
addName | public void addName(java.lang.String value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: a name of a person or tag |
addTag_Inverse | public void addTag_Inverse(Person value)(Code) | | add 'Tag'-Inverse
Parameters: value - |
getAllInstances | public Tag[] getAllInstances()(Code) | | all instances of this class |
getAllInstances | public static Tag[] getAllInstances(Model model)(Code) | | all instances of this class in the given Model Parameters: model - an RDF2Go model |
getAllTag_Inverse | public Person[] getAllTag_Inverse()(Code) | | all A's that have a relation 'Tag' to this Tag instance |
getInstance | public static Tag getInstance(Model model, URI uri) throws Exception(Code) | | Parameters: model - RDF2Go model Parameters: uri - instance identifier an instance of Tag or null if none existst throws: Exception - if Model causes problems |
getName | public java.lang.String getName()(Code) | | Schema Comment: a name of a person or tag
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 |
hasName | public boolean hasName(java.lang.String value)(Code) | | Parameters: value - true if the model contains a statement (this, NAME, value) |
hasName | public boolean hasName()(Code) | | true if the model contains a statement (this, NAME, *) |
removeAllName | public void removeAllName()(Code) | | removes all values
Schema Comment: a name of a person or tag
|
removeName | public void removeName()(Code) | | removes current value(s)
Schema Comment: a name of a person or tag
|
removeName | public void removeName(java.lang.String value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: a name of a person or tag |
setName | public void setName(java.lang.String value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: a name of a person or tag |
|
|