org.openanzo.atom.jastor.atomowl
Interface FeedOrEntry

All Superinterfaces:
CoreThing, GraphThing
All Known Subinterfaces:
Entry, Feed
All Known Implementing Classes:
EntryImpl, FeedImpl, FeedOrEntryImpl

public interface FeedOrEntry
extends GraphThing

Interface for FeedOrEntry 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/#FeedOrEntry)


RDF Schema Standard Properties
label : FeedOrEntry Class@en
comment : Union of the Feed and Entry class. Simplifies writing the ontology.@en



Field Summary
static org.openrdf.model.URI authorProperty
          The Jena Property for author
static org.openrdf.model.URI categoryProperty
          The Jena Property for category
static org.openrdf.model.URI contentProperty
          The Jena Property for content
static org.openrdf.model.URI contributorProperty
          The Jena Property for contributor
static org.openrdf.model.URI emailProperty
          The Jena Property for email
static org.openrdf.model.URI linkProperty
          The Jena Property for link
static org.openrdf.model.URI rightsProperty
          The Jena Property for rights
static org.openrdf.model.URI titleProperty
          The Jena Property for title
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 Person addAuthor()
          Adds an anonymous value for the 'author' property
 void addAuthor(Person author)
          Adds a value for the 'author' property
 Person addAuthor(org.openrdf.model.Resource resource)
          Adds a value for the 'author' property.
 Category addCategory()
          Adds an anonymous value for the 'category' property
 void addCategory(Category category)
          Adds a value for the 'category' property
 Category addCategory(org.openrdf.model.Resource resource)
          Adds a value for the 'category' property.
 Person addContributor()
          Adds an anonymous value for the 'contributor' property
 void addContributor(Person contributor)
          Adds a value for the 'contributor' property
 Person addContributor(org.openrdf.model.Resource resource)
          Adds a value for the 'contributor' 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.
 Link addLink()
          Adds an anonymous value for the 'link' property
 void addLink(Link link)
          Adds a value for the 'link' property
 Link addLink(org.openrdf.model.Resource resource)
          Adds a value for the 'link' property.
 info.aduna.collections.iterators.CloseableIterator<Person> getAuthor()
          Get an Iterator the 'author' property values.
 info.aduna.collections.iterators.CloseableIterator<Category> getCategory()
          Get an Iterator the 'category' property values.
 Content getContent()
          Gets the 'content' property value
 info.aduna.collections.iterators.CloseableIterator<Person> getContributor()
          Get an Iterator the 'contributor' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
          Get an Iterator the 'email' property values.
 info.aduna.collections.iterators.CloseableIterator<Link> getLink()
          Get an Iterator the 'link' property values.
 TextContent getRights()
          Gets the 'rights' property value
 TextContent getTitle()
          Gets the 'title' property value
 void removeAuthor(Person author)
          Removes a value for the 'author' property.
 void removeCategory(Category category)
          Removes a value for the 'category' property.
 void removeContributor(Person contributor)
          Removes a value for the 'contributor' property.
 void removeEmail(GraphThing email)
          Removes a value for the 'email' property.
 void removeLink(Link link)
          Removes a value for the 'link' 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 setRights()
          Sets the 'rights' property value to an anonymous node
 TextContent setRights(org.openrdf.model.Resource resource)
          Sets the 'rights' property value to the given resource, and add's rdf:type properties.
 void setRights(TextContent rights)
          Sets the 'rights' property value
 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 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

TYPE

static final org.openrdf.model.URI TYPE
The rdf:type for this ontology class


rightsProperty

static final org.openrdf.model.URI rightsProperty
The Jena Property for rights

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#rights)



RDF Schema Standard Properties
label : rights@en
comment : See 4.2.10 of rfc 4287 spec. Rights held over a Version.@en


authorProperty

static final org.openrdf.model.URI authorProperty
The Jena Property for author

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#author)



RDF Schema Standard Properties
label : author
comment : See 4.2.1 rfc 4287 spec.@en


linkProperty

static final org.openrdf.model.URI linkProperty
The Jena Property for link

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#link)



RDF Schema Standard Properties
label : link@en
comment : See 4.2.7 of rfc 4287 spec. A link associated with the container. If the link is unreified, we have a relation from the container to some resource@en


contributorProperty

static final org.openrdf.model.URI contributorProperty
The Jena Property for contributor

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#contributor)



