| org.rdfs.sioc.Thing org.rdfs.sioc.Document org.rdfs.sioc.Item org.rdfs.sioc.Post
Post | public class Post extends Item (Code) | | This class was generated by RDFReactor on 01.06.07 18:30
This class manages access to these properties:
- Numreplies
- Attachment
- Relatedto
- Sibling
- Note
- Content
Schema Comment: An article or message that can be posted to a Forum.
|
Constructor Summary | |
protected | Post(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 | Post(Model model, org.ontoware.rdf2go.model.node.Resource instanceIdentifier, boolean write) Returns a Java wrapper over an RDF object, identified by URI. | public | Post(Model model, URI uri) Returns a Java wrapper over an RDF object, identified by URI. | public | Post(Model model, String uriString) Returns a Java wrapper over an RDF object, identified by URI. | public | Post(Model model, BlankNode bnode) Returns a Java wrapper over an RDF object, identified by a blank node. | public | Post(Model model) Returns a Java wrapper over an RDF object, identified by
a randomly generated URI. |
Method Summary | |
public void | addSiocAttachment(Thing value) | public void | addSiocContent(java.lang.String value) | public void | addSiocNote(java.lang.String value) | public void | addSiocNumreplies(java.lang.Integer value) adds a value
Parameters: value - the value to be addedSchema Comment: The number of replies that this Post has. | public void | addSiocRelatedto(Post value) | public void | addSiocRelatedto_Inverse(Post value) | public void | addSiocSibling(Post value) adds a value
Parameters: value - the value to be addedSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). | public void | addSiocSibling_Inverse(Post value) | public Post[] | getAllInstances() | public static Post[] | getAllInstances(Model model) | public Thing[] | getAllSiocAttachment() | public java.lang.String[] | getAllSiocContent() | public java.lang.String[] | getAllSiocNote() | public java.lang.Integer[] | getAllSiocNumreplies() all valuesSchema Comment: The number of replies that this Post has. | public Post[] | getAllSiocRelatedto() | public Post[] | getAllSiocRelatedto_Inverse() | public Post[] | getAllSiocSibling() all valuesSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). | public Post[] | getAllSiocSibling_Inverse() | public static Post | getInstance(Model model, URI uri) | public Thing | getSiocAttachment() Schema Comment: The URI of a file attached to a Post.
the only value. | public java.lang.String | getSiocContent() Schema Comment: The content of the Post.
the only value. | public java.lang.String | getSiocNote() Schema Comment: A note associated with this Post, for example if it has been edited by a User.
the only value. | public java.lang.Integer | getSiocNumreplies() Schema Comment: The number of replies that this Post has. | public Post | getSiocRelatedto() Schema Comment: Related Posts for this Post, perhaps determined implicitly from topics or references.
the only value. | public Post | getSiocSibling() Schema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). | public static boolean | hasInstance(Model model, URI uri) | public boolean | hasSiocAttachment(Thing value) | public boolean | hasSiocAttachment() | public boolean | hasSiocContent(java.lang.String value) | public boolean | hasSiocContent() | public boolean | hasSiocNote(java.lang.String value) | public boolean | hasSiocNote() | public boolean | hasSiocNumreplies(java.lang.Integer value) | public boolean | hasSiocNumreplies() | public boolean | hasSiocRelatedto(Post value) | public boolean | hasSiocRelatedto() | public boolean | hasSiocSibling(Post value) | public boolean | hasSiocSibling() | public void | removeSiocAttachment(Thing value) | public void | removeSiocContent(java.lang.String value) | public void | removeSiocNote(java.lang.String value) | public void | removeSiocNumreplies(java.lang.Integer value) removes a value
Parameters: value - the value to be removedSchema Comment: The number of replies that this Post has. | public void | removeSiocRelatedto(Post value) | public void | removeSiocSibling(Post value) removes a value
Parameters: value - the value to be removedSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). | public void | setSiocAttachment(Thing value) | public void | setSiocContent(java.lang.String value) | public void | setSiocNote(java.lang.String value) | public void | setSiocNumreplies(java.lang.Integer value) removes all values and sets this one
Parameters: value - the value to be setSchema Comment: The number of replies that this Post has. | public void | setSiocRelatedto(Post value) | public void | setSiocSibling(Post value) removes all values and sets this one
Parameters: value - the value to be setSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). |
ATTACHMENT | final public static URI ATTACHMENT(Code) | | http://rdfs.org/sioc/ns#attachment
|
CONTENT | final public static URI CONTENT(Code) | | http://rdfs.org/sioc/ns#content
|
MANAGED_URIS | final public static URI[] MANAGED_URIS(Code) | | all property-URIs with this class as domain
|
NOTE | final public static URI NOTE(Code) | | http://rdfs.org/sioc/ns#note
|
NUMREPLIES | final public static URI NUMREPLIES(Code) | | http://rdfs.org/sioc/ns#num_replies
|
RDFS_CLASS | final public static URI RDFS_CLASS(Code) | | http://rdfs.org/sioc/ns#Post
|
RELATEDTO | final public static URI RELATEDTO(Code) | | http://rdfs.org/sioc/ns#related_to
|
SIBLING | final public static URI SIBLING(Code) | | http://rdfs.org/sioc/ns#sibling
|
Post | protected Post(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 |
Post | public Post(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 |
Post | public Post(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 |
Post | public Post(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 |
Post | public Post(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 |
Post | public Post(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 |
addSiocAttachment | public void addSiocAttachment(Thing value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: The URI of a file attached to a Post. |
addSiocContent | public void addSiocContent(java.lang.String value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: The content of the Post. |
addSiocNote | public void addSiocNote(java.lang.String value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: A note associated with this Post, for example if it has been edited by a User. |
addSiocNumreplies | public void addSiocNumreplies(java.lang.Integer value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: The number of replies that this Post has. Useful for where the reply structure is absent. |
addSiocRelatedto | public void addSiocRelatedto(Post value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: Related Posts for this Post, perhaps determined implicitly from topics or references. |
addSiocRelatedto_Inverse | public void addSiocRelatedto_Inverse(Post value)(Code) | | add 'Relatedto'-Inverse
Parameters: value - |
addSiocSibling | public void addSiocSibling(Post value)(Code) | | adds a value
Parameters: value - the value to be addedSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). The sibling of this Post should be self-describing (that is, it should contain all available information). |
addSiocSibling_Inverse | public void addSiocSibling_Inverse(Post value)(Code) | | add 'Sibling'-Inverse
Parameters: value - |
getAllInstances | public Post[] getAllInstances()(Code) | | all instances of this class |
getAllInstances | public static Post[] getAllInstances(Model model)(Code) | | all instances of this class in the given Model Parameters: model - an RDF2Go model |
getAllSiocAttachment | public Thing[] getAllSiocAttachment()(Code) | | all valuesSchema Comment: The URI of a file attached to a Post. |
getAllSiocContent | public java.lang.String[] getAllSiocContent()(Code) | | all valuesSchema Comment: The content of the Post. |
getAllSiocNote | public java.lang.String[] getAllSiocNote()(Code) | | all valuesSchema Comment: A note associated with this Post, for example if it has been edited by a User. |
getAllSiocNumreplies | public java.lang.Integer[] getAllSiocNumreplies()(Code) | | all valuesSchema Comment: The number of replies that this Post has. Useful for where the reply structure is absent. |
getAllSiocRelatedto | public Post[] getAllSiocRelatedto()(Code) | | all valuesSchema Comment: Related Posts for this Post, perhaps determined implicitly from topics or references. |
getAllSiocRelatedto_Inverse | public Post[] getAllSiocRelatedto_Inverse()(Code) | | all A's that have a relation 'Relatedto' to this Post instance |
getAllSiocSibling | public Post[] getAllSiocSibling()(Code) | | all valuesSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). The sibling of this Post should be self-describing (that is, it should contain all available information). |
getAllSiocSibling_Inverse | public Post[] getAllSiocSibling_Inverse()(Code) | | all A's that have a relation 'Sibling' to this Post instance |
getInstance | public static Post getInstance(Model model, URI uri) throws Exception(Code) | | Parameters: model - RDF2Go model Parameters: uri - instance identifier an instance of Post or null if none existst throws: Exception - if Model causes problems |
getSiocAttachment | public Thing getSiocAttachment()(Code) | | Schema Comment: The URI of a file attached to a Post.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
getSiocContent | public java.lang.String getSiocContent()(Code) | | Schema Comment: The content of the Post.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
getSiocNote | public java.lang.String getSiocNote()(Code) | | Schema Comment: A note associated with this Post, for example if it has been edited by a User.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
getSiocNumreplies | public java.lang.Integer getSiocNumreplies()(Code) | | Schema Comment: The number of replies that this Post has. Useful for where the reply structure is absent.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
getSiocRelatedto | public Post getSiocRelatedto()(Code) | | Schema Comment: Related Posts for this Post, perhaps determined implicitly from topics or references.
the only value. null if none is found throws: RDFDataException - , if the property has multiple values |
getSiocSibling | public Post getSiocSibling()(Code) | | Schema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). The sibling of this Post should be self-describing (that is, it should contain all available information).
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 |
hasSiocAttachment | public boolean hasSiocAttachment(Thing value)(Code) | | Parameters: value - true if the model contains a statement (this, ATTACHMENT, value) |
hasSiocAttachment | public boolean hasSiocAttachment()(Code) | | true if the model contains a statement (this, ATTACHMENT, *) |
hasSiocContent | public boolean hasSiocContent(java.lang.String value)(Code) | | Parameters: value - true if the model contains a statement (this, CONTENT, value) |
hasSiocContent | public boolean hasSiocContent()(Code) | | true if the model contains a statement (this, CONTENT, *) |
hasSiocNote | public boolean hasSiocNote(java.lang.String value)(Code) | | Parameters: value - true if the model contains a statement (this, NOTE, value) |
hasSiocNote | public boolean hasSiocNote()(Code) | | true if the model contains a statement (this, NOTE, *) |
hasSiocNumreplies | public boolean hasSiocNumreplies(java.lang.Integer value)(Code) | | Parameters: value - true if the model contains a statement (this, NUMREPLIES, value) |
hasSiocNumreplies | public boolean hasSiocNumreplies()(Code) | | true if the model contains a statement (this, NUMREPLIES, *) |
hasSiocRelatedto | public boolean hasSiocRelatedto(Post value)(Code) | | Parameters: value - true if the model contains a statement (this, RELATEDTO, value) |
hasSiocRelatedto | public boolean hasSiocRelatedto()(Code) | | true if the model contains a statement (this, RELATEDTO, *) |
hasSiocSibling | public boolean hasSiocSibling(Post value)(Code) | | Parameters: value - true if the model contains a statement (this, SIBLING, value) |
hasSiocSibling | public boolean hasSiocSibling()(Code) | | true if the model contains a statement (this, SIBLING, *) |
removeSiocAttachment | public void removeSiocAttachment(Thing value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: The URI of a file attached to a Post. |
removeSiocContent | public void removeSiocContent(java.lang.String value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: The content of the Post. |
removeSiocNote | public void removeSiocNote(java.lang.String value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: A note associated with this Post, for example if it has been edited by a User. |
removeSiocNumreplies | public void removeSiocNumreplies(java.lang.Integer value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: The number of replies that this Post has. Useful for where the reply structure is absent. |
removeSiocRelatedto | public void removeSiocRelatedto(Post value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: Related Posts for this Post, perhaps determined implicitly from topics or references. |
removeSiocSibling | public void removeSiocSibling(Post value)(Code) | | removes a value
Parameters: value - the value to be removedSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). The sibling of this Post should be self-describing (that is, it should contain all available information). |
setSiocAttachment | public void setSiocAttachment(Thing value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: The URI of a file attached to a Post. |
setSiocContent | public void setSiocContent(java.lang.String value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: The content of the Post. |
setSiocNote | public void setSiocNote(java.lang.String value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: A note associated with this Post, for example if it has been edited by a User. |
setSiocNumreplies | public void setSiocNumreplies(java.lang.Integer value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: The number of replies that this Post has. Useful for where the reply structure is absent. |
setSiocRelatedto | public void setSiocRelatedto(Post value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: Related Posts for this Post, perhaps determined implicitly from topics or references. |
setSiocSibling | public void setSiocSibling(Post value)(Code) | | removes all values and sets this one
Parameters: value - the value to be setSchema Comment: A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.). The sibling of this Post should be self-describing (that is, it should contain all available information). |
|
|