org.openanzo.owl
Class ObjectPropertyImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.owl.ObjectPropertyImpl
All Implemented Interfaces:
CoreThing, GraphThing, ObjectProperty, _Property, _Resource

public class ObjectPropertyImpl
extends GraphThingImpl
implements ObjectProperty

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

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



Field Summary
 
Fields inherited from interface org.openanzo.owl.ObjectProperty
TYPE
 
Method Summary
 void addComment(java.lang.String comment)
          Add a 'comment' property value
 ObjectProperty addDisjointObjectProperties()
          Adds an anonymous value for the 'disjointObjectProperties' property
 void addDisjointObjectProperties(ObjectProperty disjointObjectProperties)
          Adds a value for the 'disjointObjectProperties' property
 ObjectProperty addDisjointObjectProperties(org.openrdf.model.Resource resource)
          Adds a value for the 'disjointObjectProperties' property.
 ObjectProperty addEquivalentObjectProperty()
          Adds an anonymous value for the 'equivalentObjectProperty' property
 void addEquivalentObjectProperty(ObjectProperty equivalentObjectProperty)
          Adds a value for the 'equivalentObjectProperty' property
 ObjectProperty addEquivalentObjectProperty(org.openrdf.model.Resource resource)
          Adds a value for the 'equivalentObjectProperty' property.
 ObjectProperty addInverseOf()
          Adds an anonymous value for the 'inverseOf' property
 void addInverseOf(ObjectProperty inverseOf)
          Adds a value for the 'inverseOf' property
 ObjectProperty addInverseOf(org.openrdf.model.Resource resource)
          Adds a value for the 'inverseOf' 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.
 ObjectProperty addSubObjectPropertyOf()
          Adds an anonymous value for the 'subObjectPropertyOf' property
 void addSubObjectPropertyOf(ObjectProperty subObjectPropertyOf)
          Adds a value for the 'subObjectPropertyOf' property
 ObjectProperty addSubObjectPropertyOf(org.openrdf.model.Resource resource)
          Adds a value for the 'subObjectPropertyOf' 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.
 info.aduna.collections.iterators.CloseableIterator<ObjectProperty> getDisjointObjectProperties()
          Get an Iterator the 'disjointObjectProperties' property values.
 Class getDomain()
          Gets the 'domain' property value
 info.aduna.collections.iterators.CloseableIterator<ObjectProperty> getEquivalentObjectProperty()
          Get an Iterator the 'equivalentObjectProperty' property values.
 info.aduna.collections.iterators.CloseableIterator<ObjectProperty> getInverseOf()
          Get an Iterator the 'inverseOf' 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 getObjectPropertyDomain()
          Gets the 'objectPropertyDomain' property value
 Class getObjectPropertyRange()
          Gets the 'objectPropertyRange' property value
 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<ObjectProperty> getSubObjectPropertyOf()
          Get an Iterator the 'subObjectPropertyOf' 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 removeComment(java.lang.String comment)
          Remove a 'comment' property value.
 void removeDisjointObjectProperties(ObjectProperty disjointObjectProperties)
          Removes a value for the 'disjointObjectProperties' property.
 void removeDisjointObjectProperties(org.openrdf.model.Resource disjointObjectProperties)
          Remove a 'disjointObjectProperties' property value.
 void removeEquivalentObjectProperty(ObjectProperty equivalentObjectProperty)
          Removes a value for the 'equivalentObjectProperty' property.
 void removeEquivalentObjectProperty(org.openrdf.model.Resource equivalentObjectProperty)
          Remove a 'equivalentObjectProperty' property value.
 void removeInverseOf(ObjectProperty inverseOf)
          Removes a value for the 'inverseOf' property.
 void removeInverseOf(org.openrdf.model.Resource inverseOf)
          Remove a 'inverseOf' property value.
 void removeIsDefinedBy(_Resource isDefinedBy)
          Removes a value for the 'isDefinedBy' property.
 void removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
          Remove a 'isDefinedBy' property value.
 void removeLabel(java.lang.String label)
          Remove a 'label' property value.
 void removeMember(_Resource member)
          Removes a value for the 'member' property.
 void removeMember(org.openrdf.model.Resource member)
          Remove a 'member' property value.
 void removeSeeAlso(_Resource seeAlso)
          Removes a value for the 'seeAlso' property.
 void removeSeeAlso(org.openrdf.model.Resource seeAlso)
          Remove a 'seeAlso' property value.
 void removeSubObjectPropertyOf(ObjectProperty subObjectPropertyOf)
          Removes a value for the 'subObjectPropertyOf' property.
 void removeSubObjectPropertyOf(org.openrdf.model.Resource subObjectPropertyOf)
          Remove a 'subObjectPropertyOf' property value.
 void removeSubPropertyOf(_Property subPropertyOf)
          Removes a value for the 'subPropertyOf' property.
 void removeSubPropertyOf(org.openrdf.model.Resource subPropertyOf)
          Remove a 'subPropertyOf' property value.
 void removeType(Class type)
          Removes a value for the 'type' property.
 void removeType(org.openrdf.model.Resource type)
          Remove a 'type' property value.
 void removeValue(_Resource value)
          Removes a value for the 'value' property.
 void removeValue(org.openrdf.model.Resource value)
          Remove a 'value' property value.
 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 setObjectPropertyDomain()
          Sets the 'objectPropertyDomain' property value to an anonymous node
 void setObjectPropertyDomain(Class objectPropertyDomain)
          Sets the 'objectPropertyDomain' property value
 Class setObjectPropertyDomain(org.openrdf.model.Resource resource)
          Sets the 'objectPropertyDomain' property value to the given resource, and add's rdf:type properties.
 Class setObjectPropertyRange()
          Sets the 'objectPropertyRange' property value to an anonymous node
 void setObjectPropertyRange(Class objectPropertyRange)
          Sets the 'objectPropertyRange' property value
 Class setObjectPropertyRange(org.openrdf.model.Resource resource)
          Sets the 'objectPropertyRange' 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.
 
