|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataRestriction
Interface for DataRestriction ontology class
Use the org.openanzo.owl.dataset.OWL11Factory to create instances of this interface.
(URI: http://www.w3.org/owl11#DataRestriction)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
cardinalityProperty
The Anzo Property for cardinality |
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 |
onDataRangeProperty
The Anzo Property for onDataRange |
static org.openrdf.model.URI |
onPropertyProperty
The Anzo Property for onProperty |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
| Method Summary | |
|---|---|
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 |
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> |
getCardinality()
Iterates through the 'cardinality' property values. |
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. |
DataRange |
getOnDataRange()
Gets the 'onDataRange' property value |
_Property |
getOnProperty()
Gets the 'onProperty' property value |
void |
registerListener(DataRestrictionListener listener)
Register a DataRestrictionListener |
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. |
DataRange |
setOnDataRange()
Sets the 'onDataRange' property value to an anonymous node |
void |
setOnDataRange(DataRange onDataRange)
Sets the 'onDataRange' property value |
DataRange |
setOnDataRange(org.openrdf.model.Resource resource)
Sets the 'onDataRange' property value to the given resource, and add's rdf:type properties. |
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(DataRestrictionListener listener)
Unregister a DataRestrictionListener |
| 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 |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI cardinalityProperty
(URI: http://www.w3.org/2002/07/owl#cardinality)
static final org.openrdf.model.URI maxCardinalityProperty
(URI: http://www.w3.org/2002/07/owl#maxCardinality)
static final org.openrdf.model.URI minCardinalityProperty
(URI: http://www.w3.org/2002/07/owl#minCardinality)
static final org.openrdf.model.URI onPropertyProperty
(URI: http://www.w3.org/2002/07/owl#onProperty)
static final org.openrdf.model.URI onDataRangeProperty
(URI: http://www.w3.org/owl11#onDataRange)
| Method Detail |
|---|
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getCardinality()
throws JastorException
Iterator of Integer
JastorExceptioncardinalityProperty
void addCardinality(java.lang.Integer cardinality)
throws JastorException
cardinality - Integer, the value to add
JastorExceptioncardinalityProperty
void removeCardinality(java.lang.Integer cardinality)
throws JastorException
cardinality - Integer, the value to remove
JastorExceptioncardinalityProperty
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMaxCardinality()
throws JastorException
Iterator of Integer
JastorExceptionmaxCardinalityProperty
void addMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
maxCardinality - Integer, the value to add
JastorExceptionmaxCardinalityProperty
void removeMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
maxCardinality - Integer, the value to remove
JastorExceptionmaxCardinalityProperty
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMinCardinality()
throws JastorException
Iterator of Integer
JastorExceptionminCardinalityProperty
void addMinCardinality(java.lang.Integer minCardinality)
throws JastorException
minCardinality - Integer, the value to add
JastorExceptionminCardinalityProperty
void removeMinCardinality(java.lang.Integer minCardinality)
throws JastorException
minCardinality - Integer, the value to remove
JastorExceptionminCardinalityProperty
_Property getOnProperty()
throws JastorException
_Property
JastorExceptiononPropertyProperty
void setOnProperty(_Property onProperty)
throws JastorException
onProperty - _Property, value to set
JastorExceptiononPropertyProperty
_Property setOnProperty()
throws JastorException
_Property, the created value
JastorExceptiononPropertyProperty
_Property setOnProperty(org.openrdf.model.Resource resource)
throws JastorException
_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.
resource - Resource must not be be null.
_Property, the newly created value
JastorExceptiononPropertyProperty
DataRange getOnDataRange()
throws JastorException
DataRange
JastorExceptiononDataRangeProperty
void setOnDataRange(DataRange onDataRange)
throws JastorException
onDataRange - DataRange, value to set
JastorExceptiononDataRangeProperty
DataRange setOnDataRange()
throws JastorException
DataRange, the created value
JastorExceptiononDataRangeProperty
DataRange setOnDataRange(org.openrdf.model.Resource resource)
throws JastorException
DataRange with the factory.
and calling setOnDataRange(org.openanzo.owl.dataset.DataRange onDataRange)
The resource argument have rdf:type http://www.w3.org/2002/07/owl#DataRange. That is, this method
should not be used as a shortcut for creating new objects in the model.
resource - Resource must not be be null.
DataRange, the newly created value
JastorExceptiononDataRangePropertyvoid registerListener(DataRestrictionListener listener)
listener - DataRestrictionListener to registervoid unregisterListener(DataRestrictionListener listener)
listener - DataRestrictionListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||