org.openanzo.atom.jastor.atomowl
Interface Link

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

public interface Link
extends GraphThing

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


RDF Schema Standard Properties
label : Link Class@en
comment : see 4.2.7 of rfc 4287 spec. Note that the href, hreflang and lengtlength attributes of rfc 4287 have been moved to the content class and a content relation from the Link to a Content class has been made. The href is translated onto the :src relation of the Content class@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 relProperty
          The Jena Property for rel
static org.openrdf.model.URI titleProperty
          The Jena Property for title
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 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.
 RelationType addRel()
          Adds an anonymous value for the 'rel' property
 void addRel(RelationType rel)
          Adds a value for the 'rel' property
 RelationType addRel(org.openrdf.model.Resource resource)
          Adds a value for the 'rel' property.
 Content getContent()
          Gets the 'content' property value
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
          Get an Iterator the 'email' property values.
 info.aduna.collections.iterators.CloseableIterator<RelationType> getRel()
          Get an Iterator the 'rel' property values.
 TextContent getTitle()
          Gets the 'title' property value
 void removeEmail(GraphThing email)
          Removes a value for the 'email' property.
 void removeRel(RelationType rel)
          Removes a value for the 'rel' 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 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 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


relProperty

static final org.openrdf.model.URI relProperty
The Jena Property for rel

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



RDF Schema Standard Properties
label : relation type@en
comment : see 4.2.7.2 of rfc 4287. The relationship type. The relationship type is a property that relates a :Version to a :Content @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


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


titleProperty

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

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



RDF Schema Standard Properties
label : title@en
comment : See 4.2.14. Title of a container@en

Method Detail

getRel

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

Returns:
Iterator of RelationType
Throws:
JastorException
See Also:
relProperty

addRel

void addRel(RelationType rel)
            throws JastorException
Adds a value for the 'rel' property

Parameters:
The - RelationType to add
Throws:
JastorException
See Also:
relProperty

addRel

RelationType addRel()
                    throws JastorException
Adds an anonymous value for the 'rel' property

Returns:
The anoymous RelationType created
Throws:
JastorException
See Also:
relProperty

addRel

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

removeRel

void removeRel(RelationType rel)
               throws JastorException
Removes a value for the 'rel' 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 - RelationType to remove
Throws:
JastorException
See Also:
relProperty

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

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

getTitle

TextContent getTitle()
                     throws JastorException
Gets the 'title' property value

Returns:
TextContent
Throws:
JastorException
See Also:
titleProperty

setTitle

void setTitle(TextContent title)
              throws JastorException
Sets the 'title' property value

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

setTitle

TextContent setTitle()
                     throws JastorException
Sets the 'title' property value to an anonymous node

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

setTitle

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

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


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