org.openanzo.owl.dataset
Class FunctionalPropetyImpl

java.lang.Object
  extended by org.openanzo.jastor.DatasetThingImpl
      extended by org.openanzo.owl.dataset.FunctionalPropetyImpl
All Implemented Interfaces:
CoreThing, DatasetThing, DatatypeProperty, FunctionalPropety, _Property, _Resource

public class FunctionalPropetyImpl
extends DatasetThingImpl
implements FunctionalPropety

Implementation of FunctionalPropety Use the org.openanzo.owl.dataset.OWL11Factory to create instances of this class.

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



Field Summary
 
Fields inherited from interface org.openanzo.owl.dataset.FunctionalPropety
TYPE
 
Method Summary
 void addComment(java.lang.String comment)
          Add a 'comment' property value
 DatatypeProperty addDisjointDataProperties()
          Adds an anonymous value for the 'disjointDataProperties' property
 void addDisjointDataProperties(DatatypeProperty disjointDataProperties)
          Adds a value for the 'disjointDataProperties' property
 DatatypeProperty addDisjointDataProperties(org.openrdf.model.Resource resource)
          Adds a value for the 'disjointDataProperties' property.
 DatatypeProperty addEquivalentDataProperty()
          Adds an anonymous value for the 'equivalentDataProperty' property
 void addEquivalentDataProperty(DatatypeProperty equivalentDataProperty)
          Adds a value for the 'equivalentDataProperty' property
 DatatypeProperty addEquivalentDataProperty(org.openrdf.model.Resource resource)
          Adds a value for the 'equivalentDataProperty' property.
 DatatypeProperty addEquivalentProperty()
          Adds an anonymous value for the 'equivalentProperty' property
 void addEquivalentProperty(DatatypeProperty equivalentProperty)
          Adds a value for the 'equivalentProperty' property
 DatatypeProperty addEquivalentProperty(org.openrdf.model.Resource resource)
          Adds a value for the 'equivalentProperty' property.
 void addIsDefinedBy(_Resource isDefinedBy)
          Adds a value for the 'isDefinedBy' property
 _Resource addIsDefinedBy()
          Adds an anonymous value for the 'isDefinedBy' property
 _Resource addIsDefinedBy(org.openrdf.model.Resource resource)
          Adds a value for the 'isDefinedBy' property.
 void addLabel(java.lang.String label)
          Add a 'label' property value
 void addMember(_Resource member)
          Adds a value for the 'member' property
 _Resource addMember()
          Adds an anonymous value for the 'member' property
 _Resource addMember(org.openrdf.model.Resource resource)
          Adds a value for the 'member' property.
 void addSeeAlso(_Resource seeAlso)
          Adds a value for the 'seeAlso' property
 _Resource addSeeAlso()
          Adds an anonymous value for the 'seeAlso' property
 _Resource addSeeAlso(org.openrdf.model.Resource resource)
          Adds a value for the 'seeAlso' property.
 DatatypeProperty addSubDataPropertyOf()
          Adds an anonymous value for the 'subDataPropertyOf' property
 void addSubDataPropertyOf(DatatypeProperty subDataPropertyOf)
          Adds a value for the 'subDataPropertyOf' property
 DatatypeProperty addSubDataPropertyOf(org.openrdf.model.Resource resource)
          Adds a value for the 'subDataPropertyOf' property.
 void addSubPropertyOf(_Property subPropertyOf)
          Adds a value for the 'subPropertyOf' property
 _Property addSubPropertyOf()
          Adds an anonymous value for the 'subPropertyOf' property
 _Property addSubPropertyOf(org.openrdf.model.Resource resource)
          Adds a value for the 'subPropertyOf' property.
 Class addType()
          Adds an anonymous value for the 'type' property
 void addType(Class type)
          Adds a value for the 'type' property
 Class addType(org.openrdf.model.Resource resource)
          Adds a value for the 'type' property.
 void addValue(_Resource value)
          Adds a value for the 'value' property
 _Resource addValue()
          Adds an anonymous value for the 'value' property
 _Resource addValue(org.openrdf.model.Resource resource)
          Adds a value for the 'value' property.
 info.aduna.collections.iterators.CloseableIterator<java.lang.String> getComment()
          Iterates through the 'comment' property values.
 Class getDataPropertyDomain()
          Gets the 'dataPropertyDomain' property value
 DataRange getDataPropertyRange()
          Gets the 'dataPropertyRange' property value
 info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getDisjointDataProperties()
          Get an Iterator the 'disjointDataProperties' property values.
 Class getDomain()
          Gets the 'domain' property value
 info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getEquivalentDataProperty()
          Get an Iterator the 'equivalentDataProperty' property values.
 info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getEquivalentProperty()
          Get an Iterator the 'equivalentProperty' property values.
 info.aduna.collections.iterators.CloseableIterator<_Resource> getIsDefinedBy()
          Get an Iterator the 'isDefinedBy' property values.
 info.aduna.collections.iterators.CloseableIterator<java.lang.String> getLabel()
          Iterates through the 'label' property values.
 info.aduna.collections.iterators.CloseableIterator<_Resource> getMember()
          Get an Iterator the 'member' property values.
 Class getRange()
          Gets the 'range' property value
 info.aduna.collections.iterators.CloseableIterator<_Resource> getSeeAlso()
          Get an Iterator the 'seeAlso' property values.
 info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getSubDataPropertyOf()
          Get an Iterator the 'subDataPropertyOf' property values.
 info.aduna.collections.iterators.CloseableIterator<_Property> getSubPropertyOf()
          Get an Iterator the 'subPropertyOf' property values.
 info.aduna.collections.iterators.CloseableIterator<Class> getType()
          Get an Iterator the 'type' property values.
 info.aduna.collections.iterators.CloseableIterator<_Resource> getValue()
          Get an Iterator the 'value' property values.
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 void registerListener(_PropertyListener listener)
          Register a org.openanzo.rdfs.dataset._PropertyListener
 void registerListener(_ResourceListener listener)
          Register a org.openanzo.rdfs.dataset._ResourceListener
 void registerListener(DatatypePropertyListener listener)
          Register a DatatypePropertyListener
 void registerListener(FunctionalPropetyListener listener)
          Register a FunctionalPropetyListener
 void registerWithEventManager()
          Register the object listeners with the dataset's event manager
 void removeComment(java.lang.String comment)
          Remove a 'comment' property value.
 void removeDisjointDataProperties(DatatypeProperty disjointDataProperties)
          Removes a value for the 'disjointDataProperties' property.
 void removeEquivalentDataProperty(DatatypeProperty equivalentDataProperty)
          Removes a value for the 'equivalentDataProperty' property.
 void removeEquivalentProperty(DatatypeProperty equivalentProperty)
          Removes a value for the 'equivalentProperty' property.
 void removeIsDefinedBy(_Resource isDefinedBy)
          Removes a value for the 'isDefinedBy' property.
 void removeLabel(java.lang.String label)
          Remove a 'label' property value.
 void removeMember(_Resource member)
          Removes a value for the 'member' property.
 void removeSeeAlso(_Resource seeAlso)
          Removes a value for the 'seeAlso' property.
 void removeSubDataPropertyOf(DatatypeProperty subDataPropertyOf)
          Removes a value for the 'subDataPropertyOf' property.
 void removeSubPropertyOf(_Property subPropertyOf)
          Removes a value for the 'subPropertyOf' property.
 void removeType(Class type)
          Removes a value for the 'type' property.
 void removeValue(_Resource value)
          Removes a value for the 'value' property.
 Class setDataPropertyDomain()
          Sets the 'dataPropertyDomain' property value to an anonymous node
 void setDataPropertyDomain(Class dataPropertyDomain)
          Sets the 'dataPropertyDomain' property value
 Class setDataPropertyDomain(org.openrdf.model.Resource resource)
          Sets the 'dataPropertyDomain' property value to the given resource, and add's rdf:type properties.
 DataRange setDataPropertyRange()
          Sets the 'dataPropertyRange' property value to an anonymous node
 void setDataPropertyRange(DataRange dataPropertyRange)
          Sets the 'dataPropertyRange' property value
 DataRange setDataPropertyRange(org.openrdf.model.Resource resource)
          Sets the 'dataPropertyRange' property value to the given resource, and add's rdf:type properties.
 Class setDomain()
          Sets the 'domain' property value to an anonymous node
 void setDomain(Class domain)
          Sets the 'domain' property value
 Class setDomain(org.openrdf.model.Resource resource)
          Sets the 'domain' property value to the given resource, and add's rdf:type properties.
 Class setRange()
          Sets the 'range' property value to an anonymous node
 void setRange(Class range)
          Sets the 'range' property value
 Class setRange(org.openrdf.model.Resource resource)
          Sets the 'range' property value to the given resource, and add's rdf:type properties.
 void unregisterListener(_PropertyListener listener)
          Unregister a org.openanzo.rdfs.dataset._PropertyListener
 void unregisterListener(_ResourceListener listener)
          Unregister a org.openanzo.rdfs.dataset._ResourceListener
 void unregisterListener(DatatypePropertyListener listener)
          Unregister a DatatypePropertyListener
 void unregisterListener(FunctionalPropetyListener listener)
          Unregister a FunctionalPropetyListener
 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