Methods inherited from class org.openanzo.jastor.GraphThingImpl
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, 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.GraphThing
getProperties, getPropertyValue, getPropertyValue, graph, 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 GraphThingImpl
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.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:
The org.openanzo.rdfs.Class created
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

removeType

public void removeType(org.openrdf.model.Resource type)
                throws JastorException
Description copied from interface: _Resource
Remove a 'type' 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:
removeType in interface _Resource
Parameters:
type - Class, the value 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._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:
The org.openanzo.rdfs._Resource created
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

removeValue

public void removeValue(org.openrdf.model.Resource value)
                 throws JastorException
Description copied from interface: _Resource
Remove a 'value' 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:
removeValue in interface _Resource
Parameters:
value - _Resource, the value 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._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:
The org.openanzo.rdfs._Resource created
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

removeIsDefinedBy

public void removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
                       throws JastorException
Description copied from interface: _Resource
Remove a 'isDefinedBy' 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:
removeIsDefinedBy in interface _Resource
Parameters:
isDefinedBy - _Resource, the value 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._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:
The org.openanzo.rdfs._Resource created
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

removeMember

public void removeMember(org.openrdf.model.Resource member)
                  throws JastorException
Description copied from interface: _Resource
Remove a 'member' 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:
removeMember in interface _Resource
Parameters:
member - _Resource, the value 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._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:
The org.openanzo.rdfs._Resource created
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

removeSeeAlso

public void removeSeeAlso(org.openrdf.model.Resource seeAlso)
                   throws JastorException
Description copied from interface: _Resource
Remove a 'seeAlso' 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:
removeSeeAlso in interface _Resource
Parameters:
seeAlso - _Resource, the value 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
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.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
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.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._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:
The org.openanzo.rdfs._Property created
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

removeSubPropertyOf

