org.openanzo.atom.jastor.atomowl
Interface Version

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

public interface Version
extends GraphThing

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


RDF Schema Standard Properties
label : Version Class@en
comment : Metadata about the state of a resource with given :id at an :updated time.@en



Field Summary
static org.openrdf.model.URI alternateProperty
          The Jena Property for alternate
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 idProperty
          The Jena Property for id
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
 GraphThing addAlternate()
          Adds an anonymous value for the 'alternate' property
 void addAlternate(GraphThing alternate)
          Adds a value for the 'alternate' property
 GraphThing addAlternate(org.openrdf.model.Resource resource)
          Adds a value for the 'alternate' 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.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getAlternate()
          Get an Iterator the 'alternate' property values.
 Content getContent()
          Gets the 'content' property value
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
          Get an Iterator the 'email' property values.
 java.lang.String getId()
          Gets the 'id' property value
 java.util.Date getUpdated()
          Gets the 'updated' property value
 void removeAlternate(GraphThing alternate)
          Removes a value for the 'alternate' property.
 void removeEmail(GraphThing email)
          Removes a value for the 'email' 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.
 void setId(java.lang.String id)
          Sets the 'id' 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://bblfish.net/work/atom-owl/2006-06-06/#updated)



RDF Schema Standard Properties
label : updated@en
comment : See 4.2.15 of rfc 4287 spec. Indicates the most recent instant in time when a resource with the given id was modified in a way the publisher considers significant. Therefore, not all modifications necessarily result in a changed atom:updated value.@en


alternateProperty

static final org.openrdf.model.URI alternateProperty
The Jena Property for alternate

(URI: http://www.iana.org/assignments/relation/alternate)



RDF Schema Standard Properties
label : alternate relation@en
comment : see 4.2.7.2.1 of rfc 4287. The object points to an alternate version of the subject@en


idProperty

static final org.openrdf.model.URI idProperty
The Jena Property for id

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



RDF Schema Standard Properties
label : id@en
comment : See 4.2.6 rfc 4287 spec. All Versions with the same id can be considered to be versions of the resource identified by the id. The id mentions the resource of which it is a representation. @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

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

getAlternate

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

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

addAlternate

void addAlternate(GraphThing alternate)
                  throws JastorException
Adds a value for the 'alternate' property

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

addAlternate

GraphThing addAlternate()
                        throws JastorException
Adds an anonymous value for the 'alternate' property

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

addAlternate

GraphThing addAlternate(org.openrdf.model.Resource resource)
                        throws JastorException
Adds a value for the 'alternate' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addAlternate(org.openanzo.jastor.GraphThing alternate) 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:
alternateProperty

removeAlternate

void removeAlternate(GraphThing alternate)
                     throws JastorException
Removes a value for the 'alternate' 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:
alternateProperty

getId

java.lang.String getId()
                       throws JastorException
Gets the 'id' property value

Returns:
String
Throws:
JastorException
See Also:
idProperty

setId

void setId(java.lang.String id)
           throws JastorException
Sets the 'id' property value

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

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.