listStatements

public java.util.Collection<org.openrdf.model.Statement> listStatements()
Description copied from interface: CoreThing
Get set of statements that makeup this THINGS's properties and types

Specified by:
listStatements in interface CoreThing
Overrides:
listStatements in class DatasetThingImpl
Returns:
set of statements that makeup this THINGS's properties and types

getComment

public info.aduna.collections.iterators.CloseableIterator<java.lang.String> getComment()
                                                                                throws JastorException
Description copied from interface: _Resource
Iterates through the 'comment' property values. This Iteartor may be used to remove all such values.

Specified by:
getComment in interface _Resource
Returns:
Iterator of String
Throws:
JastorException
See Also:
_Resource.commentProperty

addComment

public void addComment(java.lang.String comment)
                throws JastorException
Description copied from interface: _Resource
Add a 'comment' property value

Specified by:
addComment in interface _Resource
Parameters:
comment - String, the value to add
Throws:
JastorException
See Also:
_Resource.commentProperty

removeComment

public void removeComment(java.lang.String comment)
                   throws JastorException
Description copied from interface: _Resource
Remove a 'comment' 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.

Specified by:
removeComment in interface _Resource
Parameters:
comment - String, the value to remove
Throws:
JastorException
See Also:
_Resource.commentProperty

getLabel

