org.openanzo.atom.jastor.atomowl
Interface Entry

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

public interface Entry
extends Version, FeedOrEntry, GraphThing

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


RDF Schema Standard Properties
label : Entry Class@en
comment : see 4.1.2 of the rfc 4287 spec@en



Field Summary
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 publishedProperty
          The Jena Property for published
static org.openrdf.model.URI sourceProperty
          The Jena Property for source
static org.openrdf.model.URI summaryProperty
          The Jena Property for summary
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Fields inherited from interface org.openanzo.atom.jastor.atomowl.Version
alternateProperty, idProperty, updatedProperty
 
Fields inherited from interface org.openanzo.atom.jastor.atomowl.FeedOrEntry
authorProperty, categoryProperty, contributorProperty, linkProperty, rightsProperty, titleProperty
 
Method Summary
 Feed addSource()
          Adds an anonymous value for the 'source' property
 void addSource(Feed source)
          Adds a value for the 'source' property
 Feed addSource(org.openrdf.model.Resource resource)
          Adds a value for the 'source' property.
 java.util.Date getPublished()
          Gets the 'published' property value
 info.aduna.collections.iterators.CloseableIterator<Feed> getSource()
          Get an Iterator the 'source' property values.
 TextContent getSummary()
          Gets the 'summary' property value
 void removeSource(Feed source)
          Removes a value for the 'source' property.
 void setPublished(java.util.Date published)
          Sets the 'published' property value
 TextContent setSummary()
          Sets the 'summary' property value to an anonymous node
 TextContent setSummary(org.openrdf.model.Resource resource)
          Sets the 'summary' property value to the given resource, and add's rdf:type properties.
 void setSummary(TextContent summary)
          Sets the 'summary' property value
 
Methods inherited from interface org.openanzo.atom.jastor.atomowl.Version
addAlternate, addAlternate, addAlternate, addEmail, addEmail, addEmail, getAlternate, getContent, getEmail, getId, getUpdated, removeAlternate, removeEmail, setContent, setContent, setContent, setId, setUpdated
 
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
 
Methods inherited from interface org.openanzo.atom.jastor.atomowl.FeedOrEntry
addAuthor, addAuthor, addAuthor, addCategory, addCategory, addCategory, addContributor, addContributor, addContributor, addEmail, addEmail, addEmail, addLink, addLink, addLink, getAuthor, getCategory, getContent, getContributor, getEmail, getLink, getRights, getTitle, removeAuthor, removeCategory, removeContributor, removeEmail, removeLink, setContent, setContent, setContent, setRights, setRights, setRights, setTitle, setTitle, setTitle
 
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


summaryProperty

static final org.openrdf.model.URI summaryProperty
The Jena Property for summary

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



RDF Schema Standard Properties
label : summary@en
comment : See 4.2.13 of rfc 4287 spec. A summary of the content of the Entry@en


publishedProperty

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

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



RDF Schema Standard Properties
label : publication date@en
comment : See 4.2.9 of rfc 4287 spec. A date associated with an event early in the lifecyle of the subject.@en


sourceProperty

static final org.openrdf.model.URI sourceProperty
The Jena Property for source

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



RDF Schema Standard Properties
label : source feed@en
comment : See 4.2.11 of rfc 4287 spec. The source feed where the entry was found@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

getSummary

TextContent getSummary()
                       throws JastorException
Gets the 'summary' property value

Returns:
TextContent
Throws:
JastorException
See Also:
summaryProperty

setSummary

void setSummary(TextContent summary)
                throws JastorException
Sets the 'summary' property value

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

setSummary

TextContent setSummary()
                       throws JastorException
Sets the 'summary' property value to an anonymous node

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

setSummary

TextContent setSummary(org.openrdf.model.Resource resource)
                       throws JastorException
Sets the 'summary' 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 setSummary(org.openanzo.atom.jastor.atomowl.TextContent summary) 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:
summaryProperty

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

getSource

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

Returns:
Iterator of Feed
Throws:
JastorException
See Also:
sourceProperty

addSource

void addSource(Feed source)
               throws JastorException
Adds a value for the 'source' property

Parameters:
The - Feed to add
Throws:
JastorException
See Also:
sourceProperty

addSource

Feed addSource()
               throws JastorException
Adds an anonymous value for the 'source' property

Returns:
The anoymous Feed created
Throws:
JastorException
See Also:
sourceProperty

addSource

Feed addSource(org.openrdf.model.Resource resource)
               throws JastorException
Adds a value for the 'source' property. This method is equivalent constructing a new instance of Feed with the factory and calling addSource(org.openanzo.atom.jastor.atomowl.Feed source) The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#Feed. 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:
sourceProperty

removeSource

void removeSource(Feed source)
                  throws JastorException
Removes a value for the 'source' 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 - Feed to remove
Throws:
JastorException
See Also:
sourceProperty


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