public void removeSubPropertyOf(org.openrdf.model.Resource subPropertyOf)
                         throws JastorException
Description copied from interface: _Property
Remove a 'subPropertyOf' 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:
removeSubPropertyOf in interface _Property
Parameters:
subPropertyOf - _Property, the value to remove
Throws:
JastorException
See Also:
_Property.subPropertyOfProperty

getDisjointObjectProperties

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

Specified by:
getDisjointObjectProperties in interface ObjectProperty
Returns:
Iterator of ObjectProperty
Throws:
JastorException
See Also:
ObjectProperty.disjointObjectPropertiesProperty

addDisjointObjectProperties

public void addDisjointObjectProperties(ObjectProperty disjointObjectProperties)
                                 throws JastorException
Description copied from interface: ObjectProperty
Adds a value for the 'disjointObjectProperties' property

Specified by:
addDisjointObjectProperties in interface ObjectProperty
Parameters:
disjointObjectProperties - The ObjectProperty to add
Throws:
JastorException
See Also:
ObjectProperty.disjointObjectPropertiesProperty

addDisjointObjectProperties

public ObjectProperty addDisjointObjectProperties()
                                           throws JastorException
Description copied from interface: ObjectProperty
Adds an anonymous value for the 'disjointObjectProperties' property

Specified by:
addDisjointObjectProperties in interface ObjectProperty
Returns:
The anoymous ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.disjointObjectPropertiesProperty

addDisjointObjectProperties

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

Specified by:
addDisjointObjectProperties in interface ObjectProperty
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.owl.ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.disjointObjectPropertiesProperty

removeDisjointObjectProperties

public void removeDisjointObjectProperties(ObjectProperty disjointObjectProperties)
                                    throws JastorException
Description copied from interface: ObjectProperty
Removes a value for the 'disjointObjectProperties' 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:
removeDisjointObjectProperties in interface ObjectProperty
Parameters:
disjointObjectProperties - The ObjectProperty to remove
Throws:
JastorException
See Also:
ObjectProperty.disjointObjectPropertiesProperty

removeDisjointObjectProperties

public void removeDisjointObjectProperties(org.openrdf.model.Resource disjointObjectProperties)
                                    throws JastorException
Description copied from interface: ObjectProperty
Remove a 'disjointObjectProperties' 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:
removeDisjointObjectProperties in interface ObjectProperty
Parameters:
disjointObjectProperties - ObjectProperty, the value to remove
Throws:
JastorException
See Also:
ObjectProperty.disjointObjectPropertiesProperty

getEquivalentObjectProperty

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

Specified by:
getEquivalentObjectProperty in interface ObjectProperty
Returns:
Iterator of ObjectProperty
Throws:
JastorException
See Also:
ObjectProperty.equivalentObjectPropertyProperty

addEquivalentObjectProperty

public void addEquivalentObjectProperty(ObjectProperty equivalentObjectProperty)
                                 throws JastorException
Description copied from interface: ObjectProperty
Adds a value for the 'equivalentObjectProperty' property

Specified by:
addEquivalentObjectProperty in interface ObjectProperty
Parameters:
equivalentObjectProperty - The ObjectProperty to add
Throws:
JastorException
See Also:
ObjectProperty.equivalentObjectPropertyProperty

addEquivalentObjectProperty

public ObjectProperty addEquivalentObjectProperty()
                                           throws JastorException
Description copied from interface: ObjectProperty
Adds an anonymous value for the 'equivalentObjectProperty' property

Specified by:
addEquivalentObjectProperty in interface ObjectProperty
Returns:
The anoymous ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.equivalentObjectPropertyProperty

addEquivalentObjectProperty

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

Specified by:
addEquivalentObjectProperty in interface ObjectProperty
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.owl.ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.equivalentObjectPropertyProperty

removeEquivalentObjectProperty

public void removeEquivalentObjectProperty(ObjectProperty equivalentObjectProperty)
                                    throws JastorException