public info.aduna.collections.iterators.CloseableIterator<java.lang.String> getLabel()
                                                                              throws JastorException
Description copied from interface: _Resource
Iterates through the 'label' property values. This Iteartor may be used to remove all such values.

Specified by:
getLabel in interface _Resource
Returns:
Iterator of String
Throws:
JastorException
See Also:
_Resource.labelProperty

addLabel

public void addLabel(java.lang.String label)
              throws JastorException
Description copied from interface: _Resource
Add a 'label' property value

Specified by:
addLabel in interface _Resource
Parameters:
label - String, the value to add
Throws:
JastorException
See Also:
_Resource.labelProperty

removeLabel

public void removeLabel(java.lang.String label)
                 throws JastorException
Description copied from interface: _Resource
Remove a 'label' 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.

Specified by:
removeLabel in interface _Resource
Parameters:
label - String, the value to remove
Throws:
JastorException
See Also:
_Resource.labelProperty

getType

public info.aduna.collections.iterators.CloseableIterator<Class> getType()
                                                                  throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'type' property values. This Iteartor may be used to remove all such values.

Specified by:
getType in interface _Resource
Returns:
Iterator of Class
Throws:
JastorException
See Also:
_Resource.typeProperty

addType

public void addType(Class type)
             throws JastorException
Description copied from interface: _Resource
Adds a value for the 'type' property

Specified by:
addType in interface _Resource
Parameters:
type - The Class to add
Throws:
JastorException
See Also:
_Resource.typeProperty

addType

public Class addType()
              throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'type' property

Specified by:
addType in interface _Resource
Returns:
The anoymous Class created
Throws:
JastorException
See Also:
_Resource.typeProperty

addType

public Class addType(org.openrdf.model.Resource resource)
              throws JastorException
Description copied from interface: _Resource
Adds a value for the 'type' property. This method is equivalent constructing a new instance of Class with the factory and calling addType(org.openanzo.rdfs.dataset.Class type) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addType in interface _Resource
Parameters:
resource - The Resource to add
Returns:
org.openanzo.rdfs.dataset.Class, value added
Throws:
JastorException
See Also:
_Resource.typeProperty

removeType

public void removeType(Class type)
                throws JastorException
Description copied from interface: _Resource
Removes a value for the 'type' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeType in interface _Resource
Parameters:
type - The Class to remove
Throws:
JastorException
See Also:
_Resource.typeProperty

getValue

public info.aduna.collections.iterators.CloseableIterator<_Resource> getValue()
                                                                       throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'value' property values. This Iteartor may be used to remove all such values.

Specified by:
getValue in interface _Resource
Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
_Resource.valueProperty

addValue

public void addValue(_Resource value)
              throws JastorException
Description copied from interface: _Resource
Adds a value for the 'value' property

Specified by:
addValue in interface _Resource
Parameters:
value - The _Resource to add
Throws:
JastorException
See Also:
_Resource.valueProperty

addValue

public _Resource addValue()
                   throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'value' property

Specified by:
addValue in interface _Resource
Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
_Resource.valueProperty

addValue

public _Resource addValue(org.openrdf.model.Resource resource)
                   throws JastorException
Description copied from interface: _Resource
Adds a value for the 'value' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addValue(org.openanzo.rdfs.dataset._Resource value) 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.

Specified by:
addValue in interface _Resource
Parameters:
resource - The Resource to add
Returns:
org.openanzo.rdfs.dataset._Resource, value added
Throws:
JastorException
See Also:
_Resource.valueProperty

removeValue

public void removeValue(_Resource value)
                 throws JastorException
Description copied from interface: _Resource
Removes a value for the 'value' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeValue in interface _Resource
Parameters:
value - The _Resource to remove
Throws:
JastorException
See Also:
_Resource.valueProperty

getIsDefinedBy

public info.aduna.collections.iterators.CloseableIterator<_Resource> getIsDefinedBy()
                                                                             throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'isDefinedBy' property values. This Iteartor may be used to remove all such values.