RDF Schema Standard Properties
label : contributor@en
comment : See 4.2.3 of rfc 4287 spec. Someone who contributed to the Version.@en


categoryProperty

static final org.openrdf.model.URI categoryProperty
The Jena Property for category

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#category)



RDF Schema Standard Properties
label : category
comment : See 4.2.2. A category with which the conainer is associated.@en


titleProperty

static final org.openrdf.model.URI titleProperty
The Jena Property for title

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#title)



RDF Schema Standard Properties
label : title@en
comment : See 4.2.14. Title of a container@en


emailProperty

static final org.openrdf.model.URI emailProperty
The Jena Property for email

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#email)



RDF Schema Standard Properties
label : email address@en
comment : see 3.2.3 of rfc 4287. A mailbox of the Person@en


contentProperty

static final org.openrdf.model.URI contentProperty
The Jena Property for content

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#content)



RDF Schema Standard Properties
label : content@en
comment : See 4.1.3 of rfc 4287 spec. The content of an Entry, a Link or any of the relation types that are the object of :rel properties@en

Method Detail

getRights

TextContent getRights()
                      throws JastorException
Gets the 'rights' property value

Returns:
TextContent
Throws:
JastorException
See Also:
rightsProperty

setRights

void setRights(TextContent rights)
               throws JastorException
Sets the 'rights' property value

Parameters:
{@link - org.openanzo.atom.jastor.atomowl.TextContent}
Throws:
JastorException
See Also:
rightsProperty

setRights

TextContent setRights()
                      throws JastorException
Sets the 'rights' property value to an anonymous node

Returns:
TextContent, the created value
Throws:
JastorException
See Also:
rightsProperty

setRights

TextContent setRights(org.openrdf.model.Resource resource)
                      throws JastorException
Sets the 'rights' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of TextContent with the factory. and calling setRights(org.openanzo.atom.jastor.atomowl.TextContent rights) 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.

Parameters:
{@link - com.hp.hpl.jena.rdf.model.Resource} must not be be null.
Returns:
TextContent, the newly created value
Throws:
JastorException
See Also:
rightsProperty

getAuthor

info.aduna.collections.iterators.CloseableIterator<Person> getAuthor()
                                                                     throws JastorException
Get an Iterator the 'author' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Person
Throws:
JastorException
See Also:
authorProperty

addAuthor

void addAuthor(Person author)
               throws JastorException
Adds a value for the 'author' property

Parameters:
The - Person to add
Throws:
JastorException
See Also:
authorProperty

addAuthor

Person addAuthor()
                 throws JastorException
Adds an anonymous value for the 'author' property

Returns:
The anoymous Person created
Throws:
JastorException
See Also:
authorProperty

addAuthor

Person addAuthor(org.openrdf.model.Resource resource)
                 throws JastorException
Adds a value for the 'author' property. This method is equivalent constructing a new instance of Person with the factory and calling addAuthor(org.openanzo.atom.jastor.atomowl.Person author) The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#Person. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
authorProperty

removeAuthor

void removeAuthor(Person author)
                  throws JastorException
Removes a value for the 'author' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
The - Person to remove
Throws:
JastorException
See Also:
authorProperty

getLink

info.aduna.collections.iterators.CloseableIterator<Link> getLink()
                                                                 throws JastorException
Get an Iterator the 'link' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Link
Throws:
JastorException
See Also:
linkProperty

addLink

void addLink(Link link)
             throws JastorException
Adds a value for the 'link' property

Parameters:
The - Link to add
Throws:
JastorException
See Also:
linkProperty

addLink

Link addLink()
             throws JastorException
Adds an anonymous value for the 'link' property

Returns:
The anoymous Link created
Throws:
JastorException
See Also:
linkProperty

addLink

Link addLink(org.openrdf.model.Resource resource)
             throws JastorException
Adds a value for the 'link' property. This method is equivalent constructing a new instance of Link with the factory and calling addLink(org.openanzo.atom.jastor.atomowl.Link link) The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#Link. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
linkProperty

removeLink

void removeLink(Link link)
                throws JastorException
Removes a value for the 'link' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
The - Link to remove
Throws:
JastorException
See Also:
linkProperty

getContributor

info.aduna.collections.iterators.CloseableIterator<Person> getContributor()
                                                                          throws JastorException
Get an Iterator the 'contributor' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Person
Throws:
JastorException
See Also:
contributorProperty

addContributor

void addContributor(Person contributor)
                    throws JastorException
Adds a value for the 'contributor' property

