|
||||||||||
| 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.ObjectRestrictionImpl
public class ObjectRestrictionImpl
Implementation of ObjectRestriction
Use the org.openanzo.owl.dataset.OWL11Factory to create instances of this class.
(URI: http://www.w3.org/owl11#ObjectRestriction)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.owl.dataset.ObjectRestriction |
|---|
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. |
Class |
getOnClass()
Gets the 'onClass' 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(ObjectRestrictionListener listener)
Register a ObjectRestrictionListener |
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. |
Class |
setOnClass()
Sets the 'onClass' property value to an anonymous node |
void |
setOnClass(Class onClass)
Sets the 'onClass' property value |
Class |
setOnClass(org.openrdf.model.Resource resource)
Sets the 'onClass' 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(ObjectRestrictionListener listener)
Unregister a ObjectRestrictionListener |
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
ObjectRestriction
getCardinality in interface ObjectRestrictionIterator of Integer
JastorExceptionObjectRestriction.cardinalityProperty
public void addCardinality(java.lang.Integer cardinality)
throws JastorException
ObjectRestriction
addCardinality in interface ObjectRestrictioncardinality - Integer, the value to add
JastorExceptionObjectRestriction.cardinalityProperty
public void removeCardinality(java.lang.Integer cardinality)
throws JastorException
ObjectRestriction
removeCardinality in interface ObjectRestrictioncardinality - Integer, the value to remove
JastorExceptionObjectRestriction.cardinalityProperty
public info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMaxCardinality()
throws JastorException
ObjectRestriction
getMaxCardinality in interface ObjectRestrictionIterator of Integer
JastorExceptionObjectRestriction.maxCardinalityProperty
public void addMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
ObjectRestriction
addMaxCardinality in interface ObjectRestrictionmaxCardinality - Integer, the value to add
JastorExceptionObjectRestriction.maxCardinalityProperty
public void removeMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
ObjectRestriction
removeMaxCardinality in interface ObjectRestrictionmaxCardinality - Integer, the value to remove
JastorExceptionObjectRestriction.maxCardinalityProperty
public info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMinCardinality()
throws JastorException
ObjectRestriction
getMinCardinality in interface ObjectRestrictionIterator of Integer
JastorExceptionObjectRestriction.minCardinalityProperty
public void addMinCardinality(java.lang.Integer minCardinality)
throws JastorException
ObjectRestriction
addMinCardinality in interface ObjectRestrictionminCardinality - Integer, the value to add
JastorExceptionObjectRestriction.minCardinalityProperty
public void removeMinCardinality(java.lang.Integer minCardinality)
throws JastorException
ObjectRestriction
removeMinCardinality in interface ObjectRestrictionminCardinality - Integer, the value to remove
JastorExceptionObjectRestriction.minCardinalityProperty
public _Property getOnProperty()
throws JastorException
ObjectRestriction
getOnProperty in interface ObjectRestriction_Property
JastorExceptionObjectRestriction.onPropertyProperty
public void setOnProperty(_Property onProperty)
throws JastorException
ObjectRestriction
setOnProperty in interface ObjectRestrictiononProperty - _Property, value to set
JastorExceptionObjectRestriction.onPropertyProperty
public _Property setOnProperty()
throws JastorException
ObjectRestriction
setOnProperty in interface ObjectRestriction_Property, the created value
JastorExceptionObjectRestriction.onPropertyProperty
public _Property setOnProperty(org.openrdf.model.Resource resource)
throws JastorException
ObjectRestriction_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 ObjectRestrictionresource - Resource must not be be null.
_Property, the newly created value
JastorExceptionObjectRestriction.onPropertyProperty
public Class getOnClass()
throws JastorException
ObjectRestriction
getOnClass in interface ObjectRestrictionClass
JastorExceptionObjectRestriction.onClassProperty
public void setOnClass(Class onClass)
throws JastorException
ObjectRestriction
setOnClass in interface ObjectRestrictiononClass - Class, value to set
JastorExceptionObjectRestriction.onClassProperty
public Class setOnClass()
throws JastorException
ObjectRestriction
setOnClass in interface ObjectRestrictionClass, the created value
JastorExceptionObjectRestriction.onClassProperty
public Class setOnClass(org.openrdf.model.Resource resource)
throws JastorException
ObjectRestrictionClass with the factory.
and calling setOnClass(org.openanzo.owl.dataset.Class onClass)
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.
setOnClass in interface ObjectRestrictionresource - Resource must not be be null.
Class, the newly created value
JastorExceptionObjectRestriction.onClassPropertypublic void registerWithEventManager()
public void unregisterWithEventManager()
public void registerListener(ObjectRestrictionListener listener)
ObjectRestriction
registerListener in interface ObjectRestrictionlistener - ObjectRestrictionListener to registerpublic void unregisterListener(ObjectRestrictionListener listener)
ObjectRestriction
unregisterListener in interface ObjectRestrictionlistener - ObjectRestrictionListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||