Specified by:
getIsDefinedBy in interface _Resource
Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
_Resource.isDefinedByProperty

addIsDefinedBy

public void addIsDefinedBy(_Resource isDefinedBy)
                    throws JastorException
Description copied from interface: _Resource
Adds a value for the 'isDefinedBy' property

Specified by:
addIsDefinedBy in interface _Resource
Parameters:
isDefinedBy - The _Resource to add
Throws:
JastorException
See Also:
_Resource.isDefinedByProperty

addIsDefinedBy

public _Resource addIsDefinedBy()
                         throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'isDefinedBy' property

Specified by:
addIsDefinedBy in interface _Resource
Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
_Resource.isDefinedByProperty

addIsDefinedBy

public _Resource addIsDefinedBy(org.openrdf.model.Resource resource)
                         throws JastorException
Description copied from interface: _Resource
Adds a value for the 'isDefinedBy' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addIsDefinedBy(org.openanzo.rdfs.dataset._Resource isDefinedBy) 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.

Specified by:
addIsDefinedBy in interface _Resource
Parameters:
resource - The Resource to add
Returns:
org.openanzo.rdfs.dataset._Resource, value added
Throws:
JastorException
See Also:
_Resource.isDefinedByProperty

removeIsDefinedBy

public void removeIsDefinedBy(_Resource isDefinedBy)
                       throws JastorException
Description copied from interface: _Resource
Removes a value for the 'isDefinedBy' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeIsDefinedBy in interface _Resource
Parameters:
isDefinedBy - The _Resource to remove
Throws:
JastorException
See Also:
_Resource.isDefinedByProperty

getMember

public info.aduna.collections.iterators.CloseableIterator<_Resource> getMember()
                                                                        throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'member' property values. This Iteartor may be used to remove all such values.

Specified by:
getMember in interface _Resource
Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
_Resource.memberProperty

addMember

public void addMember(_Resource member)
               throws JastorException
Description copied from interface: _Resource
Adds a value for the 'member' property

Specified by:
addMember in interface _Resource
Parameters:
member - The _Resource to add
Throws:
JastorException
See Also:
_Resource.memberProperty

addMember

public _Resource addMember()
                    throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'member' property

Specified by:
addMember in interface _Resource
Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
_Resource.memberProperty

addMember

public _Resource addMember(org.openrdf.model.Resource resource)
                    throws JastorException
Description copied from interface: _Resource
Adds a value for the 'member' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addMember(org.openanzo.rdfs.dataset._Resource member) 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.

Specified by:
addMember in interface _Resource
Parameters:
resource - The Resource to add
Returns:
org.openanzo.rdfs.dataset._Resource, value added
Throws:
JastorException
See Also:
_Resource.memberProperty

removeMember

public void removeMember(_Resource member)
                  throws JastorException
Description copied from interface: _Resource
Removes a value for the 'member' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeMember in interface _Resource
Parameters:
member - The _Resource to remove
Throws:
JastorException
See Also:
_Resource.memberProperty

getSeeAlso

public info.aduna.collections.iterators.CloseableIterator<_Resource> getSeeAlso()
                                                                         throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'seeAlso' property values. This Iteartor may be used to remove all such values.

Specified by:
getSeeAlso in interface _Resource
Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

addSeeAlso

public void addSeeAlso(_Resource seeAlso)
                throws JastorException
Description copied from interface: _Resource
Adds a value for the 'seeAlso' property

Specified by:
addSeeAlso in interface _Resource
Parameters:
seeAlso - The _Resource to add
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

addSeeAlso

public _Resource addSeeAlso()
                     throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'seeAlso' property

Specified by:
addSeeAlso in interface _Resource
Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

addSeeAlso

public _Resource addSeeAlso(org.openrdf.model.Resource resource)
                     throws JastorException
Description copied from interface: _Resource
Adds a value for the 'seeAlso' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addSeeAlso(org.openanzo.rdfs.dataset._Resource seeAlso) 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.

Specified by:
addSeeAlso in interface _Resource
Parameters:
resource - The Resource to add
Returns:
org.openanzo.rdfs.dataset._Resource, value added
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

removeSeeAlso

public void removeSeeAlso(_Resource seeAlso)
                   throws JastorException
Description copied from interface: _Resource
Removes a value for the 'seeAlso' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeSeeAlso in interface _Resource
Parameters:
seeAlso - The _Resource to remove
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

getDomain

public Class getDomain()
                throws JastorException
Description copied from interface: _Property
Gets the 'domain' property value

Specified by:
getDomain in interface _Property
Returns:
Class
Throws:
JastorException
See Also:
_Property.domainProperty

setDomain

public void setDomain(Class domain)
               throws JastorException
Description copied from interface: _Property
Sets the 'domain' property value

Specified by:
setDomain in interface _Property
Parameters:
domain - Class, value to set
Throws:
JastorException
See Also:
_Property.domainProperty

setDomain

public Class setDomain()
                throws JastorException