Parameters:
The - Person to add
Throws:
JastorException
See Also:
contributorProperty

addContributor

Person addContributor()
                      throws JastorException
Adds an anonymous value for the 'contributor' property

Returns:
The anoymous Person created
Throws:
JastorException
See Also:
contributorProperty

addContributor

Person addContributor(org.openrdf.model.Resource resource)
                      throws JastorException
Adds a value for the 'contributor' property. This method is equivalent constructing a new instance of Person with the factory and calling addContributor(org.openanzo.atom.jastor.atomowl.Person contributor) The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#Person. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
contributorProperty

removeContributor

void removeContributor(Person contributor)
                       throws JastorException
Removes a value for the 'contributor' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
The - Person to remove
Throws:
JastorException
See Also:
contributorProperty

getCategory

info.aduna.collections.iterators.CloseableIterator<Category> getCategory()
                                                                         throws JastorException
Get an Iterator the 'category' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Category
Throws:
JastorException
See Also:
categoryProperty

addCategory

void addCategory(Category category)
                 throws JastorException
Adds a value for the 'category' property

Parameters:
The - Category to add
Throws:
JastorException
See Also:
categoryProperty

addCategory

Category addCategory()
                     throws JastorException
Adds an anonymous value for the 'category' property

Returns:
The anoymous Category created
Throws:
JastorException
See Also:
categoryProperty

addCategory

Category addCategory(org.openrdf.model.Resource resource)
                     throws JastorException
Adds a value for the 'category' property. This method is equivalent constructing a new instance of Category with the factory and calling addCategory(org.openanzo.atom.jastor.atomowl.Category category) The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#Category. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
categoryProperty

removeCategory

void removeCategory(Category category)
                    throws JastorException
Removes a value for the 'category' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
The - Category to remove
Throws:
JastorException
See Also:
categoryProperty

getTitle

TextContent getTitle()
                     throws JastorException
Gets the 'title' property value

Returns:
TextContent
Throws:
JastorException
See Also:
titleProperty

setTitle

void setTitle(TextContent title)
              throws JastorException
Sets the 'title' property value

Parameters:
{@link - org.openanzo.atom.jastor.atomowl.TextContent}
Throws:
JastorException
See Also:
titleProperty

setTitle

TextContent setTitle()
                     throws JastorException
Sets the 'title' property value to an anonymous node

Returns:
TextContent, the created value
Throws:
JastorException
See Also:
titleProperty

setTitle

TextContent setTitle(org.openrdf.model.Resource resource)
                     throws JastorException
Sets the 'title' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of TextContent 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.

Parameters:
{@link - com.hp.hpl.jena.rdf.model.Resource} must not be be null.
Returns:
TextContent, the newly created value
Throws:
JastorException
See Also:
titleProperty

getEmail

info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
                                                                        throws JastorException
Get an Iterator the 'email' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
emailProperty

addEmail

void addEmail(GraphThing email)
              throws JastorException
Adds a value for the 'email' property

Parameters:
The - GraphThing to add
Throws:
JastorException
See Also:
emailProperty

addEmail

GraphThing addEmail()
                    throws JastorException
Adds an anonymous value for the 'email' property

Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
emailProperty

addEmail

GraphThing addEmail(org.openrdf.model.Resource resource)
                    throws JastorException
Adds a value for the 'email' property. This method is equivalent constructing a new instance of 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.

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
emailProperty

removeEmail

void removeEmail(GraphThing email)
                 throws JastorException
Removes a value for the 'email' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
The - GraphThing to remove
Throws:
JastorException
See Also:
emailProperty

getContent

Content getContent()
                   throws JastorException
Gets the 'content' property value

Returns:
Content
Throws:
JastorException
See Also:
contentProperty

setContent

void setContent(Content content)
                throws JastorException
Sets the 'content' property value

Parameters:
{@link - org.openanzo.atom.jastor.atomowl.Content}
Throws:
JastorException
See Also:
contentProperty

setContent

Content setContent()
                   throws JastorException
Sets the 'content' property value to an anonymous node

Returns:
Content, the created value
Throws:
JastorException
See Also:
contentProperty

setContent

Content setContent(org.openrdf.model.Resource resource)
                   throws JastorException
Sets the 'content' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of 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.

Parameters:
{@link - com.hp.hpl.jena.rdf.model.Resource} must not be be null.
Returns:
Content, the newly created value
Throws:
JastorException
See Also:
contentProperty


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.