org.openanzo.atom.jastor.queso
Interface Entry

All Superinterfaces:
CoreThing, GraphThing
All Known Implementing Classes:
EntryImpl

public interface Entry
extends GraphThing

Interface for Entry ontology class
Use the org.openanzo.atom.jastor.queso.QuesoFactory to create instances of this interface.

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





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 collectionProperty
          The Jena Property for collection
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 descriptionProperty
          The Jena Property for description
static org.openrdf.model.URI extensionProperty
          The Jena Property for extension
static org.openrdf.model.URI linkProperty
          The Jena Property for link
static org.openrdf.model.URI publishedProperty
          The Jena Property for published
static org.openrdf.model.URI titleProperty
          The Jena Property for title
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
static org.openrdf.model.URI updatedProperty
          The Jena Property for updated
 
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
 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 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


updatedProperty

static final org.openrdf.model.URI updatedProperty
The Jena Property for updated

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



descriptionProperty

static final org.openrdf.model.URI descriptionProperty
The Jena Property for description

(URI: http://purl.org/dc/elements/1.1/description)



titleProperty

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

(URI: http://purl.org/dc/elements/1.1/title)



contributorProperty

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

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



publishedProperty

static final org.openrdf.model.URI publishedProperty
The Jena Property for published

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



collectionProperty

static final org.openrdf.model.URI collectionProperty
The Jena Property for collection

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



extensionProperty

static final org.openrdf.model.URI extensionProperty
The Jena Property for extension

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



contentProperty

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

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



linkProperty

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

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



categoryProperty

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

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



authorProperty

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

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


Method Detail

getUpdated

java.util.Date getUpdated()
                          throws JastorException
Gets the 'updated' property value

Returns:
Date
Throws:
JastorException
See Also:
updatedProperty

setUpdated

void setUpdated(java.util.Date updated)
                throws JastorException
Sets the 'updated' property value

Parameters:
{@link - java.util.Date}
Throws:
JastorException
See Also:
updatedProperty

getDescription

java.lang.String getDescription()
                                throws JastorException
Gets the 'description' property value

Returns:
String
Throws:
JastorException
See Also:
descriptionProperty

setDescription

void setDescription(java.lang.String description)
                    throws JastorException
Sets the 'description' property value

Parameters:
{@link - java.lang.String}
Throws:
JastorException
See Also:
descriptionProperty

getTitle

java.lang.String getTitle()
                          throws JastorException
Gets the 'title' property value

Returns:
String
Throws:
JastorException
See Also:
titleProperty

setTitle

void setTitle(java.lang.String title)
              throws JastorException
Sets the 'title' property value

Parameters:
{@link - java.lang.String}
Throws:
JastorException
See Also:
titleProperty

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.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.

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

getPublished

java.util.Date getPublished()
                            throws JastorException
Gets the 'published' property value

Returns:
Date
Throws:
JastorException
See Also:
publishedProperty

setPublished

void setPublished(java.util.Date published)
                  throws JastorException
Sets the 'published' property value

Parameters:
{@link - java.util.Date}
Throws:
JastorException
See Also:
publishedProperty

getCollection

Collection getCollection()
                         throws JastorException
Gets the 'collection' property value

Returns:
Collection
Throws:
JastorException
See Also:
collectionProperty

setCollection

void setCollection(Collection collection)
                   throws JastorException
Sets the 'collection' property value

Parameters:
{@link - org.openanzo.atom.jastor.queso.Collection}
Throws:
JastorException
See Also:
collectionProperty

setCollection

Collection setCollection()
                         throws JastorException
Sets the 'collection' property value to an anonymous node

Returns:
Collection, the created value
Throws:
JastorException
See Also:
collectionProperty

setCollection

Collection setCollection(org.openrdf.model.Resource resource)
                         throws JastorException
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.

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

getExtension

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

Returns:
Iterator of String
Throws:
JastorException
See Also:
extensionProperty

addExtension

void addExtension(java.lang.String extension)
                  throws JastorException
Add a 'extension' property value

Parameters:
{@link - java.lang.String}, the value to add
Throws:
JastorException
See Also:
extensionProperty

removeExtension

void removeExtension(java.lang.String extension)
                     throws JastorException
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.

Parameters:
{@link - java.lang.String}, the value to remove
Throws:
JastorException
See Also:
extensionProperty

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.queso.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.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.

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

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

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

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.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.

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


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