|
||||||||||
| 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.TextContentImpl
public class TextContentImpl
Implementation of TextContent
Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this class.
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#TextContent)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.atom.jastor.atomowl.TextContent |
|---|
TYPE |
| Method Summary | |
|---|---|
void |
addBody(org.openrdf.model.Literal body)
Add a 'body' property value |
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. |
GraphThing |
addRepresentation()
Adds an anonymous value for the 'representation' property |
void |
addRepresentation(GraphThing representation)
Adds a value for the 'representation' property |
GraphThing |
addRepresentation(org.openrdf.model.Resource resource)
Adds a value for the 'representation' property. |
GraphThing |
addRepresentationOf()
Adds an anonymous value for the 'representationOf' property |
void |
addRepresentationOf(GraphThing representationOf)
Adds a value for the 'representationOf' property |
GraphThing |
addRepresentationOf(org.openrdf.model.Resource resource)
Adds a value for the 'representationOf' property. |
InformationResource |
addSrc()
Adds an anonymous value for the 'src' property |
void |
addSrc(InformationResource src)
Adds a value for the 'src' property |
InformationResource |
addSrc(org.openrdf.model.Resource resource)
Adds a value for the 'src' property. |
info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> |
getBody()
Iterates through the 'body' 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 |
getLang()
Gets the 'lang' property value |
java.lang.Integer |
getLength()
Gets the 'length' property value |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getRepresentation()
Get an Iterator the 'representation' property values. |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getRepresentationOf()
Get an Iterator the 'representationOf' property values. |
info.aduna.collections.iterators.CloseableIterator<InformationResource> |
getSrc()
Get an Iterator the 'src' property values. |
java.lang.String |
getType()
Gets the 'type' property value |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
void |
removeBody(org.openrdf.model.Literal body)
Remove a 'body' property value. |
void |
removeEmail(GraphThing email)
Removes a value for the 'email' property. |
void |
removeRepresentation(GraphThing representation)
Removes a value for the 'representation' property. |
void |
removeRepresentationOf(GraphThing representationOf)
Removes a value for the 'representationOf' property. |
void |
removeSrc(InformationResource src)
Removes a value for the 'src' 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 |
setLang(java.lang.String lang)
Sets the 'lang' property value |
void |
setLength(java.lang.Integer length)
Sets the 'length' property value |
void |
setType(java.lang.String type)
Sets the 'type' 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<GraphThing> getRepresentationOf()
throws JastorException
Representation
getRepresentationOf in interface RepresentationIterator of GraphThing
JastorExceptionRepresentation.representationOfProperty
public void addRepresentationOf(GraphThing representationOf)
throws JastorException
Representation
addRepresentationOf in interface RepresentationJastorExceptionRepresentation.representationOfProperty
public GraphThing addRepresentationOf()
throws JastorException
Representation
addRepresentationOf in interface RepresentationGraphThing created
JastorExceptionRepresentation.representationOfProperty
public GraphThing addRepresentationOf(org.openrdf.model.Resource resource)
throws JastorException
RepresentationGraphThing with the factory
and calling addRepresentationOf(org.openanzo.jastor.GraphThing representationOf)
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.
addRepresentationOf in interface RepresentationJastorExceptionRepresentation.representationOfProperty
public void removeRepresentationOf(GraphThing representationOf)
throws JastorException
Representation
removeRepresentationOf in interface RepresentationJastorExceptionRepresentation.representationOfProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getRepresentation()
throws JastorException
Representation
getRepresentation in interface RepresentationIterator of GraphThing
JastorExceptionRepresentation.representationProperty
public void addRepresentation(GraphThing representation)
throws JastorException
Representation
addRepresentation in interface RepresentationJastorExceptionRepresentation.representationProperty
public GraphThing addRepresentation()
throws JastorException
Representation
addRepresentation in interface RepresentationGraphThing created
JastorExceptionRepresentation.representationProperty
public GraphThing addRepresentation(org.openrdf.model.Resource resource)
throws JastorException
RepresentationGraphThing with the factory
and calling addRepresentation(org.openanzo.jastor.GraphThing representation)
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.
addRepresentation in interface RepresentationJastorExceptionRepresentation.representationProperty
public void removeRepresentation(GraphThing representation)
throws JastorException
Representation
removeRepresentation in interface RepresentationJastorExceptionRepresentation.representationProperty
public java.lang.Integer getLength()
throws JastorException
Content
getLength in interface ContentInteger
JastorExceptionContent.lengthProperty
public void setLength(java.lang.Integer length)
throws JastorException
Content
setLength in interface ContentJastorExceptionContent.lengthProperty
public java.lang.String getType()
throws JastorException
Content
getType in interface ContentString
JastorExceptionContent.typeProperty
public void setType(java.lang.String type)
throws JastorException
Content
setType in interface ContentJastorExceptionContent.typeProperty
public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getBody()
throws JastorException
Content
getBody in interface ContentIterator of Literal
JastorExceptionContent.bodyProperty
public void addBody(org.openrdf.model.Literal body)
throws JastorException
Content
addBody in interface ContentJastorExceptionContent.bodyProperty
public void removeBody(org.openrdf.model.Literal body)
throws JastorException
Content
removeBody in interface ContentJastorExceptionContent.bodyProperty
public info.aduna.collections.iterators.CloseableIterator<InformationResource> getSrc()
throws JastorException
Content
getSrc in interface ContentIterator of InformationResource
JastorExceptionContent.srcProperty
public void addSrc(InformationResource src)
throws JastorException
Content
addSrc in interface ContentJastorExceptionContent.srcProperty
public InformationResource addSrc()
throws JastorException
Content
addSrc in interface ContentInformationResource created
JastorExceptionContent.srcProperty
public InformationResource addSrc(org.openrdf.model.Resource resource)
throws JastorException
ContentInformationResource with the factory
and calling addSrc(org.openanzo.atom.jastor.webarch.InformationResource src)
The resource argument have rdf:type http://sw.nokia.com/WebArch-1/InformationResource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addSrc in interface ContentJastorExceptionContent.srcProperty
public void removeSrc(InformationResource src)
throws JastorException
Content
removeSrc in interface ContentJastorExceptionContent.srcProperty
public java.lang.String getLang()
throws JastorException
Content
getLang in interface ContentString
JastorExceptionContent.langProperty
public void setLang(java.lang.String lang)
throws JastorException
Content
setLang in interface ContentJastorExceptionContent.langProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
throws JastorException
Content
getEmail in interface ContentIterator of GraphThing
JastorExceptionContent.emailProperty
public void addEmail(GraphThing email)
throws JastorException
Content
addEmail in interface ContentJastorExceptionContent.emailProperty
public GraphThing addEmail()
throws JastorException
Content
addEmail in interface ContentGraphThing created
JastorExceptionContent.emailProperty
public GraphThing addEmail(org.openrdf.model.Resource resource)
throws JastorException
ContentGraphThing 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 ContentJastorExceptionContent.emailProperty
public void removeEmail(GraphThing email)
throws JastorException
Content
removeEmail in interface ContentJastorExceptionContent.emailProperty
public Content getContent()
throws JastorException
Content
getContent in interface ContentContent
JastorExceptionContent.contentProperty
public void setContent(Content content)
throws JastorException
Content
setContent in interface ContentJastorExceptionContent.contentProperty
public Content setContent()
throws JastorException
Content
setContent in interface ContentContent, the created value
JastorExceptionContent.contentProperty
public Content setContent(org.openrdf.model.Resource resource)
throws JastorException
ContentContent 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 ContentContent, the newly created value
JastorExceptionContent.contentProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||