Description copied from interface: ObjectProperty
Removes a value for the 'equivalentObjectProperty' 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:
removeEquivalentObjectProperty in interface ObjectProperty
Parameters:
equivalentObjectProperty - The ObjectProperty to remove
Throws:
JastorException
See Also:
ObjectProperty.equivalentObjectPropertyProperty

removeEquivalentObjectProperty

public void removeEquivalentObjectProperty(org.openrdf.model.Resource equivalentObjectProperty)
                                    throws JastorException
Description copied from interface: ObjectProperty
Remove a 'equivalentObjectProperty' 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:
removeEquivalentObjectProperty in interface ObjectProperty
Parameters:
equivalentObjectProperty - ObjectProperty, the value to remove
Throws:
JastorException
See Also:
ObjectProperty.equivalentObjectPropertyProperty

getObjectPropertyDomain

public Class getObjectPropertyDomain()
                              throws JastorException
Description copied from interface: ObjectProperty
Gets the 'objectPropertyDomain' property value

Specified by:
getObjectPropertyDomain in interface ObjectProperty
Returns:
Class
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyDomainProperty

setObjectPropertyDomain

public void setObjectPropertyDomain(Class objectPropertyDomain)
                             throws JastorException
Description copied from interface: ObjectProperty
Sets the 'objectPropertyDomain' property value

Specified by:
setObjectPropertyDomain in interface ObjectProperty
Parameters:
objectPropertyDomain - Class
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyDomainProperty

setObjectPropertyDomain

public Class setObjectPropertyDomain()
                              throws JastorException
Description copied from interface: ObjectProperty
Sets the 'objectPropertyDomain' property value to an anonymous node

Specified by:
setObjectPropertyDomain in interface ObjectProperty
Returns:
Class, the created value
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyDomainProperty

setObjectPropertyDomain

public Class setObjectPropertyDomain(org.openrdf.model.Resource resource)
                              throws JastorException
Description copied from interface: ObjectProperty
Sets the 'objectPropertyDomain' 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 setObjectPropertyDomain(org.openanzo.owl.Class objectPropertyDomain) 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:
setObjectPropertyDomain in interface ObjectProperty
Parameters:
resource - Resource must not be be null.
Returns:
Class, the newly created value
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyDomainProperty

getObjectPropertyRange

public Class getObjectPropertyRange()
                             throws JastorException
Description copied from interface: ObjectProperty
Gets the 'objectPropertyRange' property value

Specified by:
getObjectPropertyRange in interface ObjectProperty
Returns:
Class
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyRangeProperty

setObjectPropertyRange

public void setObjectPropertyRange(Class objectPropertyRange)
                            throws JastorException
Description copied from interface: ObjectProperty
Sets the 'objectPropertyRange' property value

Specified by:
setObjectPropertyRange in interface ObjectProperty
Parameters:
objectPropertyRange - Class
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyRangeProperty

setObjectPropertyRange

public Class setObjectPropertyRange()
                             throws JastorException
Description copied from interface: ObjectProperty
Sets the 'objectPropertyRange' property value to an anonymous node

Specified by:
setObjectPropertyRange in interface ObjectProperty
Returns:
Class, the created value
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyRangeProperty

setObjectPropertyRange

public Class setObjectPropertyRange(org.openrdf.model.Resource resource)
                             throws JastorException
Description copied from interface: ObjectProperty
Sets the 'objectPropertyRange' 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 setObjectPropertyRange(org.openanzo.owl.Class objectPropertyRange) 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:
setObjectPropertyRange in interface ObjectProperty
Parameters:
resource - Resource must not be be null.
Returns:
Class, the newly created value
Throws:
JastorException
See Also:
ObjectProperty.objectPropertyRangeProperty

getSubObjectPropertyOf

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

Specified by:
getSubObjectPropertyOf in interface ObjectProperty
Returns:
Iterator of ObjectProperty
Throws:
JastorException
See Also:
ObjectProperty.subObjectPropertyOfProperty

