org.openanzo.owl.dataset
Interface Restriction

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

public interface Restriction
extends DatasetThing

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

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





Field Summary
static org.openrdf.model.URI allValuesFromProperty
          The Anzo Property for allValuesFrom
static org.openrdf.model.URI cardinalityProperty
          The Anzo Property for cardinality
static org.openrdf.model.URI hasValueProperty
          The Anzo Property for hasValue
static org.openrdf.model.URI maxCardinalityProperty
          The Anzo Property for maxCardinality
static org.openrdf.model.URI minCardinalityProperty
          The Anzo Property for minCardinality
static org.openrdf.model.URI onPropertyProperty
          The Anzo Property for onProperty
static org.openrdf.model.URI someValuesFromProperty
          The Anzo Property for someValuesFrom
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 DatasetThing addAllValuesFrom()
          Adds an anonymous value for the 'allValuesFrom' property
 void addAllValuesFrom(DatasetThing allValuesFrom)
          Adds a value for the 'allValuesFrom' property
 DatasetThing addAllValuesFrom(org.openrdf.model.Resource resource)
          Adds a value for the 'allValuesFrom' property.
 void addCardinality(java.lang.Integer cardinality)
          Add a 'cardinality' property value
 void addMaxCardinality(java.lang.Integer maxCardinality)
          Add a 'maxCardinality' property value
 void addMinCardinality(java.lang.Integer minCardinality)
          Add a 'minCardinality' property value
 DatasetThing addSomeValuesFrom()
          Adds an anonymous value for the 'someValuesFrom' property
 void addSomeValuesFrom(DatasetThing someValuesFrom)
          Adds a value for the 'someValuesFrom' property
 DatasetThing addSomeValuesFrom(org.openrdf.model.Resource resource)
          Adds a value for the 'someValuesFrom' property.
 info.aduna.collections.iterators.CloseableIterator<DatasetThing> getAllValuesFrom()
          Get an Iterator the 'allValuesFrom' property values.
 info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getCardinality()
          Iterates through the 'cardinality' property values.
 java.lang.String getHasValue()
          Gets the 'hasValue' property value
 info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMaxCardinality()
          Iterates through the 'maxCardinality' property values.
 info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMinCardinality()
          Iterates through the 'minCardinality' property values.
 _Property getOnProperty()
          Gets the 'onProperty' property value
 info.aduna.collections.iterators.CloseableIterator<DatasetThing> getSomeValuesFrom()
          Get an Iterator the 'someValuesFrom' property values.
 void registerListener(RestrictionListener listener)
          Register a RestrictionListener
 void removeAllValuesFrom(DatasetThing allValuesFrom)
          Removes a value for the 'allValuesFrom' property.
 void removeCardinality(java.lang.Integer cardinality)
          Remove a 'cardinality' property value.
 void removeMaxCardinality(java.lang.Integer maxCardinality)
          Remove a 'maxCardinality' property value.
 void removeMinCardinality(java.lang.Integer minCardinality)
          Remove a 'minCardinality' property value.
 void removeSomeValuesFrom(DatasetThing someValuesFrom)
          Removes a value for the 'someValuesFrom' property.
 void setHasValue(java.lang.String hasValue)
          Sets the 'hasValue' property value
 void setOnProperty(_Property onProperty)
          Sets the 'onProperty' property value
 _Property setOnProperty()
          Sets the 'onProperty' property value to an anonymous node
 _Property setOnProperty(org.openrdf.model.Resource resource)
          Sets the 'onProperty' property value to the given resource, and add's rdf:type properties.
 void unregisterListener(RestrictionListener listener)
          Unregister a RestrictionListener
 
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


cardinalityProperty

static final org.openrdf.model.URI cardinalityProperty
The Anzo Property for cardinality

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



maxCardinalityProperty

static final org.openrdf.model.URI maxCardinalityProperty
The Anzo Property for maxCardinality

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



minCardinalityProperty

static final org.openrdf.model.URI minCardinalityProperty
The Anzo Property for minCardinality

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



onPropertyProperty

static final org.openrdf.model.URI onPropertyProperty
The Anzo Property for onProperty

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



hasValueProperty

static final org.openrdf.model.URI hasValueProperty
The Anzo Property for hasValue

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



allValuesFromProperty

static final org.openrdf.model.URI allValuesFromProperty
The Anzo Property for allValuesFrom

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



someValuesFromProperty

static final org.openrdf.model.URI someValuesFromProperty
The Anzo Property for someValuesFrom

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


Method Detail

getCardinality

info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getCardinality()
                                                                                     throws JastorException
Iterates through the 'cardinality' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Integer
Throws:
JastorException
See Also:
cardinalityProperty

addCardinality

void addCardinality(java.lang.Integer cardinality)
                    throws JastorException
Add a 'cardinality' property value

Parameters:
cardinality - Integer, the value to add
Throws:
JastorException
See Also:
cardinalityProperty

removeCardinality

void removeCardinality(java.lang.Integer cardinality)
                       throws JastorException
Remove a 'cardinality' 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:
cardinality - Integer, the value to remove
Throws:
JastorException
See Also:
cardinalityProperty

getMaxCardinality

info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMaxCardinality()
                                                                                        throws JastorException
Iterates through the 'maxCardinality' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Integer
Throws:
JastorException
See Also:
maxCardinalityProperty

addMaxCardinality

void addMaxCardinality(java.lang.Integer maxCardinality)
                       throws JastorException
Add a 'maxCardinality' property value

Parameters:
maxCardinality - Integer, the value to add
Throws:
JastorException
See Also:
maxCardinalityProperty

