| java.lang.Object org.ontoware.semversion.VersionedItem
All known Subclasses: org.ontoware.semversion.VersionedModel, org.ontoware.semversion.Version,
VersionedItem | abstract public class VersionedItem (Code) | | Any item that is versioned. Versioned items have a comment, label, creation
time, deletion time, provenance, tags, a URI, a User who created it, optional
user-define meta-data.
author: voelkel |
Constructor Summary | |
public | VersionedItem(Model model, Session session, URI uri) Returns a Java wrapper over an RDF object, identified by URI. |
VersionedItem | public VersionedItem(Model model, Session session, URI uri)(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: uri - URI of this instance |
getComment | public String getComment()(Code) | | one of the comments. |
getTag | protected String getTag() throws RDFDataException(Code) | | Tags are used e.g. to tag things as 'suggestion'
a tag, if this item has one. Otherwise null. |
getUser | public User getUser()(Code) | | the creator of this item |
getUserdefinedMetadata | public URI getUserdefinedMetadata()(Code) | | the URI of the graph which contains additional metadata in RDF |
setUserdefinedMetadata | protected void setUserdefinedMetadata(URI value)(Code) | | removes all values and sets this one
|
|
|