Description copied from interface: _Property
Sets the 'domain' property value to an anonymous node

Specified by:
setDomain in interface _Property
Returns:
Class, the created value
Throws:
JastorException
See Also:
_Property.domainProperty

setDomain

public Class setDomain(org.openrdf.model.Resource resource)
                throws JastorException
Description copied from interface: _Property
Sets the 'domain' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Class with the factory. and calling setDomain(org.openanzo.rdfs.dataset.Class domain) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
setDomain in interface _Property
Parameters:
resource - Resource must not be be null.
Returns:
Class, the newly created value
Throws:
JastorException
See Also:
_Property.domainProperty

getRange

public Class getRange()
               throws JastorException
Description copied from interface: _Property
Gets the 'range' property value

Specified by:
getRange in interface _Property
Returns:
Class
Throws:
JastorException
See Also:
_Property.rangeProperty

setRange

public void setRange(Class range)
              throws JastorException
Description copied from interface: _Property
Sets the 'range' property value

Specified by:
setRange in interface _Property
Parameters:
range - Class, value to set
Throws:
JastorException
See Also:
_Property.rangeProperty

setRange

public Class setRange()
               throws JastorException
Description copied from interface: _Property
Sets the 'range' property value to an anonymous node

Specified by:
setRange in interface _Property
Returns:
Class, the created value
Throws:
JastorException
See Also:
_Property.rangeProperty

setRange

public Class setRange(org.openrdf.model.Resource resource)
               throws JastorException
Description copied from interface: _Property
Sets the 'range' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Class with the factory. and calling setRange(org.openanzo.rdfs.dataset.Class range) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
setRange in interface _Property
Parameters:
resource - Resource must not be be null.
Returns:
Class, the newly created value
Throws:
JastorException
See Also:
_Property.rangeProperty

getSubPropertyOf

public info.aduna.collections.iterators.CloseableIterator<_Property> getSubPropertyOf()
                                                                               throws JastorException
Description copied from interface: _Property
Get an Iterator the 'subPropertyOf' property values. This Iteartor may be used to remove all such values.

Specified by:
getSubPropertyOf in interface _Property
Returns:
Iterator of _Property
Throws:
JastorException
See Also:
_Property.subPropertyOfProperty

addSubPropertyOf

public void addSubPropertyOf(_Property subPropertyOf)
                      throws JastorException
Description copied from interface: _Property
Adds a value for the 'subPropertyOf' property

Specified by:
addSubPropertyOf in interface _Property
Parameters:
subPropertyOf - The _Property to add
Throws:
JastorException
See Also:
_Property.subPropertyOfProperty

addSubPropertyOf

public _Property addSubPropertyOf()
                           throws JastorException
Description copied from interface: _Property
Adds an anonymous value for the 'subPropertyOf' property

Specified by:
addSubPropertyOf in interface _Property
Returns:
The anoymous _Property created
Throws:
JastorException
See Also:
_Property.subPropertyOfProperty

addSubPropertyOf

public _Property addSubPropertyOf(org.openrdf.model.Resource resource)
                           throws JastorException
Description copied from interface: _Property
Adds a value for the 'subPropertyOf' property. This method is equivalent constructing a new instance of _Property with the factory and calling addSubPropertyOf(org.openanzo.rdfs.dataset._Property subPropertyOf) 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.

Specified by:
addSubPropertyOf in interface _Property
Parameters:
resource - The Resource to add
Returns:
org.openanzo.rdfs.dataset._Property, value added
Throws:
JastorException
See Also:
_Property.subPropertyOfProperty

removeSubPropertyOf

public void removeSubPropertyOf(_Property subPropertyOf)
                         throws JastorException
Description copied from interface: _Property
Removes a value for the 'subPropertyOf' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeSubPropertyOf in interface _Property
Parameters:
subPropertyOf - The _Property to remove
Throws:
JastorException
See Also:
_Property.subPropertyOfProperty

getDataPropertyDomain

public Class getDataPropertyDomain()
                            throws JastorException
Description copied from interface: DatatypeProperty
Gets the 'dataPropertyDomain' property value

Specified by:
getDataPropertyDomain in interface DatatypeProperty
Returns:
Class
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyDomainProperty

setDataPropertyDomain

public void setDataPropertyDomain(Class dataPropertyDomain)
                           throws JastorException
Description copied from interface: DatatypeProperty
Sets the 'dataPropertyDomain' property value

Specified by:
setDataPropertyDomain in interface DatatypeProperty
Parameters:
dataPropertyDomain - Class, value to set
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyDomainProperty

setDataPropertyDomain

public Class setDataPropertyDomain()
                            throws JastorException
Description copied from interface: DatatypeProperty
Sets the 'dataPropertyDomain' property value to an anonymous node

Specified by:
setDataPropertyDomain in interface DatatypeProperty
Returns:
Class, the created value
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyDomainProperty

setDataPropertyDomain

