|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.DatasetThingImpl
org.openanzo.owl.dataset.DataRestrictionImpl
public class DataRestrictionImpl
Implementation of DataRestriction
Use the org.openanzo.owl.dataset.OWL11Factory to create instances of this class.
(URI: http://www.w3.org/owl11#DataRestriction)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.owl.dataset.DataRestriction |
|---|
TYPE |
| 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 |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
void |
registerListener(DataRestrictionListener listener)
Register a DataRestrictionListener |
void |
registerWithEventManager()
Register the object listeners with the dataset's event manager |
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 |
void |
unregisterWithEventManager()
Unregister the object listeners with the dataset's event manager |
| Methods inherited from class org.openanzo.jastor.DatasetThingImpl |
|---|
clearCache, dataset, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, isRDFType, namedGraphUri, registerListener, removeStatements, resource, setPropertyValue, setPropertyValue, toString, unregisterListener, uri |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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, registerListener, removeStatements, resource, unregisterListener, uri |
| Method Detail |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class DatasetThingImpl
public info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getCardinality()
throws JastorException
DataRestriction
getCardinality in interface DataRestrictionIterator of Integer
JastorExceptionDataRestriction.cardinalityProperty
public void addCardinality(java.lang.Integer cardinality)
throws JastorException
DataRestriction
addCardinality in interface DataRestrictioncardinality - Integer, the value to add
JastorExceptionDataRestriction.cardinalityProperty
public void removeCardinality(java.lang.Integer cardinality)
throws JastorException
DataRestriction
removeCardinality in interface DataRestrictioncardinality - Integer, the value to remove
JastorExceptionDataRestriction.cardinalityProperty
public info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMaxCardinality()
throws JastorException
DataRestriction
getMaxCardinality in interface DataRestrictionIterator of Integer
JastorExceptionDataRestriction.maxCardinalityProperty
public void addMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
DataRestriction
addMaxCardinality in interface DataRestrictionmaxCardinality - Integer, the value to add
JastorExceptionDataRestriction.maxCardinalityProperty
public void removeMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
DataRestriction
removeMaxCardinality in interface DataRestrictionmaxCardinality - Integer, the value to remove
JastorExceptionDataRestriction.maxCardinalityProperty
public info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMinCardinality()
throws JastorException
DataRestriction
getMinCardinality in interface DataRestrictionIterator of Integer
JastorExceptionDataRestriction.minCardinalityProperty
public void addMinCardinality(java.lang.Integer minCardinality)
throws JastorException
DataRestriction
addMinCardinality in interface DataRestrictionminCardinality - Integer, the value to add
JastorExceptionDataRestriction.minCardinalityProperty
public void removeMinCardinality(java.lang.Integer minCardinality)
throws JastorException
DataRestriction
removeMinCardinality in interface DataRestrictionminCardinality - Integer, the value to remove
JastorExceptionDataRestriction.minCardinalityProperty
public _Property getOnProperty()
throws JastorException
DataRestriction
getOnProperty in interface DataRestriction_Property
JastorExceptionDataRestriction.onPropertyProperty
public void setOnProperty(_Property onProperty)
throws JastorException
DataRestriction
setOnProperty in interface DataRestrictiononProperty - _Property, value to set
JastorExceptionDataRestriction.onPropertyProperty
public _Property setOnProperty()
throws JastorException
DataRestriction
setOnProperty in interface DataRestriction_Property, the created value
JastorExceptionDataRestriction.onPropertyProperty
public _Property setOnProperty(org.openrdf.model.Resource resource)
throws JastorException
DataRestriction_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.
setOnProperty in interface DataRestrictionresource - Resource must not be be null.
_Property, the newly created value
JastorExceptionDataRestriction.onPropertyProperty
public DataRange getOnDataRange()
throws JastorException
DataRestriction
getOnDataRange in interface DataRestrictionDataRange
JastorExceptionDataRestriction.onDataRangeProperty
public void setOnDataRange(DataRange onDataRange)
throws JastorException
DataRestriction
setOnDataRange in interface DataRestrictiononDataRange - DataRange, value to set
JastorExceptionDataRestriction.onDataRangeProperty
public DataRange setOnDataRange()
throws JastorException
DataRestriction
setOnDataRange in interface DataRestrictionDataRange, the created value
JastorExceptionDataRestriction.onDataRangeProperty
public DataRange setOnDataRange(org.openrdf.model.Resource resource)
throws JastorException
DataRestrictionDataRange 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.
setOnDataRange in interface DataRestrictionresource - Resource must not be be null.
DataRange, the newly created value
JastorExceptionDataRestriction.onDataRangePropertypublic void registerWithEventManager()
public void unregisterWithEventManager()
public void registerListener(DataRestrictionListener listener)
DataRestriction
registerListener in interface DataRestrictionlistener - DataRestrictionListener to registerpublic void unregisterListener(DataRestrictionListener listener)
DataRestriction
unregisterListener in interface DataRestrictionlistener - DataRestrictionListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||