org.openanzo.owl
Interface DataRange

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

public interface DataRange
extends GraphThing

Interface for DataRange ontology class
Use the org.openanzo.owl.OWL11Factory to create instances of this interface.

(URI: http://www.w3.org/2002/07/owl#DataRange)





Field Summary
static org.openrdf.model.URI complementOfProperty
          The Anzo Property for complementOf
static org.openrdf.model.URI oneOfProperty
          The Anzo Property for oneOf
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 Class addComplementOf()
          Adds an anonymous value for the 'complementOf' property
 void addComplementOf(Class complementOf)
          Adds a value for the 'complementOf' property
 Class addComplementOf(org.openrdf.model.Resource resource)
          Adds a value for the 'complementOf' property.
 info.aduna.collections.iterators.CloseableIterator<Class> getComplementOf()
          Get an Iterator the 'complementOf' property values.
 GraphThing getOneOf()
          Gets the 'oneOf' property value
 void removeComplementOf(Class complementOf)
          Removes a value for the 'complementOf' property.
 void removeComplementOf(org.openrdf.model.Resource complementOf)
          Remove a 'complementOf' property value.
 GraphThing setOneOf()
          Sets the 'oneOf' property value to an anonymous node
 void setOneOf(GraphThing oneOf)
          Sets the 'oneOf' property value
 GraphThing setOneOf(org.openrdf.model.Resource resource)
          Sets the 'oneOf' property value to the given resource, and add's rdf:type properties.
 
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


oneOfProperty

static final org.openrdf.model.URI oneOfProperty
The Anzo Property for oneOf

(URI: http://www.w3.org/2002/07/owl#oneOf)



complementOfProperty

static final org.openrdf.model.URI complementOfProperty
The Anzo Property for complementOf

(URI: http://www.w3.org/2002/07/owl#complementOf)


Method Detail

getOneOf

GraphThing getOneOf()
                    throws JastorException
Gets the 'oneOf' property value

Returns:
GraphThing
Throws:
JastorException
See Also:
oneOfProperty

setOneOf

void setOneOf(GraphThing oneOf)
              throws JastorException
Sets the 'oneOf' property value

Parameters:
oneOf - GraphThing
Throws:
JastorException
See Also:
oneOfProperty

setOneOf

GraphThing setOneOf()
                    throws JastorException
Sets the 'oneOf' property value to an anonymous node

Returns:
GraphThing, the created value
Throws:
JastorException
See Also:
oneOfProperty

setOneOf

GraphThing setOneOf(org.openrdf.model.Resource resource)
                    throws JastorException
Sets the 'oneOf' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of GraphThing with the factory. and calling setOneOf(org.openanzo.jastor.GraphThing oneOf) 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:
resource - Resource must not be be null.
Returns:
GraphThing, the newly created value
Throws:
JastorException
See Also:
oneOfProperty

getComplementOf

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

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

addComplementOf

void addComplementOf(Class complementOf)
                     throws JastorException
Adds a value for the 'complementOf' property

Parameters:
complementOf - The Class to add
Throws:
JastorException
See Also:
complementOfProperty

addComplementOf

Class addComplementOf()
                      throws JastorException
Adds an anonymous value for the 'complementOf' property

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

addComplementOf

Class addComplementOf(org.openrdf.model.Resource resource)
                      throws JastorException
Adds a value for the 'complementOf' property. This method is equivalent constructing a new instance of Class with the factory and calling addComplementOf(org.openanzo.owl.Class complementOf) The resource argument have rdf:type http://www.w3.org/2002/07/owl#Class. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.owl.Class created
Throws:
JastorException
See Also:
complementOfProperty

removeComplementOf

void removeComplementOf(Class complementOf)
                        throws JastorException
Removes a value for the 'complementOf' 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:
complementOf - The Class to remove
Throws:
JastorException
See Also:
complementOfProperty

removeComplementOf

void removeComplementOf(org.openrdf.model.Resource complementOf)
                        throws JastorException
Remove a 'complementOf' 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:
complementOf - Class, the value to remove
Throws:
JastorException
See Also:
complementOfProperty


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