org.openanzo.atom.jastor.atomowl
Class FeedOrEntryImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.atom.jastor.atomowl.FeedOrEntryImpl
All Implemented Interfaces:
FeedOrEntry, CoreThing, GraphThing

public class FeedOrEntryImpl
extends GraphThingImpl
implements FeedOrEntry

Implementation of FeedOrEntry Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this class.

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



Field Summary
 
Fields inherited from interface org.openanzo.atom.jastor.atomowl.FeedOrEntry
TYPE
 
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
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 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 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

listStatements

public java.util.Collection<org.openrdf.model.Statement> listStatements()
Description copied from interface: CoreThing
Get set of statements that makeup this THINGS's properties and types

Specified by:
listStatements in interface CoreThing
Overrides:
listStatements in class GraphThingImpl
Returns:
set of statements that makeup this THINGS's properties and types

getRights

public TextContent getRights()
                      throws JastorException
Description copied from interface: FeedOrEntry
Gets the 'rights' property value

Specified by:
getRights in interface FeedOrEntry
Returns:
TextContent
Throws:
JastorException
See Also:
FeedOrEntry.rightsProperty

setRights

public void setRights(TextContent rights)
               throws JastorException
Description copied from interface: FeedOrEntry
Sets the 'rights' property value

Specified by:
setRights in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.rightsProperty

setRights

public TextContent setRights()
                      throws JastorException
Description copied from interface: FeedOrEntry
Sets the 'rights' property value to an anonymous node

Specified by:
setRights in interface FeedOrEntry
Returns:
TextContent, the created value
Throws:
JastorException
See Also:
FeedOrEntry.rightsProperty

setRights

public TextContent setRights(org.openrdf.model.Resource resource)
                      throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
setRights in interface FeedOrEntry
Returns:
TextContent, the newly created value
Throws:
JastorException
See Also:
FeedOrEntry.rightsProperty

getAuthor

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

Specified by:
getAuthor in interface FeedOrEntry
Returns:
Iterator of Person
Throws:
JastorException
See Also:
FeedOrEntry.authorProperty

addAuthor

public void addAuthor(Person author)
               throws JastorException
Description copied from interface: FeedOrEntry
Adds a value for the 'author' property

Specified by:
addAuthor in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.authorProperty

addAuthor

public Person addAuthor()
                 throws JastorException
Description copied from interface: FeedOrEntry
Adds an anonymous value for the 'author' property

Specified by:
addAuthor in interface FeedOrEntry
Returns:
The anoymous Person created
Throws:
JastorException
See Also:
FeedOrEntry.authorProperty

addAuthor

public Person addAuthor(org.openrdf.model.Resource resource)
                 throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
addAuthor in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.authorProperty

removeAuthor

public void removeAuthor(Person author)
                  throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
removeAuthor in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.authorProperty

getLink

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

Specified by:
getLink in interface FeedOrEntry
Returns:
Iterator of Link
Throws:
JastorException
See Also:
FeedOrEntry.linkProperty

addLink

public void addLink(Link link)
             throws JastorException
Description copied from interface: FeedOrEntry
Adds a value for the 'link' property

Specified by:
addLink in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.linkProperty

addLink

public Link addLink()
             throws JastorException
Description copied from interface: FeedOrEntry
Adds an anonymous value for the 'link' property

Specified by:
addLink in interface FeedOrEntry
Returns:
The anoymous Link created
Throws:
JastorException
See Also:
FeedOrEntry.linkProperty

addLink

public Link addLink(org.openrdf.model.Resource resource)
             throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
addLink in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.linkProperty

removeLink

public void removeLink(Link link)
                throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
removeLink in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.linkProperty

getContributor

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

Specified by:
getContributor in interface FeedOrEntry
Returns:
Iterator of Person
Throws:
JastorException
See Also:
FeedOrEntry.contributorProperty

addContributor

public void addContributor(Person contributor)
                    throws JastorException
Description copied from interface: FeedOrEntry
Adds a value for the 'contributor' property

Specified by:
addContributor in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.contributorProperty

addContributor

public Person addContributor()
                      throws JastorException
Description copied from interface: FeedOrEntry
Adds an anonymous value for the 'contributor' property

