org.openanzo.atom.jastor.atomowl
Class CategoryImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.atom.jastor.atomowl.CategoryImpl
All Implemented Interfaces:
Category, CoreThing, GraphThing

public class CategoryImpl
extends GraphThingImpl
implements Category

Implementation of Category Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this class.

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



Field Summary
 
Fields inherited from interface org.openanzo.atom.jastor.atomowl.Category
TYPE
 
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
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 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 class org.openanzo.jastor.GraphThingImpl
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, registerListener, removeStatements, resource, setPropertyValue, setPropertyValue, toString, unregisterListener, uri
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openanzo.jastor.GraphThing
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue
 
Methods inherited from interface org.openanzo.jastor.CoreThing
clearCache, isRDFType, registerListener, removeStatements, resource, unregisterListener, uri
 

Method Detail

listStatements

public java.util.Collection<org.openrdf.model.Statement> listStatements()
Description copied from interface: CoreThing
Get set of statements that makeup this THINGS's properties and types

Specified by:
listStatements in interface CoreThing
Overrides:
listStatements in class GraphThingImpl
Returns:
set of statements that makeup this THINGS's properties and types

getTerm

public java.lang.String getTerm()
                         throws JastorException
Description copied from interface: Category
Gets the 'term' property value

Specified by:
getTerm in interface Category
Returns:
String
Throws:
JastorException
See Also:
Category.termProperty

setTerm

public void setTerm(java.lang.String term)
             throws JastorException
Description copied from interface: Category
Sets the 'term' property value

Specified by:
setTerm in interface Category
Throws:
JastorException
See Also:
Category.termProperty

getScheme

public InformationResource getScheme()
                              throws JastorException
Description copied from interface: Category
Gets the 'scheme' property value

Specified by:
getScheme in interface Category
Returns:
InformationResource
Throws:
JastorException
See Also:
Category.schemeProperty

setScheme

public void setScheme(InformationResource scheme)
               throws JastorException
Description copied from interface: Category
Sets the 'scheme' property value

Specified by:
setScheme in interface Category
Throws:
JastorException
See Also:
Category.schemeProperty

setScheme

public InformationResource setScheme()
                              throws JastorException
Description copied from interface: Category
Sets the 'scheme' property value to an anonymous node

Specified by:
setScheme in interface Category
Returns:
InformationResource, the created value
Throws:
JastorException
See Also:
Category.schemeProperty

setScheme

public InformationResource setScheme(org.openrdf.model.Resource resource)
                              throws JastorException
Description copied from interface: Category
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.

Specified by:
setScheme in interface Category
Returns:
InformationResource, the newly created value
Throws:
JastorException
See Also:
Category.schemeProperty

getContent

public Content getContent()
                   throws JastorException
Description copied from interface: Category
Gets the 'content' property value

Specified by:
getContent in interface Category
Returns:
Content
Throws:
JastorException
See Also:
Category.contentProperty

setContent

public void setContent(Content content)
                throws JastorException
Description copied from interface: Category
Sets the 'content' property value

Specified by:
setContent in interface Category
Throws:
JastorException
See Also:
Category.contentProperty

setContent

public Content setContent()
                   throws JastorException
Description copied from interface: Category
Sets the 'content' property value to an anonymous node

Specified by:
setContent in interface Category
Returns:
Content, the created value
Throws:
JastorException
See Also:
Category.contentProperty

setContent

public Content setContent(org.openrdf.model.Resource resource)
                   throws JastorException
Description copied from interface: Category
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.

Specified by:
setContent in interface Category
Returns:
Content, the newly created value
Throws:
JastorException
See Also:
Category.contentProperty

getLabel

public java.lang.String getLabel()
                          throws JastorException
Description copied from interface: Category
Gets the 'label' property value

Specified by:
getLabel in interface Category
Returns:
String
Throws:
JastorException
See Also:
Category.labelProperty

setLabel

public void setLabel(java.lang.String label)
              throws JastorException
Description copied from interface: Category
Sets the 'label' property value

Specified by:
setLabel in interface Category
Throws:
JastorException
See Also:
Category.labelProperty

getEmail

public info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
                                                                        throws JastorException
Description copied from interface: Category
Get an Iterator the 'email' property values. This Iteartor may be used to remove all such values.

Specified by:
getEmail in interface Category
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
Category.emailProperty

addEmail

public void addEmail(GraphThing email)
              throws JastorException
Description copied from interface: Category
Adds a value for the 'email' property

Specified by:
addEmail in interface Category
Throws:
JastorException
See Also:
Category.emailProperty

addEmail

public GraphThing addEmail()
                    throws JastorException
Description copied from interface: Category
Adds an anonymous value for the 'email' property

Specified by:
addEmail in interface Category
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
Category.emailProperty

addEmail

public GraphThing addEmail(org.openrdf.model.Resource resource)
                    throws JastorException
Description copied from interface: Category
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.

Specified by:
addEmail in interface Category
Throws:
JastorException
See Also:
Category.emailProperty

removeEmail

public void removeEmail(GraphThing email)
                 throws JastorException
Description copied from interface: Category
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.

Specified by:
removeEmail in interface Category
Throws:
JastorException
See Also:
Category.emailProperty


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