org.openanzo.owl
Interface OWLEntity

All Superinterfaces:
_Resource, CoreThing, GraphThing
All Known Subinterfaces:
AnnotationProperty, Individual
All Known Implementing Classes:
AnnotationPropertyImpl, IndividualImpl, OWLEntityImpl

public interface OWLEntity
extends _Resource, GraphThing

Interface for OWLEntity ontology class
Use the org.openanzo.owl.OWL11Factory to create instances of this interface.

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





Field Summary
static org.openrdf.model.URI differentFromProperty
          The Anzo Property for differentFrom
static org.openrdf.model.URI sameAsProperty
          The Anzo Property for sameAs
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Fields inherited from interface org.openanzo.rdfs._Resource
commentProperty, isDefinedByProperty, labelProperty, memberProperty, seeAlsoProperty, typeProperty, valueProperty
 
Method Summary
 OWLEntity addDifferentFrom()
          Adds an anonymous value for the 'differentFrom' property
 void addDifferentFrom(OWLEntity differentFrom)
          Adds a value for the 'differentFrom' property
 OWLEntity addDifferentFrom(org.openrdf.model.Resource resource)
          Adds a value for the 'differentFrom' property.
 OWLEntity addSameAs()
          Adds an anonymous value for the 'sameAs' property
 void addSameAs(OWLEntity sameAs)
          Adds a value for the 'sameAs' property
 OWLEntity addSameAs(org.openrdf.model.Resource resource)
          Adds a value for the 'sameAs' property.
 info.aduna.collections.iterators.CloseableIterator<OWLEntity> getDifferentFrom()
          Get an Iterator the 'differentFrom' property values.
 info.aduna.collections.iterators.CloseableIterator<OWLEntity> getSameAs()
          Get an Iterator the 'sameAs' property values.
 void removeDifferentFrom(OWLEntity differentFrom)
          Removes a value for the 'differentFrom' property.
 void removeDifferentFrom(org.openrdf.model.Resource differentFrom)
          Remove a 'differentFrom' property value.
 void removeSameAs(OWLEntity sameAs)
          Removes a value for the 'sameAs' property.
 void removeSameAs(org.openrdf.model.Resource sameAs)
          Remove a 'sameAs' property value.
 
Methods inherited from interface org.openanzo.rdfs._Resource
addComment, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addLabel, addMember, addMember, addMember, addSeeAlso, addSeeAlso, addSeeAlso, addType, addType, addType, addValue, addValue, addValue, getComment, getIsDefinedBy, getLabel, getMember, getSeeAlso, getType, getValue, removeComment, removeIsDefinedBy, removeIsDefinedBy, removeLabel, removeMember, removeMember, removeSeeAlso, removeSeeAlso, removeType, removeType, removeValue, removeValue
 
Methods inherited from interface org.openanzo.jastor.GraphThing
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue
 
Methods inherited from interface org.openanzo.jastor.CoreThing
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri
 

Field Detail

TYPE

static final org.openrdf.model.URI TYPE
The rdf:type for this ontology class


differentFromProperty

static final org.openrdf.model.URI differentFromProperty
The Anzo Property for differentFrom

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



sameAsProperty

static final org.openrdf.model.URI sameAsProperty
The Anzo Property for sameAs

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


Method Detail

getDifferentFrom

info.aduna.collections.iterators.CloseableIterator<OWLEntity> getDifferentFrom()
                                                                               throws JastorException
Get an Iterator the 'differentFrom' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of OWLEntity
Throws:
JastorException
See Also:
differentFromProperty

addDifferentFrom

void addDifferentFrom(OWLEntity differentFrom)
                      throws JastorException
Adds a value for the 'differentFrom' property

Parameters:
differentFrom - The OWLEntity to add
Throws:
JastorException
See Also:
differentFromProperty

addDifferentFrom

OWLEntity addDifferentFrom()
                           throws JastorException
Adds an anonymous value for the 'differentFrom' property

Returns:
The anoymous OWLEntity created
Throws:
JastorException
See Also:
differentFromProperty

addDifferentFrom

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

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.owl.OWLEntity created
Throws:
JastorException
See Also:
differentFromProperty

removeDifferentFrom

void removeDifferentFrom(OWLEntity differentFrom)
                         throws JastorException
Removes a value for the 'differentFrom' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
differentFrom - The OWLEntity to remove
Throws:
JastorException
See Also:
differentFromProperty

removeDifferentFrom

void removeDifferentFrom(org.openrdf.model.Resource differentFrom)
                         throws JastorException
Remove a 'differentFrom' 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.

Parameters:
differentFrom - OWLEntity, the value to remove
Throws:
JastorException
See Also:
differentFromProperty

getSameAs

info.aduna.collections.iterators.CloseableIterator<OWLEntity> getSameAs()
                                                                        throws JastorException
Get an Iterator the 'sameAs' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of OWLEntity
Throws:
JastorException
See Also:
sameAsProperty

addSameAs

void addSameAs(OWLEntity sameAs)
               throws JastorException
Adds a value for the 'sameAs' property

Parameters:
sameAs - The OWLEntity to add
Throws:
JastorException
See Also:
sameAsProperty

addSameAs

OWLEntity addSameAs()
                    throws JastorException
Adds an anonymous value for the 'sameAs' property

Returns:
The anoymous OWLEntity created
Throws:
JastorException
See Also:
sameAsProperty

addSameAs

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

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.owl.OWLEntity created
Throws:
JastorException
See Also:
sameAsProperty

removeSameAs

void removeSameAs(OWLEntity sameAs)
                  throws JastorException
Removes a value for the 'sameAs' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
sameAs - The OWLEntity to remove
Throws:
JastorException
See Also:
sameAsProperty

removeSameAs

void removeSameAs(org.openrdf.model.Resource sameAs)
                  throws JastorException
Remove a 'sameAs' 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.

Parameters:
sameAs - OWLEntity, the value to remove
Throws:
JastorException
See Also:
sameAsProperty


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