org.openanzo.atom.jastor.rdfs
Class DatatypeImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.atom.jastor.rdfs.DatatypeImpl
All Implemented Interfaces:
Class, Datatype, CoreThing, GraphThing

public class DatatypeImpl
extends GraphThingImpl
implements Datatype

Implementation of Datatype Use the org.openanzo.atom.jastor.rdfs.Factory to create instances of this class.

(URI: http://www.w3.org/2000/01/rdf-schema#Datatype)



Field Summary
 
Fields inherited from interface org.openanzo.atom.jastor.rdfs.Datatype
TYPE
 
Method Summary
 void addComment(org.openrdf.model.Literal comment)
          Add a 'comment' property value
 GraphThing addIsDefinedBy()
          Adds an anonymous value for the 'isDefinedBy' property
 void addIsDefinedBy(GraphThing isDefinedBy)
          Adds a value for the 'isDefinedBy' property
 GraphThing addIsDefinedBy(org.openrdf.model.Resource resource)
          Adds a value for the 'isDefinedBy' property.
 void addLabel(org.openrdf.model.Literal label)
          Add a 'label' property value
 GraphThing addMember()
          Adds an anonymous value for the 'member' property
 void addMember(GraphThing member)
          Adds a value for the 'member' property
 GraphThing addMember(org.openrdf.model.Resource resource)
          Adds a value for the 'member' property.
 GraphThing addSeeAlso()
          Adds an anonymous value for the 'seeAlso' property
 void addSeeAlso(GraphThing seeAlso)
          Adds a value for the 'seeAlso' property
 GraphThing addSeeAlso(org.openrdf.model.Resource resource)
          Adds a value for the 'seeAlso' property.
 Class addType()
          Adds an anonymous value for the 'type' property
 void addType(Class type)
          Adds a value for the 'type' property
 Class addType(org.openrdf.model.Resource resource)
          Adds a value for the 'type' property.
 GraphThing addValue()
          Adds an anonymous value for the 'value' property
 void addValue(GraphThing value)
          Adds a value for the 'value' property
 GraphThing addValue(org.openrdf.model.Resource resource)
          Adds a value for the 'value' property.
 info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getComment()
          Iterates through the 'comment' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getIsDefinedBy()
          Get an Iterator the 'isDefinedBy' property values.
 info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getLabel()
          Iterates through the 'label' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getMember()
          Get an Iterator the 'member' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getSeeAlso()
          Get an Iterator the 'seeAlso' property values.
 info.aduna.collections.iterators.CloseableIterator<Class> getType()
          Get an Iterator the 'type' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getValue()
          Get an Iterator the 'value' property values.
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 void removeComment(org.openrdf.model.Literal comment)
          Remove a 'comment' property value.
 void removeIsDefinedBy(GraphThing isDefinedBy)
          Removes a value for the 'isDefinedBy' property.
 void removeLabel(org.openrdf.model.Literal label)
          Remove a 'label' property value.
 void removeMember(GraphThing member)
          Removes a value for the 'member' property.
 void removeSeeAlso(GraphThing seeAlso)
          Removes a value for the 'seeAlso' property.
 void removeType(Class type)
          Removes a value for the 'type' property.
 void removeValue(GraphThing value)
          Removes a value for the 'value' property.
 
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

getValue

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

Specified by:
getValue in interface Class
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
Class.valueProperty

addValue

public void addValue(GraphThing value)
              throws JastorException
Description copied from interface: Class
Adds a value for the 'value' property

Specified by:
addValue in interface Class
Throws:
JastorException
See Also:
Class.valueProperty

addValue

public GraphThing addValue()
                    throws JastorException
Description copied from interface: Class
Adds an anonymous value for the 'value' property

Specified by:
addValue in interface Class
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
Class.valueProperty

addValue

public GraphThing addValue(org.openrdf.model.Resource resource)
                    throws JastorException
Description copied from interface: Class
Adds a value for the 'value' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addValue(org.openanzo.jastor.GraphThing value) 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:
addValue in interface Class
Throws:
JastorException
See Also:
Class.valueProperty

removeValue

public void removeValue(GraphThing value)
                 throws JastorException
Description copied from interface: Class
Removes a value for the 'value' 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:
removeValue in interface Class
Throws:
JastorException
See Also:
Class.valueProperty

getComment

public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getComment()
                                                                                         throws JastorException
Description copied from interface: Class
Iterates through the 'comment' property values. This Iteartor may be used to remove all such values.

Specified by:
getComment in interface Class
Returns:
Iterator of Literal
Throws:
JastorException
See Also:
Class.commentProperty

addComment

public void addComment(org.openrdf.model.Literal comment)
                throws JastorException
Description copied from interface: Class
Add a 'comment' property value

Specified by:
addComment in interface Class
Throws:
JastorException
See Also:
Class.commentProperty

removeComment

public void removeComment(org.openrdf.model.Literal comment)
                   throws JastorException
Description copied from interface: Class
Remove a 'comment' property value. 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:
removeComment in interface Class
Throws:
JastorException
See Also:
Class.commentProperty

getLabel

public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getLabel()
                                                                                       throws JastorException
Description copied from interface: Class
Iterates through the 'label' property values. This Iteartor may be used to remove all such values.

Specified by:
getLabel in interface Class
Returns:
Iterator of Literal
Throws:
JastorException
See Also:
Class.labelProperty

addLabel

public void addLabel(org.openrdf.model.Literal label)
              throws JastorException
Description copied from interface: Class
Add a 'label' property value

Specified by:
addLabel in interface Class
Throws:
JastorException
See Also:
Class.labelProperty

removeLabel

public void removeLabel(org.openrdf.model.Literal label)
                 throws JastorException
Description copied from interface: Class
Remove a 'label' property value. 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:
removeLabel in interface Class
Throws:
JastorException
See Also:
Class.labelProperty

getIsDefinedBy

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

Specified by:
getIsDefinedBy in interface Class
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
Class.isDefinedByProperty

addIsDefinedBy

public void addIsDefinedBy(GraphThing isDefinedBy)
                    throws JastorException
Description copied from interface: Class
Adds a value for the 'isDefinedBy' property

Specified by:
addIsDefinedBy in interface Class
Throws:
JastorException
See Also:
Class.isDefinedByProperty

addIsDefinedBy

public GraphThing addIsDefinedBy()
                          throws JastorException
Description copied from interface: Class
Adds an anonymous value for the 'isDefinedBy' property

Specified by:
addIsDefinedBy in interface Class
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
Class.isDefinedByProperty

addIsDefinedBy

public GraphThing addIsDefinedBy(org.openrdf.model.Resource resource)
                          throws JastorException
Description copied from interface: Class
Adds a value for the 'isDefinedBy' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addIsDefinedBy(org.openanzo.jastor.GraphThing isDefinedBy) 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:
addIsDefinedBy in interface Class
Throws:
JastorException
See Also:
Class.isDefinedByProperty

removeIsDefinedBy

public void removeIsDefinedBy(GraphThing isDefinedBy)
                       throws JastorException
Description copied from interface: Class
Removes a value for the 'isDefinedBy' 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:
removeIsDefinedBy in interface Class
Throws:
JastorException
See Also:
Class.isDefinedByProperty

getMember

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

Specified by:
getMember in interface Class
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
Class.memberProperty

addMember

public void addMember(GraphThing member)
               throws JastorException
Description copied from interface: Class
Adds a value for the 'member' property

Specified by:
addMember in interface Class
Throws:
JastorException
See Also:
Class.memberProperty

addMember

public GraphThing addMember()
                     throws JastorException
Description copied from interface: Class
Adds an anonymous value for the 'member' property

Specified by:
addMember in interface Class
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
Class.memberProperty

addMember

public GraphThing addMember(org.openrdf.model.Resource resource)
                     throws JastorException
Description copied from interface: Class
Adds a value for the 'member' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addMember(org.openanzo.jastor.GraphThing member) 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:
addMember in interface Class
Throws:
JastorException
See Also:
Class.memberProperty

removeMember

public void removeMember(GraphThing member)
                  throws JastorException
Description copied from interface: Class
Removes a value for the 'member' 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:
removeMember in interface Class
Throws:
JastorException
See Also:
Class.memberProperty

getType

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

Specified by:
getType in interface Class
Returns:
Iterator of Class
Throws:
JastorException
See Also:
Class.typeProperty

addType

public void addType(Class type)
             throws JastorException
Description copied from interface: Class
Adds a value for the 'type' property

Specified by:
addType in interface Class
Throws:
JastorException
See Also:
Class.typeProperty

addType

public Class addType()
              throws JastorException
Description copied from interface: Class
Adds an anonymous value for the 'type' property

Specified by:
addType in interface Class
Returns:
The anoymous Class created
Throws:
JastorException
See Also:
Class.typeProperty

addType

public Class addType(org.openrdf.model.Resource resource)
              throws JastorException
Description copied from interface: Class
Adds a value for the 'type' property. This method is equivalent constructing a new instance of Class with the factory and calling addType(org.openanzo.atom.jastor.rdfs.Class type) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addType in interface Class
Throws:
JastorException
See Also:
Class.typeProperty

removeType

public void removeType(Class type)
                throws JastorException
Description copied from interface: Class
Removes a value for the 'type' 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:
removeType in interface Class
Throws:
JastorException
See Also:
Class.typeProperty

getSeeAlso

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

Specified by:
getSeeAlso in interface Class
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
Class.seeAlsoProperty

addSeeAlso

public void addSeeAlso(GraphThing seeAlso)
                throws JastorException
Description copied from interface: Class
Adds a value for the 'seeAlso' property

Specified by:
addSeeAlso in interface Class
Throws:
JastorException
See Also:
Class.seeAlsoProperty

addSeeAlso

public GraphThing addSeeAlso()
                      throws JastorException
Description copied from interface: Class
Adds an anonymous value for the 'seeAlso' property

Specified by:
addSeeAlso in interface Class
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
Class.seeAlsoProperty

addSeeAlso

public GraphThing addSeeAlso(org.openrdf.model.Resource resource)
                      throws JastorException
Description copied from interface: Class
Adds a value for the 'seeAlso' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addSeeAlso(org.openanzo.jastor.GraphThing seeAlso) 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:
addSeeAlso in interface Class
Throws:
JastorException
See Also:
Class.seeAlsoProperty

removeSeeAlso

public void removeSeeAlso(GraphThing seeAlso)
                   throws JastorException
Description copied from interface: Class
Removes a value for the 'seeAlso' 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:
removeSeeAlso in interface Class
Throws:
JastorException
See Also:
Class.seeAlsoProperty


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