org.openanzo.atom.jastor.rdfs
Interface Class

All Superinterfaces:
CoreThing, GraphThing
All Known Subinterfaces:
Datatype
All Known Implementing Classes:
ClassImpl, DatatypeImpl

public interface Class
extends GraphThing

Interface for Class ontology class
Use the org.openanzo.atom.jastor.rdfs.Factory to create instances of this interface.

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


RDF Schema Standard Properties
label : Class
comment : The class of classes.
isDefinedBy : http://www.w3.org/2000/01/rdf-schema#



Field Summary
static org.openrdf.model.URI commentProperty
          The Jena Property for comment
static org.openrdf.model.URI isDefinedByProperty
          The Jena Property for isDefinedBy
static org.openrdf.model.URI labelProperty
          The Jena Property for label
static org.openrdf.model.URI memberProperty
          The Jena Property for member
static org.openrdf.model.URI seeAlsoProperty
          The Jena Property for seeAlso
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
static org.openrdf.model.URI typeProperty
          The Jena Property for type
static org.openrdf.model.URI valueProperty
          The Jena Property for value
 
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.
 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 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


valueProperty

static final org.openrdf.model.URI valueProperty
The Jena Property for value

(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#value)



RDF Schema Standard Properties
label : value
comment : Idiomatic property used for structured values.
isDefinedBy : http://www.w3.org/1999/02/22-rdf-syntax-ns#


commentProperty

static final org.openrdf.model.URI commentProperty
The Jena Property for comment

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



RDF Schema Standard Properties
label : comment
comment : A description of the subject resource.
isDefinedBy : http://www.w3.org/2000/01/rdf-schema#


labelProperty

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

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



RDF Schema Standard Properties
label : label
comment : A human-readable name for the subject.
isDefinedBy : http://www.w3.org/2000/01/rdf-schema#


isDefinedByProperty

static final org.openrdf.model.URI isDefinedByProperty
The Jena Property for isDefinedBy

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



RDF Schema Standard Properties
label : isDefinedBy
comment : The defininition of the subject resource.
isDefinedBy : http://www.w3.org/2000/01/rdf-schema#


memberProperty

static final org.openrdf.model.URI memberProperty
The Jena Property for member

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



RDF Schema Standard Properties
label : member
comment : A member of the subject resource.
isDefinedBy : http://www.w3.org/2000/01/rdf-schema#


typeProperty

static final org.openrdf.model.URI typeProperty
The Jena Property for type

(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#type)



RDF Schema Standard Properties
label : type
comment : The subject is an instance of a class.
isDefinedBy : http://www.w3.org/1999/02/22-rdf-syntax-ns#


seeAlsoProperty

static final org.openrdf.model.URI seeAlsoProperty
The Jena Property for seeAlso

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



RDF Schema Standard Properties
label : seeAlso
comment : Further information about the subject resource.
isDefinedBy : http://www.w3.org/2000/01/rdf-schema#

Method Detail

getValue

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

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

addValue

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

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

addValue

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

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

addValue

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

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
valueProperty

removeValue

void removeValue(GraphThing value)
                 throws JastorException
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.

Parameters:
The - GraphThing to remove
Throws:
JastorException
See Also:
valueProperty

getComment

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

Returns:
Iterator of Literal
Throws:
JastorException
See Also:
commentProperty

addComment

void addComment(org.openrdf.model.Literal comment)
                throws JastorException
Add a 'comment' property value

Parameters:
{@link - org.openrdf.model.Literal}, the value to add
Throws:
JastorException
See Also:
commentProperty

removeComment

void removeComment(org.openrdf.model.Literal comment)
                   throws JastorException
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.

Parameters:
{@link - org.openrdf.model.Literal}, the value to remove
Throws:
JastorException
See Also:
commentProperty

getLabel

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

Returns:
Iterator of Literal
Throws:
JastorException
See Also:
labelProperty

addLabel

void addLabel(org.openrdf.model.Literal label)
              throws JastorException
Add a 'label' property value

Parameters:
{@link - org.openrdf.model.Literal}, the value to add
Throws:
JastorException
See Also:
labelProperty

removeLabel

void removeLabel(org.openrdf.model.Literal label)
                 throws JastorException
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.

Parameters:
{@link - org.openrdf.model.Literal}, the value to remove
Throws:
JastorException
See Also:
labelProperty

getIsDefinedBy

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

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

addIsDefinedBy

void addIsDefinedBy(GraphThing isDefinedBy)
                    throws JastorException
Adds a value for the 'isDefinedBy' property

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

addIsDefinedBy

GraphThing addIsDefinedBy()
                          throws JastorException
Adds an anonymous value for the 'isDefinedBy' property

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

addIsDefinedBy

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

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
isDefinedByProperty

removeIsDefinedBy

void removeIsDefinedBy(GraphThing isDefinedBy)
                       throws JastorException
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.

Parameters:
The - GraphThing to remove
Throws:
JastorException
See Also:
isDefinedByProperty

getMember

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

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

addMember

void addMember(GraphThing member)
               throws JastorException
Adds a value for the 'member' property

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

addMember

GraphThing addMember()
                     throws JastorException
Adds an anonymous value for the 'member' property

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

addMember

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

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
memberProperty

removeMember

void removeMember(GraphThing member)
                  throws JastorException
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.

Parameters:
The - GraphThing to remove
Throws:
JastorException
See Also:
memberProperty

getType

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

Returns:
Iterator of Class
Throws:
JastorException
See Also:
typeProperty

addType

void addType(Class type)
             throws JastorException
Adds a value for the 'type' property

Parameters:
The - Class to add
Throws:
JastorException
See Also:
typeProperty

addType

Class addType()
              throws JastorException
Adds an anonymous value for the 'type' property

Returns:
The anoymous Class created
Throws:
JastorException
See Also:
typeProperty

addType

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

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
typeProperty

removeType

void removeType(Class type)
                throws JastorException
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.

Parameters:
The - Class to remove
Throws:
JastorException
See Also:
typeProperty

getSeeAlso

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

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

addSeeAlso

void addSeeAlso(GraphThing seeAlso)
                throws JastorException
Adds a value for the 'seeAlso' property

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

addSeeAlso

GraphThing addSeeAlso()
                      throws JastorException
Adds an anonymous value for the 'seeAlso' property

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

addSeeAlso

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

Parameters:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
seeAlsoProperty

removeSeeAlso

void removeSeeAlso(GraphThing seeAlso)
                   throws JastorException
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.

Parameters:
The - GraphThing to remove
Throws:
JastorException
See Also:
seeAlsoProperty


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