public Class setDataPropertyDomain(org.openrdf.model.Resource resource)
                            throws JastorException
Description copied from interface: DatatypeProperty
Sets the 'dataPropertyDomain' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Class with the factory. and calling setDataPropertyDomain(org.openanzo.owl.dataset.Class dataPropertyDomain) 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.

Specified by:
setDataPropertyDomain in interface DatatypeProperty
Parameters:
resource - Resource must not be be null.
Returns:
Class, the newly created value
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyDomainProperty

getDataPropertyRange

public DataRange getDataPropertyRange()
                               throws JastorException
Description copied from interface: DatatypeProperty
Gets the 'dataPropertyRange' property value

Specified by:
getDataPropertyRange in interface DatatypeProperty
Returns:
DataRange
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyRangeProperty

setDataPropertyRange

public void setDataPropertyRange(DataRange dataPropertyRange)
                          throws JastorException
Description copied from interface: DatatypeProperty
Sets the 'dataPropertyRange' property value

Specified by:
setDataPropertyRange in interface DatatypeProperty
Parameters:
dataPropertyRange - DataRange, value to set
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyRangeProperty

setDataPropertyRange

public DataRange setDataPropertyRange()
                               throws JastorException
Description copied from interface: DatatypeProperty
Sets the 'dataPropertyRange' property value to an anonymous node

Specified by:
setDataPropertyRange in interface DatatypeProperty
Returns:
DataRange, the created value
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyRangeProperty

setDataPropertyRange

public DataRange setDataPropertyRange(org.openrdf.model.Resource resource)
                               throws JastorException
Description copied from interface: DatatypeProperty
Sets the 'dataPropertyRange' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of DataRange with the factory. and calling setDataPropertyRange(org.openanzo.owl.dataset.DataRange dataPropertyRange) 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.

Specified by:
setDataPropertyRange in interface DatatypeProperty
Parameters:
resource - Resource must not be be null.
Returns:
DataRange, the newly created value
Throws:
JastorException
See Also:
DatatypeProperty.dataPropertyRangeProperty

getDisjointDataProperties

public info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getDisjointDataProperties()
                                                                                               throws JastorException
Description copied from interface: DatatypeProperty
Get an Iterator the 'disjointDataProperties' property values. This Iteartor may be used to remove all such values.

Specified by:
getDisjointDataProperties in interface DatatypeProperty
Returns:
Iterator of DatatypeProperty
Throws:
JastorException
See Also:
DatatypeProperty.disjointDataPropertiesProperty

addDisjointDataProperties

public void addDisjointDataProperties(DatatypeProperty disjointDataProperties)
                               throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'disjointDataProperties' property

Specified by:
addDisjointDataProperties in interface DatatypeProperty
Parameters:
disjointDataProperties - The DatatypeProperty to add
Throws:
JastorException
See Also:
DatatypeProperty.disjointDataPropertiesProperty

addDisjointDataProperties

public DatatypeProperty addDisjointDataProperties()
                                           throws JastorException
Description copied from interface: DatatypeProperty
Adds an anonymous value for the 'disjointDataProperties' property

Specified by:
addDisjointDataProperties in interface DatatypeProperty
Returns:
The anoymous DatatypeProperty created
Throws:
JastorException
See Also:
DatatypeProperty.disjointDataPropertiesProperty

addDisjointDataProperties

public DatatypeProperty addDisjointDataProperties(org.openrdf.model.Resource resource)
                                           throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'disjointDataProperties' property. This method is equivalent constructing a new instance of DatatypeProperty with the factory and calling addDisjointDataProperties(org.openanzo.owl.dataset.DatatypeProperty disjointDataProperties) The resource argument have rdf:type http://www.w3.org/2002/07/owl#DatatypeProperty. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addDisjointDataProperties in interface DatatypeProperty
Parameters:
resource - The Resource to add
Returns:
org.openanzo.owl.dataset.DatatypeProperty, value added
Throws:
JastorException
See Also:
DatatypeProperty.disjointDataPropertiesProperty

removeDisjointDataProperties

public void removeDisjointDataProperties(DatatypeProperty disjointDataProperties)
                                  throws JastorException
Description copied from interface: DatatypeProperty
Removes a value for the 'disjointDataProperties' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeDisjointDataProperties in interface DatatypeProperty
Parameters:
disjointDataProperties - The DatatypeProperty to remove
Throws:
JastorException
See Also:
DatatypeProperty.disjointDataPropertiesProperty

getEquivalentDataProperty

public info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getEquivalentDataProperty()
                                                                                               throws JastorException
Description copied from interface: DatatypeProperty
Get an Iterator the 'equivalentDataProperty' property values. This Iteartor may be used to remove all such values.

Specified by:
getEquivalentDataProperty in interface DatatypeProperty
Returns:
Iterator of DatatypeProperty
Throws:
JastorException
See Also:
DatatypeProperty.equivalentDataPropertyProperty

