| org.ontoware.semweb4j.lessons.lesson5.gen.Thing org.ontoware.semweb4j.lessons.lesson5.gen.Person
Person | public class Person extends Thing (Code) | | the 'atoms' of PeopleTag, people
This class manages access to these properties:
This class was generated by RDFReactor on 02.07.07 21:37
|
Constructor Summary | |
protected | Person(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 | Person(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write) Returns a Java wrapper over an RDF object, identified by URI. | public | Person(Model model, URI uri) Returns a Java wrapper over an RDF object, identified by URI. | public | Person(Model model, String uriString) Returns a Java wrapper over an RDF object, identified by URI. | public | Person(Model model, BlankNode bnode) Returns a Java wrapper over an RDF object, identified by a blank node. | public | Person(Model model) Returns a Java wrapper over an RDF object, identified by
a randomly generated URI. |
KNOWS | final public static URI KNOWS(Code) | | http://example.com/semweb4j#knows
|
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#Person
|
TAG | final public static URI TAG(Code) | | http://example.com/semweb4j#tag
|
Person | protected Person(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 |
Person | public Person(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 |
Person | public Person(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 |
Person | public Person(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 |
Person | public Person(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 |
Person | public Person(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 |
addKnows | public void addKnows(Person value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: a (somehow, weak) known person |
addKnows_Inverse | public void addKnows_Inverse(Person value)(Code) | | add 'Knows'-Inverse
Parameters: value - |
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 | public void addTag(Tag value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: a tag which has been assigned |
getAllInstances | public Person[] getAllInstances()(Code) | | all instances of this class |
getAllInstances | public static Person[] getAllInstances(Model model)(Code) | | all instances of this class in the given Model Parameters: model - an RDF2Go model |
getAllKnows | public Person[] getAllKnows()(Code) | | all valuesSchema Comment: a (somehow, weak) known person |
getAllKnows_Inverse | public Person[] getAllKnows_Inverse()(Code) | | all A's that have a relation 'Knows' to this Person instance |
getAllTag | public Tag[] getAllTag()(Code) | | all valuesSchema Comment: a tag which has been assigned |
getInstance | public static Person getInstance(Model model, URI uri) throws Exception(Code) | | Parameters: model - RDF2Go model Parameters: uri - instance identifier an instance of Person or null if none existst throws: Exception - if Model causes problems |
getKnows | public Person getKnows()(Code) | | Schema Comment: a (somehow, weak) known person
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
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 |
getTag | public Tag getTag()(Code) | | Schema Comment: a tag which has been assigned
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 |
hasKnows | public boolean hasKnows(Person value)(Code) | | Parameters: value - true if the model contains a statement (this, KNOWS, value) |
hasKnows | public boolean hasKnows()(Code) | | true if the model contains a statement (this, KNOWS, *) |
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, *) |
hasTag | public boolean hasTag(Tag value)(Code) | | Parameters: value - true if the model contains a statement (this, TAG, value) |
hasTag | public boolean hasTag()(Code) | | true if the model contains a statement (this, TAG, *) |
removeAllKnows | public void removeAllKnows()(Code) | | removes all values
Schema Comment: a (somehow, weak) known person
|
removeAllName | public void removeAllName()(Code) | | removes all values
Schema Comment: a name of a person or tag
|
removeAllTag | public void removeAllTag()(Code) | | removes all values
Schema Comment: a tag which has been assigned
|
removeKnows | public void removeKnows()(Code) | | removes current value(s)
Schema Comment: a (somehow, weak) known person
|
removeKnows | public void removeKnows(Person value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: a (somehow, weak) known person |
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 |
removeTag | public void removeTag()(Code) | | removes current value(s)
Schema Comment: a tag which has been assigned
|
removeTag | public void removeTag(Tag value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: a tag which has been assigned |
setKnows | public void setKnows(Person value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: a (somehow, weak) known person |
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 |
setTag | public void setTag(Tag value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: a tag which has been assigned |
|
|