Specified by:
addContributor in interface FeedOrEntry
Returns:
The anoymous Person created
Throws:
JastorException
See Also:
FeedOrEntry.contributorProperty

addContributor

public Person addContributor(org.openrdf.model.Resource resource)
                      throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
addContributor in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.contributorProperty

removeContributor

public void removeContributor(Person contributor)
                       throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
removeContributor in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.contributorProperty

getCategory

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

Specified by:
getCategory in interface FeedOrEntry
Returns:
Iterator of Category
Throws:
JastorException
See Also:
FeedOrEntry.categoryProperty

addCategory

public void addCategory(Category category)
                 throws JastorException
Description copied from interface: FeedOrEntry
Adds a value for the 'category' property

Specified by:
addCategory in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.categoryProperty

addCategory

public Category addCategory()
                     throws JastorException
Description copied from interface: FeedOrEntry
Adds an anonymous value for the 'category' property

Specified by:
addCategory in interface FeedOrEntry
Returns:
The anoymous Category created
Throws:
JastorException
See Also:
FeedOrEntry.categoryProperty

addCategory

public Category addCategory(org.openrdf.model.Resource resource)
                     throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
addCategory in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.categoryProperty

removeCategory

public void removeCategory(Category category)
                    throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
removeCategory in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.categoryProperty

getTitle

public TextContent getTitle()
                     throws JastorException
Description copied from interface: FeedOrEntry
Gets the 'title' property value

Specified by:
getTitle in interface FeedOrEntry
Returns:
TextContent
Throws:
JastorException
See Also:
FeedOrEntry.titleProperty

setTitle

public void setTitle(TextContent title)
              throws JastorException
Description copied from interface: FeedOrEntry
Sets the 'title' property value

Specified by:
setTitle in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.titleProperty

setTitle

public TextContent setTitle()
                     throws JastorException
Description copied from interface: FeedOrEntry
Sets the 'title' property value to an anonymous node

Specified by:
setTitle in interface FeedOrEntry
Returns:
TextContent, the created value
Throws:
JastorException
See Also:
FeedOrEntry.titleProperty

setTitle

public TextContent setTitle(org.openrdf.model.Resource resource)
                     throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
setTitle in interface FeedOrEntry
Returns:
TextContent, the newly created value
Throws:
JastorException
See Also:
FeedOrEntry.titleProperty

getEmail

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

Specified by:
getEmail in interface FeedOrEntry
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
FeedOrEntry.emailProperty

addEmail

public void addEmail(GraphThing email)
              throws JastorException
Description copied from interface: FeedOrEntry
Adds a value for the 'email' property

Specified by:
addEmail in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.emailProperty

addEmail

public GraphThing addEmail()
                    throws JastorException
Description copied from interface: FeedOrEntry
Adds an anonymous value for the 'email' property

Specified by:
addEmail in interface FeedOrEntry
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
FeedOrEntry.emailProperty

addEmail

public GraphThing addEmail(org.openrdf.model.Resource resource)
                    throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
addEmail in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.emailProperty

removeEmail

public void removeEmail(GraphThing email)
                 throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
removeEmail in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.emailProperty

getContent

public Content getContent()
                   throws JastorException
Description copied from interface: FeedOrEntry
Gets the 'content' property value

Specified by:
getContent in interface FeedOrEntry
Returns:
Content
Throws:
JastorException
See Also:
FeedOrEntry.contentProperty

setContent

public void setContent(Content content)
                throws JastorException
Description copied from interface: FeedOrEntry
Sets the 'content' property value

Specified by:
setContent in interface FeedOrEntry
Throws:
JastorException
See Also:
FeedOrEntry.contentProperty

setContent

public Content setContent()
                   throws JastorException
Description copied from interface: FeedOrEntry
Sets the 'content' property value to an anonymous node

Specified by:
setContent in interface FeedOrEntry
Returns:
Content, the created value
Throws:
JastorException
See Also:
FeedOrEntry.contentProperty

setContent

public Content setContent(org.openrdf.model.Resource resource)
                   throws JastorException
Description copied from interface: FeedOrEntry
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.

Specified by:
setContent in interface FeedOrEntry
Returns:
Content, the newly created value
Throws:
JastorException
See Also:
FeedOrEntry.contentProperty


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