addEquivalentDataProperty

public void addEquivalentDataProperty(DatatypeProperty equivalentDataProperty)
                               throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'equivalentDataProperty' property

Specified by:
addEquivalentDataProperty in interface DatatypeProperty
Parameters:
equivalentDataProperty - The DatatypeProperty to add
Throws:
JastorException
See Also:
DatatypeProperty.equivalentDataPropertyProperty

addEquivalentDataProperty

public DatatypeProperty addEquivalentDataProperty()
                                           throws JastorException
Description copied from interface: DatatypeProperty
Adds an anonymous value for the 'equivalentDataProperty' property

Specified by:
addEquivalentDataProperty in interface DatatypeProperty
Returns:
The anoymous DatatypeProperty created
Throws:
JastorException
See Also:
DatatypeProperty.equivalentDataPropertyProperty

addEquivalentDataProperty

public DatatypeProperty addEquivalentDataProperty(org.openrdf.model.Resource resource)
                                           throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'equivalentDataProperty' property. This method is equivalent constructing a new instance of DatatypeProperty with the factory and calling addEquivalentDataProperty(org.openanzo.owl.dataset.DatatypeProperty equivalentDataProperty) The resource argument have rdf:type http://www.w3.org/2002/07/owl#DatatypeProperty. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addEquivalentDataProperty in interface DatatypeProperty
Parameters:
resource - The Resource to add
Returns:
org.openanzo.owl.dataset.DatatypeProperty, value added
Throws:
JastorException
See Also:
DatatypeProperty.equivalentDataPropertyProperty

removeEquivalentDataProperty

public void removeEquivalentDataProperty(DatatypeProperty equivalentDataProperty)
                                  throws JastorException
Description copied from interface: DatatypeProperty
Removes a value for the 'equivalentDataProperty' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeEquivalentDataProperty in interface DatatypeProperty
Parameters:
equivalentDataProperty - The DatatypeProperty to remove
Throws:
JastorException
See Also:
DatatypeProperty.equivalentDataPropertyProperty

getSubDataPropertyOf

public info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getSubDataPropertyOf()
                                                                                          throws JastorException
Description copied from interface: DatatypeProperty
Get an Iterator the 'subDataPropertyOf' property values. This Iteartor may be used to remove all such values.

Specified by:
getSubDataPropertyOf in interface DatatypeProperty
Returns:
Iterator of DatatypeProperty
Throws:
JastorException
See Also:
DatatypeProperty.subDataPropertyOfProperty

addSubDataPropertyOf

public void addSubDataPropertyOf(DatatypeProperty subDataPropertyOf)
                          throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'subDataPropertyOf' property

Specified by:
addSubDataPropertyOf in interface DatatypeProperty
Parameters:
subDataPropertyOf - The DatatypeProperty to add
Throws:
JastorException
See Also:
DatatypeProperty.subDataPropertyOfProperty

addSubDataPropertyOf

public DatatypeProperty addSubDataPropertyOf()
                                      throws JastorException
Description copied from interface: DatatypeProperty
Adds an anonymous value for the 'subDataPropertyOf' property

Specified by:
addSubDataPropertyOf in interface DatatypeProperty
Returns:
The anoymous DatatypeProperty created
Throws:
JastorException
See Also:
DatatypeProperty.subDataPropertyOfProperty

addSubDataPropertyOf

public DatatypeProperty addSubDataPropertyOf(org.openrdf.model.Resource resource)
                                      throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'subDataPropertyOf' property. This method is equivalent constructing a new instance of DatatypeProperty with the factory and calling addSubDataPropertyOf(org.openanzo.owl.dataset.DatatypeProperty subDataPropertyOf) The resource argument have rdf:type http://www.w3.org/2002/07/owl#DatatypeProperty. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addSubDataPropertyOf in interface DatatypeProperty
Parameters:
resource - The Resource to add
Returns:
org.openanzo.owl.dataset.DatatypeProperty, value added
Throws:
JastorException
See Also:
DatatypeProperty.subDataPropertyOfProperty

removeSubDataPropertyOf

public void removeSubDataPropertyOf(DatatypeProperty subDataPropertyOf)
                             throws JastorException
Description copied from interface: DatatypeProperty
Removes a value for the 'subDataPropertyOf' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeSubDataPropertyOf in interface DatatypeProperty
Parameters:
subDataPropertyOf - The DatatypeProperty to remove
Throws:
JastorException
See Also:
DatatypeProperty.subDataPropertyOfProperty

getEquivalentProperty

public info.aduna.collections.iterators.CloseableIterator<DatatypeProperty> getEquivalentProperty()
                                                                                           throws JastorException
Description copied from interface: DatatypeProperty
Get an Iterator the 'equivalentProperty' property values. This Iteartor may be used to remove all such values.