removeMaxCardinality

void removeMaxCardinality(java.lang.Integer maxCardinality)
                          throws JastorException
Remove a 'maxCardinality' 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:
maxCardinality - Integer, the value to remove
Throws:
JastorException
See Also:
maxCardinalityProperty

getMinCardinality

info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMinCardinality()
                                                                                        throws JastorException
Iterates through the 'minCardinality' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Integer
Throws:
JastorException
See Also:
minCardinalityProperty

addMinCardinality

void addMinCardinality(java.lang.Integer minCardinality)
                       throws JastorException
Add a 'minCardinality' property value

Parameters:
minCardinality - Integer, the value to add
Throws:
JastorException
See Also:
minCardinalityProperty

removeMinCardinality

void removeMinCardinality(java.lang.Integer minCardinality)
                          throws JastorException
Remove a 'minCardinality' 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:
minCardinality - Integer, the value to remove
Throws:
JastorException
See Also:
minCardinalityProperty

getOnProperty

_Property getOnProperty()
                        throws JastorException
Gets the 'onProperty' property value

Returns:
_Property
Throws:
JastorException
See Also:
onPropertyProperty

setOnProperty

void setOnProperty(_Property onProperty)
                   throws JastorException
Sets the 'onProperty' property value

Parameters:
onProperty - _Property, value to set
Throws:
JastorException
See Also:
onPropertyProperty

setOnProperty

_Property setOnProperty()
                        throws JastorException
Sets the 'onProperty' property value to an anonymous node

Returns:
_Property, the created value
Throws:
JastorException
See Also:
onPropertyProperty

setOnProperty

_Property setOnProperty(org.openrdf.model.Resource resource)
                        throws JastorException
Sets the 'onProperty' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of _Property with the factory. and calling setOnProperty(org.openanzo.rdfs.dataset._Property onProperty) The resource argument have rdf:type http://www.w3.org/1999/02/22-rdf-syntax-ns#Property. 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:
_Property, the newly created value
Throws:
JastorException
See Also:
onPropertyProperty

getHasValue

java.lang.String getHasValue()
                             throws JastorException
Gets the 'hasValue' property value

Returns:
String
Throws:
JastorException
See Also:
hasValueProperty

setHasValue

void setHasValue(java.lang.String hasValue)
                 throws JastorException
Sets the 'hasValue' property value

Parameters:
hasValue - String, the value to set
Throws:
JastorException
See Also:
hasValueProperty

getAllValuesFrom

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

Returns:
Iterator of DatasetThing
Throws:
JastorException
See Also:
allValuesFromProperty

addAllValuesFrom

void addAllValuesFrom(DatasetThing allValuesFrom)
                      throws JastorException
Adds a value for the 'allValuesFrom' property

Parameters:
allValuesFrom - The DatasetThing to add
Throws:
JastorException
See Also:
allValuesFromProperty

addAllValuesFrom

DatasetThing addAllValuesFrom()
                              throws JastorException
Adds an anonymous value for the 'allValuesFrom' property

Returns:
The anoymous DatasetThing created
Throws:
JastorException
See Also:
allValuesFromProperty

addAllValuesFrom

DatasetThing addAllValuesFrom(org.openrdf.model.Resource resource)
                              throws JastorException
Adds a value for the 'allValuesFrom' property. This method is equivalent constructing a new instance of DatasetThing with the factory and calling addAllValuesFrom(org.openanzo.jastor.DatasetThing allValuesFrom) 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 - The Resource to add
Returns:
org.openanzo.jastor.DatasetThing, value added
Throws:
JastorException
See Also:
allValuesFromProperty

removeAllValuesFrom

void removeAllValuesFrom(DatasetThing allValuesFrom)
                         throws JastorException
Removes a value for the 'allValuesFrom' 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:
allValuesFrom - The DatasetThing to remove
Throws:
JastorException
See Also:
allValuesFromProperty

getSomeValuesFrom

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

Returns:
Iterator of DatasetThing
Throws:
JastorException
See Also:
someValuesFromProperty

addSomeValuesFrom

void addSomeValuesFrom(DatasetThing someValuesFrom)
                       throws JastorException
Adds a value for the 'someValuesFrom' property

Parameters:
someValuesFrom - The DatasetThing to add
Throws:
JastorException
See Also:
someValuesFromProperty

addSomeValuesFrom

DatasetThing addSomeValuesFrom()
                               throws JastorException
Adds an anonymous value for the 'someValuesFrom' property

Returns:
The anoymous DatasetThing created
Throws:
JastorException
See Also:
someValuesFromProperty

addSomeValuesFrom

DatasetThing addSomeValuesFrom(org.openrdf.model.Resource resource)
                               throws JastorException
Adds a value for the 'someValuesFrom' property. This method is equivalent constructing a new instance of DatasetThing with the factory and calling addSomeValuesFrom(org.openanzo.jastor.DatasetThing someValuesFrom) 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 - The Resource to add
Returns:
org.openanzo.jastor.DatasetThing, value added
Throws:
JastorException
See Also:
someValuesFromProperty

removeSomeValuesFrom

void removeSomeValuesFrom(DatasetThing someValuesFrom)
                          throws JastorException
Removes a value for the 'someValuesFrom' 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:
someValuesFrom - The DatasetThing to remove
Throws:
JastorException
See Also:
someValuesFromProperty

registerListener

void registerListener(RestrictionListener listener)
Register a RestrictionListener

Parameters:
listener - RestrictionListener to register

unregisterListener

void unregisterListener(RestrictionListener listener)
Unregister a RestrictionListener

Parameters:
listener - RestrictionListener to unregister


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