org.openanzo.owl.dataset
Interface DataRange

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

public interface DataRange
extends DatasetThing

Interface for DataRange ontology class
Use the org.openanzo.owl.dataset.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.
 DatasetThing getOneOf()
          Gets the 'oneOf' property value
 void registerListener(DataRangeListener listener)
          Register a DataRangeListener
 void removeComplementOf(Class complementOf)
          Removes a value for the 'complementOf' property.
 DatasetThing setOneOf()
          Sets the 'oneOf' property value to an anonymous node
 void setOneOf(DatasetThing oneOf)
          Sets the 'oneOf' property value
 DatasetThing setOneOf(org.openrdf.model.Resource resource)
          Sets the 'oneOf' property value to the given resource, and add's rdf:type properties.
 void unregisterListener(DataRangeListener listener)
          Unregister a DataRangeListener
 
Methods inherited from interface org.openanzo.jastor.DatasetThing
dataset, getProperties, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, namedGraphUri, 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

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

Returns:
DatasetThing
Throws:
JastorException
See Also:
oneOfProperty

setOneOf

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

Parameters:
oneOf - DatasetThing, value to set
Throws:
JastorException
See Also:
oneOfProperty

setOneOf

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

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

setOneOf

DatasetThing 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 DatasetThing with the factory. and calling setOneOf(org.openanzo.jastor.DatasetThing 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:
DatasetThing, 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.dataset.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:
org.openanzo.owl.dataset.Class, value added
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

registerListener

void registerListener(DataRangeListener listener)
Register a DataRangeListener

Parameters:
listener - DataRangeListener to register

unregisterListener

void unregisterListener(DataRangeListener listener)
Unregister a DataRangeListener

Parameters:
listener - DataRangeListener to unregister


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