|
||||||||||
| 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.LinkImpl
public class LinkImpl
Implementation of Link
Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this class.
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#Link)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.atom.jastor.atomowl.Link |
|---|
TYPE |
| 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. |
RelationType |
addRel()
Adds an anonymous value for the 'rel' property |
void |
addRel(RelationType rel)
Adds a value for the 'rel' property |
RelationType |
addRel(org.openrdf.model.Resource resource)
Adds a value for the 'rel' property. |
Content |
getContent()
Gets the 'content' property value |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getEmail()
Get an Iterator the 'email' property values. |
info.aduna.collections.iterators.CloseableIterator<RelationType> |
getRel()
Get an Iterator the 'rel' property values. |
TextContent |
getTitle()
Gets the 'title' property value |
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. |
void |
removeRel(RelationType rel)
Removes a value for the 'rel' 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. |
TextContent |
setTitle()
Sets the 'title' property value to an anonymous node |
TextContent |
setTitle(org.openrdf.model.Resource resource)
Sets the 'title' property value to the given resource, and add's rdf:type properties. |
void |
setTitle(TextContent title)
Sets the 'title' 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 info.aduna.collections.iterators.CloseableIterator<RelationType> getRel()
throws JastorException
Link
getRel in interface LinkIterator of RelationType
JastorExceptionLink.relProperty
public void addRel(RelationType rel)
throws JastorException
Link
addRel in interface LinkJastorExceptionLink.relProperty
public RelationType addRel()
throws JastorException
Link
addRel in interface LinkRelationType created
JastorExceptionLink.relProperty
public RelationType addRel(org.openrdf.model.Resource resource)
throws JastorException
LinkRelationType with the factory
and calling addRel(org.openanzo.atom.jastor.atomowl.RelationType rel)
The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#RelationType. That is, this method
should not be used as a shortcut for creating new objects in the model.
addRel in interface LinkJastorExceptionLink.relProperty
public void removeRel(RelationType rel)
throws JastorException
Link
removeRel in interface LinkJastorExceptionLink.relProperty
public Content getContent()
throws JastorException
Link
getContent in interface LinkContent
JastorExceptionLink.contentProperty
public void setContent(Content content)
throws JastorException
Link
setContent in interface LinkJastorExceptionLink.contentProperty
public Content setContent()
throws JastorException
Link
setContent in interface LinkContent, the created value
JastorExceptionLink.contentProperty
public Content setContent(org.openrdf.model.Resource resource)
throws JastorException
LinkContent 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 LinkContent, the newly created value
JastorExceptionLink.contentProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
throws JastorException
Link
getEmail in interface LinkIterator of GraphThing
JastorExceptionLink.emailProperty
public void addEmail(GraphThing email)
throws JastorException
Link
addEmail in interface LinkJastorExceptionLink.emailProperty
public GraphThing addEmail()
throws JastorException
Link
addEmail in interface LinkGraphThing created
JastorExceptionLink.emailProperty
public GraphThing addEmail(org.openrdf.model.Resource resource)
throws JastorException
LinkGraphThing 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 LinkJastorExceptionLink.emailProperty
public void removeEmail(GraphThing email)
throws JastorException
Link
removeEmail in interface LinkJastorExceptionLink.emailProperty
public TextContent getTitle()
throws JastorException
Link
getTitle in interface LinkTextContent
JastorExceptionLink.titleProperty
public void setTitle(TextContent title)
throws JastorException
Link
setTitle in interface LinkJastorExceptionLink.titleProperty
public TextContent setTitle()
throws JastorException
Link
setTitle in interface LinkTextContent, the created value
JastorExceptionLink.titleProperty
public TextContent setTitle(org.openrdf.model.Resource resource)
throws JastorException
LinkTextContent with the factory.
and calling setTitle(org.openanzo.atom.jastor.atomowl.TextContent title)
The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#TextContent. That is, this method
should not be used as a shortcut for creating new objects in the model.
setTitle in interface LinkTextContent, the newly created value
JastorExceptionLink.titleProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||