|
||||||||||
| 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.RelationTypeImpl
public class RelationTypeImpl
Implementation of RelationType
Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this class.
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#RelationType)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.atom.jastor.atomowl.RelationType |
|---|
alternate, anchor, collection, edit, editmedia, enclosure, first, history, introspection, last, next, previous, related, self, TYPE, via |
| Method Summary | |
|---|---|
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. |
Content |
getContent()
Gets the 'content' property value |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getEmail()
Get an Iterator the 'email' property values. |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
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. |
| 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 info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
throws JastorException
RelationType
getEmail in interface RelationTypeIterator of GraphThing
JastorExceptionRelationType.emailProperty
public void addEmail(GraphThing email)
throws JastorException
RelationType
addEmail in interface RelationTypeJastorExceptionRelationType.emailProperty
public GraphThing addEmail()
throws JastorException
RelationType
addEmail in interface RelationTypeGraphThing created
JastorExceptionRelationType.emailProperty
public GraphThing addEmail(org.openrdf.model.Resource resource)
throws JastorException
RelationTypeGraphThing 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 RelationTypeJastorExceptionRelationType.emailProperty
public void removeEmail(GraphThing email)
throws JastorException
RelationType
removeEmail in interface RelationTypeJastorExceptionRelationType.emailProperty
public Content getContent()
throws JastorException
RelationType
getContent in interface RelationTypeContent
JastorExceptionRelationType.contentProperty
public void setContent(Content content)
throws JastorException
RelationType
setContent in interface RelationTypeJastorExceptionRelationType.contentProperty
public Content setContent()
throws JastorException
RelationType
setContent in interface RelationTypeContent, the created value
JastorExceptionRelationType.contentProperty
public Content setContent(org.openrdf.model.Resource resource)
throws JastorException
RelationTypeContent 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 RelationTypeContent, the newly created value
JastorExceptionRelationType.contentProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||