|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingImpl
org.openanzo.atom.jastor.atomowl.VersionImpl
public class VersionImpl
Implementation of Version
Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this class.
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#Version)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.atom.jastor.atomowl.Version |
|---|
TYPE |
| Method Summary | |
|---|---|
GraphThing |
addAlternate()
Adds an anonymous value for the 'alternate' property |
void |
addAlternate(GraphThing alternate)
Adds a value for the 'alternate' property |
GraphThing |
addAlternate(org.openrdf.model.Resource resource)
Adds a value for the 'alternate' property. |
GraphThing |
addEmail()
Adds an anonymous value for the 'email' property |
void |
addEmail(GraphThing email)
Adds a value for the 'email' property |
GraphThing |
addEmail(org.openrdf.model.Resource resource)
Adds a value for the 'email' property. |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getAlternate()
Get an Iterator the 'alternate' property values. |
Content |
getContent()
Gets the 'content' property value |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getEmail()
Get an Iterator the 'email' property values. |
java.lang.String |
getId()
Gets the 'id' property value |
java.util.Date |
getUpdated()
Gets the 'updated' property value |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
void |
removeAlternate(GraphThing alternate)
Removes a value for the 'alternate' property. |
void |
removeEmail(GraphThing email)
Removes a value for the 'email' property. |
Content |
setContent()
Sets the 'content' property value to an anonymous node |
void |
setContent(Content content)
Sets the 'content' property value |
Content |
setContent(org.openrdf.model.Resource resource)
Sets the 'content' property value to the given resource, and add's rdf:type properties. |
void |
setId(java.lang.String id)
Sets the 'id' property value |
void |
setUpdated(java.util.Date updated)
Sets the 'updated' property value |
| Methods inherited from class org.openanzo.jastor.GraphThingImpl |
|---|
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, registerListener, removeStatements, resource, setPropertyValue, setPropertyValue, toString, unregisterListener, uri |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, registerListener, removeStatements, resource, unregisterListener, uri |
| Method Detail |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class GraphThingImpl
public java.util.Date getUpdated()
throws JastorException
Version
getUpdated in interface VersionDate
JastorExceptionVersion.updatedProperty
public void setUpdated(java.util.Date updated)
throws JastorException
Version
setUpdated in interface VersionJastorExceptionVersion.updatedProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getAlternate()
throws JastorException
Version
getAlternate in interface VersionIterator of GraphThing
JastorExceptionVersion.alternateProperty
public void addAlternate(GraphThing alternate)
throws JastorException
Version
addAlternate in interface VersionJastorExceptionVersion.alternateProperty
public GraphThing addAlternate()
throws JastorException
Version
addAlternate in interface VersionGraphThing created
JastorExceptionVersion.alternateProperty
public GraphThing addAlternate(org.openrdf.model.Resource resource)
throws JastorException
VersionGraphThing with the factory
and calling addAlternate(org.openanzo.jastor.GraphThing alternate)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addAlternate in interface VersionJastorExceptionVersion.alternateProperty
public void removeAlternate(GraphThing alternate)
throws JastorException
Version
removeAlternate in interface VersionJastorExceptionVersion.alternateProperty
public java.lang.String getId()
throws JastorException
Version
getId in interface VersionString
JastorExceptionVersion.idProperty
public void setId(java.lang.String id)
throws JastorException
Version
setId in interface VersionJastorExceptionVersion.idProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
throws JastorException
Version
getEmail in interface VersionIterator of GraphThing
JastorExceptionVersion.emailProperty
public void addEmail(GraphThing email)
throws JastorException
Version
addEmail in interface VersionJastorExceptionVersion.emailProperty
public GraphThing addEmail()
throws JastorException
Version
addEmail in interface VersionGraphThing created
JastorExceptionVersion.emailProperty
public GraphThing addEmail(org.openrdf.model.Resource resource)
throws JastorException
VersionGraphThing with the factory
and calling addEmail(org.openanzo.jastor.GraphThing email)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addEmail in interface VersionJastorExceptionVersion.emailProperty
public void removeEmail(GraphThing email)
throws JastorException
Version
removeEmail in interface VersionJastorExceptionVersion.emailProperty
public Content getContent()
throws JastorException
Version
getContent in interface VersionContent
JastorExceptionVersion.contentProperty
public void setContent(Content content)
throws JastorException
Version
setContent in interface VersionJastorExceptionVersion.contentProperty
public Content setContent()
throws JastorException
Version
setContent in interface VersionContent, the created value
JastorExceptionVersion.contentProperty
public Content setContent(org.openrdf.model.Resource resource)
throws JastorException
VersionContent with the factory.
and calling setContent(org.openanzo.atom.jastor.atomowl.Content content)
The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#Content. That is, this method
should not be used as a shortcut for creating new objects in the model.
setContent in interface VersionContent, the newly created value
JastorExceptionVersion.contentProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||