Specified by:
getEquivalentProperty in interface DatatypeProperty
Returns:
Iterator of DatatypeProperty
Throws:
JastorException
See Also:
DatatypeProperty.equivalentPropertyProperty

addEquivalentProperty

public void addEquivalentProperty(DatatypeProperty equivalentProperty)
                           throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'equivalentProperty' property

Specified by:
addEquivalentProperty in interface DatatypeProperty
Parameters:
equivalentProperty - The DatatypeProperty to add
Throws:
JastorException
See Also:
DatatypeProperty.equivalentPropertyProperty

addEquivalentProperty

public DatatypeProperty addEquivalentProperty()
                                       throws JastorException
Description copied from interface: DatatypeProperty
Adds an anonymous value for the 'equivalentProperty' property

Specified by:
addEquivalentProperty in interface DatatypeProperty
Returns:
The anoymous DatatypeProperty created
Throws:
JastorException
See Also:
DatatypeProperty.equivalentPropertyProperty

addEquivalentProperty

public DatatypeProperty addEquivalentProperty(org.openrdf.model.Resource resource)
                                       throws JastorException
Description copied from interface: DatatypeProperty
Adds a value for the 'equivalentProperty' property. This method is equivalent constructing a new instance of DatatypeProperty with the factory and calling addEquivalentProperty(org.openanzo.owl.dataset.DatatypeProperty equivalentProperty) The resource argument have rdf:type http://www.w3.org/2002/07/owl#DatatypeProperty. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addEquivalentProperty in interface DatatypeProperty
Parameters:
resource - The Resource to add
Returns:
org.openanzo.owl.dataset.DatatypeProperty, value added
Throws:
JastorException
See Also:
DatatypeProperty.equivalentPropertyProperty

removeEquivalentProperty

public void removeEquivalentProperty(DatatypeProperty equivalentProperty)
                              throws JastorException
Description copied from interface: DatatypeProperty
Removes a value for the 'equivalentProperty' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeEquivalentProperty in interface DatatypeProperty
Parameters:
equivalentProperty - The DatatypeProperty to remove
Throws:
JastorException
See Also:
DatatypeProperty.equivalentPropertyProperty

registerWithEventManager

public void registerWithEventManager()
Register the object listeners with the dataset's event manager


unregisterWithEventManager

public void unregisterWithEventManager()
Unregister the object listeners with the dataset's event manager


registerListener

public void registerListener(FunctionalPropetyListener listener)
Description copied from interface: FunctionalPropety
Register a FunctionalPropetyListener

Specified by:
registerListener in interface FunctionalPropety
Parameters:
listener - FunctionalPropetyListener to register

unregisterListener

public void unregisterListener(FunctionalPropetyListener listener)
Description copied from interface: FunctionalPropety
Unregister a FunctionalPropetyListener

Specified by:
unregisterListener in interface FunctionalPropety
Parameters:
listener - FunctionalPropetyListener to unregister

registerListener

public void registerListener(_ResourceListener listener)
Description copied from interface: _Property
Register a org.openanzo.rdfs.dataset._ResourceListener

Specified by:
registerListener in interface _Property
Specified by:
registerListener in interface _Resource
Parameters:
listener - org.openanzo.rdfs.dataset._ResourceListener to register

unregisterListener

public void unregisterListener(_ResourceListener listener)
Description copied from interface: _Property
Unregister a org.openanzo.rdfs.dataset._ResourceListener

Specified by:
unregisterListener in interface _Property
Specified by:
unregisterListener in interface _Resource
Parameters:
listener - org.openanzo.rdfs.dataset._ResourceListener to unregister

registerListener

public void registerListener(_PropertyListener listener)
Description copied from interface: DatatypeProperty
Register a org.openanzo.rdfs.dataset._PropertyListener

Specified by:
registerListener in interface DatatypeProperty
Specified by:
registerListener in interface _Property
Parameters:
listener - org.openanzo.rdfs.dataset._PropertyListener to register

unregisterListener

public void unregisterListener(_PropertyListener listener)
Description copied from interface: DatatypeProperty
Unregister a org.openanzo.rdfs.dataset._PropertyListener

Specified by:
unregisterListener in interface DatatypeProperty
Specified by:
unregisterListener in interface _Property
Parameters:
listener - org.openanzo.rdfs.dataset._PropertyListener to unregister

registerListener

public void registerListener(DatatypePropertyListener listener)
Description copied from interface: DatatypeProperty
Register a DatatypePropertyListener

Specified by:
registerListener in interface DatatypeProperty
Specified by:
registerListener in interface FunctionalPropety
Parameters:
listener - DatatypePropertyListener to register

unregisterListener

public void unregisterListener(DatatypePropertyListener listener)
Description copied from interface: DatatypeProperty
Unregister a DatatypePropertyListener

Specified by:
unregisterListener in interface DatatypeProperty
Specified by:
unregisterListener in interface FunctionalPropety
Parameters:
listener - DatatypePropertyListener to unregister


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