|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Content
Interface for Content Class@en ontology class
Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this interface.
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#Content)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
bodyProperty
The Jena Property for body |
static org.openrdf.model.URI |
contentProperty
The Jena Property for content |
static org.openrdf.model.URI |
emailProperty
The Jena Property for email |
static org.openrdf.model.URI |
langProperty
The Jena Property for lang |
static org.openrdf.model.URI |
lengthProperty
The Jena Property for length |
static org.openrdf.model.URI |
representationOfProperty
The Jena Property for representationOf |
static org.openrdf.model.URI |
representationProperty
The Jena Property for representation |
static org.openrdf.model.URI |
srcProperty
The Jena Property for src |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
static org.openrdf.model.URI |
typeProperty
The Jena Property for 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. |
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<InformationResource> |
getSrc()
Get an Iterator the 'src' property values. |
java.lang.String |
getType()
Gets the 'type' property value |
void |
removeBody(org.openrdf.model.Literal body)
Remove a 'body' property value. |
void |
removeEmail(GraphThing email)
Removes a value for the 'email' 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 interface org.openanzo.atom.jastor.webarch.Representation |
|---|
addRepresentation, addRepresentation, addRepresentation, addRepresentationOf, addRepresentationOf, addRepresentationOf, getRepresentation, getRepresentationOf, removeRepresentation, removeRepresentationOf |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri |
| Field Detail |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI lengthProperty
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#length)
static final org.openrdf.model.URI typeProperty
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#type)
static final org.openrdf.model.URI bodyProperty
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#body)
static final org.openrdf.model.URI srcProperty
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#src)
static final org.openrdf.model.URI langProperty
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#lang)
static final org.openrdf.model.URI representationOfProperty
(URI: http://sw.nokia.com/WebArch-1/representationOf)
static final org.openrdf.model.URI emailProperty
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#email)
static final org.openrdf.model.URI representationProperty
(URI: http://sw.nokia.com/WebArch-1/representation)
static final org.openrdf.model.URI contentProperty
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#content)
| Method Detail |
|---|
java.lang.Integer getLength()
throws JastorException
Integer
JastorExceptionlengthProperty
void setLength(java.lang.Integer length)
throws JastorException
{@link - java.lang.Integer}
JastorExceptionlengthProperty
java.lang.String getType()
throws JastorException
String
JastorExceptiontypeProperty
void setType(java.lang.String type)
throws JastorException
{@link - java.lang.String}
JastorExceptiontypeProperty
info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getBody()
throws JastorException
Iterator of Literal
JastorExceptionbodyProperty
void addBody(org.openrdf.model.Literal body)
throws JastorException
{@link - org.openrdf.model.Literal}, the value to add
JastorExceptionbodyProperty
void removeBody(org.openrdf.model.Literal body)
throws JastorException
{@link - org.openrdf.model.Literal}, the value to remove
JastorExceptionbodyProperty
info.aduna.collections.iterators.CloseableIterator<InformationResource> getSrc()
throws JastorException
Iterator of InformationResource
JastorExceptionsrcProperty
void addSrc(InformationResource src)
throws JastorException
The - InformationResource to add
JastorExceptionsrcProperty
InformationResource addSrc()
throws JastorException
InformationResource created
JastorExceptionsrcProperty
InformationResource addSrc(org.openrdf.model.Resource resource)
throws JastorException
InformationResource 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.
The - om.hp.hpl.jena.rdf.model.Resource to add
JastorExceptionsrcProperty
void removeSrc(InformationResource src)
throws JastorException
The - InformationResource to remove
JastorExceptionsrcProperty
java.lang.String getLang()
throws JastorException
String
JastorExceptionlangProperty
void setLang(java.lang.String lang)
throws JastorException
{@link - java.lang.String}
JastorExceptionlangProperty
info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
throws JastorException
Iterator of GraphThing
JastorExceptionemailProperty
void addEmail(GraphThing email)
throws JastorException
The - GraphThing to add
JastorExceptionemailProperty
GraphThing addEmail()
throws JastorException
GraphThing created
JastorExceptionemailProperty
GraphThing addEmail(org.openrdf.model.Resource resource)
throws JastorException
GraphThing 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.
The - om.hp.hpl.jena.rdf.model.Resource to add
JastorExceptionemailProperty
void removeEmail(GraphThing email)
throws JastorException
The - GraphThing to remove
JastorExceptionemailProperty
Content getContent()
throws JastorException
Content
JastorExceptioncontentProperty
void setContent(Content content)
throws JastorException
{@link - org.openanzo.atom.jastor.atomowl.Content}
JastorExceptioncontentProperty
Content setContent()
throws JastorException
Content, the created value
JastorExceptioncontentProperty
Content setContent(org.openrdf.model.Resource resource)
throws JastorException
Content 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.
{@link - com.hp.hpl.jena.rdf.model.Resource} must not be be null.
Content, the newly created value
JastorExceptioncontentProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||