addSubObjectPropertyOf

public void addSubObjectPropertyOf(ObjectProperty subObjectPropertyOf)
                            throws JastorException
Description copied from interface: ObjectProperty
Adds a value for the 'subObjectPropertyOf' property

Specified by:
addSubObjectPropertyOf in interface ObjectProperty
Parameters:
subObjectPropertyOf - The ObjectProperty to add
Throws:
JastorException
See Also:
ObjectProperty.subObjectPropertyOfProperty

addSubObjectPropertyOf

public ObjectProperty addSubObjectPropertyOf()
                                      throws JastorException
Description copied from interface: ObjectProperty
Adds an anonymous value for the 'subObjectPropertyOf' property

Specified by:
addSubObjectPropertyOf in interface ObjectProperty
Returns:
The anoymous ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.subObjectPropertyOfProperty

addSubObjectPropertyOf

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

Specified by:
addSubObjectPropertyOf in interface ObjectProperty
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.owl.ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.subObjectPropertyOfProperty

removeSubObjectPropertyOf

public void removeSubObjectPropertyOf(ObjectProperty subObjectPropertyOf)
                               throws JastorException
Description copied from interface: ObjectProperty
Removes a value for the 'subObjectPropertyOf' 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:
removeSubObjectPropertyOf in interface ObjectProperty
Parameters:
subObjectPropertyOf - The ObjectProperty to remove
Throws:
JastorException
See Also:
ObjectProperty.subObjectPropertyOfProperty

removeSubObjectPropertyOf

public void removeSubObjectPropertyOf(org.openrdf.model.Resource subObjectPropertyOf)
                               throws JastorException
Description copied from interface: ObjectProperty
Remove a 'subObjectPropertyOf' 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:
removeSubObjectPropertyOf in interface ObjectProperty
Parameters:
subObjectPropertyOf - ObjectProperty, the value to remove
Throws:
JastorException
See Also:
ObjectProperty.subObjectPropertyOfProperty

getInverseOf

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

Specified by:
getInverseOf in interface ObjectProperty
Returns:
Iterator of ObjectProperty
Throws:
JastorException
See Also:
ObjectProperty.inverseOfProperty

addInverseOf

public void addInverseOf(ObjectProperty inverseOf)
                  throws JastorException
Description copied from interface: ObjectProperty
Adds a value for the 'inverseOf' property

Specified by:
addInverseOf in interface ObjectProperty
Parameters:
inverseOf - The ObjectProperty to add
Throws:
JastorException
See Also:
ObjectProperty.inverseOfProperty

addInverseOf

public ObjectProperty addInverseOf()
                            throws JastorException
Description copied from interface: ObjectProperty
Adds an anonymous value for the 'inverseOf' property

Specified by:
addInverseOf in interface ObjectProperty
Returns:
The anoymous ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.inverseOfProperty

addInverseOf

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

Specified by:
addInverseOf in interface ObjectProperty
Parameters:
resource - The Resource to add
Returns:
The org.openanzo.owl.ObjectProperty created
Throws:
JastorException
See Also:
ObjectProperty.inverseOfProperty

removeInverseOf

public void removeInverseOf(ObjectProperty inverseOf)
                     throws JastorException
Description copied from interface: ObjectProperty
Removes a value for the 'inverseOf' 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:
removeInverseOf in interface ObjectProperty
Parameters:
inverseOf - The ObjectProperty to remove
Throws:
JastorException
See Also:
ObjectProperty.inverseOfProperty

removeInverseOf

public void removeInverseOf(org.openrdf.model.Resource inverseOf)
                     throws JastorException
Description copied from interface: ObjectProperty
Remove a 'inverseOf' 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:
removeInverseOf in interface ObjectProperty
Parameters:
inverseOf - ObjectProperty, the value to remove
Throws:
JastorException
See Also:
ObjectProperty.inverseOfProperty


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