org.openanzo.atom.jastor.atomowl
Interface Category

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

public interface Category
extends GraphThing

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


RDF Schema Standard Properties
label : Category Class
comment : see 4.2.2 of rfc 4287. A Category Type@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 labelProperty
          The Jena Property for label
static org.openrdf.model.URI schemeProperty
          The Jena Property for scheme
static org.openrdf.model.URI termProperty
          The Jena Property for term
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.
 Content getContent()
          Gets the 'content' property value
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
          Get an Iterator the 'email' property values.
 java.lang.String getLabel()
          Gets the 'label' property value
 InformationResource getScheme()
          Gets the 'scheme' property value
 java.lang.String getTerm()
          Gets the 'term' property value
 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 setLabel(java.lang.String label)
          Sets the 'label' property value
 InformationResource setScheme()
          Sets the 'scheme' property value to an anonymous node
 void setScheme(InformationResource scheme)
          Sets the 'scheme' property value
 InformationResource setScheme(org.openrdf.model.Resource resource)
          Sets the 'scheme' property value to the given resource, and add's rdf:type properties.
 void setTerm(java.lang.String term)
          Sets the 'term' 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


termProperty

static final org.openrdf.model.URI termProperty
The Jena Property for term

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



RDF Schema Standard Properties
label : term@en
comment : see 4.2.2.1 of rfc 4287. Identifies the category@en


schemeProperty

static final org.openrdf.model.URI schemeProperty
The Jena Property for scheme

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



RDF Schema Standard Properties
label : catgegorization scheme@en
comment : see 4.2.2.2 of rfc 4287. Identifies a categorization scheme.@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


labelProperty

static final org.openrdf.model.URI labelProperty
The Jena Property for label

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



RDF Schema Standard Properties
label : label@en
comment : see 4.2.2.3 of rfc 4287. A Human readable label for display.@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

Method Detail

getTerm

java.lang.String getTerm()
                         throws JastorException
Gets the 'term' property value

Returns:
String
Throws:
JastorException
See Also:
termProperty

setTerm

void setTerm(java.lang.String term)
             throws JastorException
Sets the 'term' property value

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

getScheme

InformationResource getScheme()
                              throws JastorException
Gets the 'scheme' property value

Returns:
InformationResource
Throws:
JastorException
See Also:
schemeProperty

setScheme

void setScheme(InformationResource scheme)
               throws JastorException
Sets the 'scheme' property value

Parameters:
{@link - org.openanzo.atom.jastor.webarch.InformationResource}
Throws:
JastorException
See Also:
schemeProperty

setScheme

InformationResource setScheme()
                              throws JastorException
Sets the 'scheme' property value to an anonymous node

Returns:
InformationResource, the created value
Throws:
JastorException
See Also:
schemeProperty

setScheme

InformationResource setScheme(org.openrdf.model.Resource resource)
                              throws JastorException
Sets the 'scheme' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of InformationResource with the factory. and calling setScheme(org.openanzo.atom.jastor.webarch.InformationResource scheme) The resource argument have rdf:type http://sw.nokia.com/WebArch-1/InformationResource. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
{@link - org.openrdf.model.Resource} must not be be null.
Returns:
InformationResource, the newly created value
Throws:
JastorException
See Also:
schemeProperty

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 - org.openrdf.model.Resource} must not be be null.
Returns:
Content, the newly created value
Throws:
JastorException
See Also:
contentProperty

getLabel

java.lang.String getLabel()
                          throws JastorException
Gets the 'label' property value

Returns:
String
Throws:
JastorException
See Also:
labelProperty

setLabel

void setLabel(java.lang.String label)
              throws JastorException
Sets the 'label' property value

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

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


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