org.openanzo.atom.jastor.queso
Class EntryImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.atom.jastor.queso.EntryImpl
All Implemented Interfaces:
Entry, CoreThing, GraphThing

public class EntryImpl
extends GraphThingImpl
implements Entry

Implementation of Entry Use the org.openanzo.atom.jastor.queso.QuesoFactory to create instances of this class.

(URI: http://boca.adtech.ibm.com/schemas/queso#Entry)



Field Summary
 
Fields inherited from interface org.openanzo.atom.jastor.queso.Entry
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.
 void addExtension(java.lang.String extension)
          Add a 'extension' property value
 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.
 Collection getCollection()
          Gets the 'collection' property value
 Content getContent()
          Gets the 'content' property value
 info.aduna.collections.iterators.CloseableIterator<Person> getContributor()
          Get an Iterator the 'contributor' property values.
 java.lang.String getDescription()
          Gets the 'description' property value
 info.aduna.collections.iterators.CloseableIterator<java.lang.String> getExtension()
          Iterates through the 'extension' property values.
 info.aduna.collections.iterators.CloseableIterator<Link> getLink()
          Get an Iterator the 'link' property values.
 java.util.Date getPublished()
          Gets the 'published' property value
 java.lang.String getTitle()
          Gets the 'title' property value
 java.util.Date getUpdated()
          Gets the 'updated' 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 removeExtension(java.lang.String extension)
          Remove a 'extension' property value.
 void removeLink(Link link)
          Removes a value for the 'link' property.
 Collection setCollection()
          Sets the 'collection' property value to an anonymous node
 void setCollection(Collection collection)
          Sets the 'collection' property value
 Collection setCollection(org.openrdf.model.Resource resource)
          Sets the 'collection' property value to the given resource, and add's rdf:type properties.
 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 setDescription(java.lang.String description)
          Sets the 'description' property value
 void setPublished(java.util.Date published)
          Sets the 'published' property value
 void setTitle(java.lang.String title)
          Sets the 'title' property value
 void setUpdated(java.util.Date updated)
          Sets the 'updated' 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

getUpdated

public java.util.Date getUpdated()
                          throws JastorException
Description copied from interface: Entry
Gets the 'updated' property value

Specified by:
getUpdated in interface Entry
Returns:
Date
Throws:
JastorException
See Also:
Entry.updatedProperty

setUpdated

public void setUpdated(java.util.Date updated)
                throws JastorException
Description copied from interface: Entry
Sets the 'updated' property value

Specified by:
setUpdated in interface Entry
Throws:
JastorException
See Also:
Entry.updatedProperty

getDescription

public java.lang.String getDescription()
                                throws JastorException
Description copied from interface: Entry
Gets the 'description' property value

Specified by:
getDescription in interface Entry
Returns:
String
Throws:
JastorException
See Also:
Entry.descriptionProperty

setDescription

public void setDescription(java.lang.String description)
                    throws JastorException
Description copied from interface: Entry
Sets the 'description' property value

Specified by:
setDescription in interface Entry
Throws:
JastorException
See Also:
Entry.descriptionProperty

getTitle

public java.lang.String getTitle()
                          throws JastorException
Description copied from interface: Entry
Gets the 'title' property value

Specified by:
getTitle in interface Entry
Returns:
String
Throws:
JastorException
See Also:
Entry.titleProperty

setTitle

public void setTitle(java.lang.String title)
              throws JastorException
Description copied from interface: Entry
Sets the 'title' property value

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

getContributor

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

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

addContributor

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

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

addContributor

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

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

addContributor

public Person addContributor(org.openrdf.model.Resource resource)
                      throws JastorException
Description copied from interface: Entry
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.foaf.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 Entry
Throws:
JastorException
See Also:
Entry.contributorProperty

removeContributor

public void removeContributor(Person contributor)
                       throws JastorException
Description copied from interface: Entry
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 Entry
Throws:
JastorException
See Also:
Entry.contributorProperty

getPublished

public java.util.Date getPublished()
                            throws JastorException
Description copied from interface: Entry
Gets the 'published' property value

Specified by:
getPublished in interface Entry
Returns:
Date
Throws:
JastorException
See Also:
Entry.publishedProperty

setPublished

public void setPublished(java.util.Date published)
                  throws JastorException
Description copied from interface: Entry
Sets the 'published' property value

Specified by:
setPublished in interface Entry
Throws:
JastorException
See Also:
Entry.publishedProperty

getCollection

public Collection getCollection()
                         throws JastorException
Description copied from interface: Entry
Gets the 'collection' property value

Specified by:
getCollection in interface Entry
Returns:
Collection
Throws:
JastorException
See Also:
Entry.collectionProperty

setCollection

public void setCollection(Collection collection)
                   throws JastorException
Description copied from interface: Entry
Sets the 'collection' property value

Specified by:
setCollection in interface Entry
Throws:
JastorException
See Also:
Entry.collectionProperty

setCollection

public Collection setCollection()
                         throws JastorException
Description copied from interface: Entry
Sets the 'collection' property value to an anonymous node

Specified by:
setCollection in interface Entry
Returns:
Collection, the created value
Throws:
JastorException
See Also:
Entry.collectionProperty

setCollection

public Collection setCollection(org.openrdf.model.Resource resource)
                         throws JastorException
Description copied from interface: Entry
Sets the 'collection' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Collection with the factory. and calling setCollection(org.openanzo.atom.jastor.queso.Collection collection) The resource argument have rdf:type http://boca.adtech.ibm.com/schemas/queso#Collection. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
setCollection in interface Entry
Returns:
Collection, the newly created value
Throws:
JastorException
See Also:
Entry.collectionProperty

getExtension

public info.aduna.collections.iterators.CloseableIterator<java.lang.String> getExtension()
                                                                                  throws JastorException
Description copied from interface: Entry
Iterates through the 'extension' property values. This Iteartor may be used to remove all such values.

Specified by:
getExtension in interface Entry
Returns:
Iterator of String
Throws:
JastorException
See Also:
Entry.extensionProperty

addExtension

public void addExtension(java.lang.String extension)
                  throws JastorException
Description copied from interface: Entry
Add a 'extension' property value

Specified by:
addExtension in interface Entry
Throws:
JastorException
See Also:
Entry.extensionProperty

removeExtension

public void removeExtension(java.lang.String extension)
                     throws JastorException
Description copied from interface: Entry
Remove a 'extension' property value. 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:
removeExtension in interface Entry
Throws:
JastorException
See Also:
Entry.extensionProperty

getContent

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

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

setContent

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

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

setContent

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

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

setContent

public Content setContent(org.openrdf.model.Resource resource)
                   throws JastorException
Description copied from interface: Entry
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.queso.Content content) The resource argument have rdf:type http://boca.adtech.ibm.com/schemas/queso#Content. That is, this method should not be used as a shortcut for creating new objects in the model.

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

getLink

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

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

addLink

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

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

addLink

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

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

addLink

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

removeLink

public void removeLink(Link link)
                throws JastorException
Description copied from interface: Entry
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 Entry
Throws:
JastorException
See Also:
Entry.linkProperty

getCategory

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

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

addCategory

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

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

addCategory

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

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

addCategory

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

removeCategory

public void removeCategory(Category category)
                    throws JastorException
Description copied from interface: Entry
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 Entry
Throws:
JastorException
See Also:
Entry.categoryProperty

getAuthor

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

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

addAuthor

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

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

addAuthor

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

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

addAuthor

public Person addAuthor(org.openrdf.model.Resource resource)
                 throws JastorException
Description copied from interface: Entry
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.foaf.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 Entry
Throws:
JastorException
See Also:
Entry.authorProperty

removeAuthor

public void removeAuthor(Person author)
                  throws JastorException
Description copied from interface: Entry
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 Entry
Throws:
JastorException
See Also:
Entry.authorProperty


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