|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.manchester.cs.owl.OWLObjectImpl
uk.ac.manchester.cs.owl.OWLIndividualImpl
public class OWLIndividualImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Oct-2006
Method Summary | ||
---|---|---|
void |
accept(OWLEntityVisitor visitor)
|
|
|
accept(OWLEntityVisitorEx<O> visitor)
|
|
void |
accept(OWLNamedObjectVisitor visitor)
|
|
void |
accept(OWLObjectVisitor visitor)
|
|
|
accept(OWLObjectVisitorEx<O> visitor)
|
|
OWLClass |
asOWLClass()
A convenience method that obtains this entity as an OWLClass (in order to avoid explicit casting). |
|
OWLDataProperty |
asOWLDataProperty()
A convenience method that obtains this entity as an OWLDataProperty (in order to avoid explicit casting). |
|
OWLDataType |
asOWLDataType()
A convenience method that obtains this entity as an OWLDataType (in order to avoid explicit casting). |
|
OWLIndividual |
asOWLIndividual()
A convenience method that obtains this entity as an OWLIndividual (in order to avoid explicit casting). |
|
OWLObjectProperty |
asOWLObjectProperty()
A convenience method that obtains this entity as an OWLObjectProperty (in order to avoid explicit casting). |
|
boolean |
equals(java.lang.Object obj)
|
|
java.util.Set<OWLAnnotationAxiom> |
getAnnotationAxioms(OWLOntology ontology)
|
|
java.util.Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology)
Obtains annotations on this entity where the annotation have been asserted on the specified entity. |
|
java.util.Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology,
java.net.URI annotationURI)
Obtains the annotations on this entity where the annotation has the specified URI. |
|
java.util.Map<OWLDataPropertyExpression,java.util.Set<OWLConstant>> |
getDataPropertyValues(OWLOntology ontology)
Gets the data property values for this individual |
|
java.util.Set<OWLIndividual> |
getDifferentIndividuals(OWLOntology ontology)
A convenience method that examines axioms in the specified ontology to determine the individuals that are asserted to be different to this individual. |
|
java.util.Set<OWLDataPropertyAssertionAxiom> |
getIndividualDataRelationshipAxioms(OWLOntology ontology)
|
|
java.util.Set<OWLNegativeDataPropertyAssertionAxiom> |
getIndividualNotDataRelationshipAxioms(OWLOntology ontology)
|
|
java.util.Set<OWLNegativeObjectPropertyAssertionAxiom> |
getIndividualNotObjectRelationshipAxioms(OWLOntology ontology)
|
|
java.util.Set<OWLObjectPropertyAssertionAxiom> |
getIndividualObjectRelationshipAxioms(OWLOntology ontology)
|
|
java.util.Set<OWLClassAssertionAxiom> |
getIndividualTypeAxioms(OWLOntology ontology)
|
|
java.util.Map<OWLDataPropertyExpression,java.util.Set<OWLConstant>> |
getNegativeDataPropertyValues(OWLOntology ontology)
Gets the data property values that are explicitly asserted NOT to hold for this individual |
|
java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLIndividual>> |
getNegativeObjectPropertyValues(OWLOntology ontology)
Gets the object property values that are explicitly asserted NOT to hold for this individual |
|
java.util.Map<OWLProperty,java.util.Set<OWLObject>> |
getNPropertyValues(OWLOntology ontology)
|
|
java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLIndividual>> |
getObjectPropertyValues(OWLOntology ontology)
Gets the object property values for this individual. |
|
java.util.Map<OWLProperty,java.util.Set<OWLObject>> |
getPropertyValues(OWLOntology ontology)
|
|
java.util.Set<OWLIndividual> |
getSameIndividuals(OWLOntology ontology)
A convenience method that examines axioms in the specified ontology to determine the individuals that are asserted to be the same as this individual. |
|
java.util.Set<OWLDescription> |
getTypes(OWLOntology ontology)
A convenience method, which gets the types of this individual, that correspond to the types asserted with axioms in the specified ontology. |
|
java.util.Set<OWLDescription> |
getTypes(java.util.Set<OWLOntology> ontologies)
A convenience method that gets the types of this individual by examining the specified ontologies. |
|
java.net.URI |
getURI()
Gets the URI |
|
boolean |
isAnonymous()
Determines if this object represents an anonymous individual. |
|
boolean |
isOWLClass()
A convenience method that determines if this entity is an OWLClass |
|
boolean |
isOWLDataProperty()
A convenience method that determines if this entity is an OWLDataProperty |
|
boolean |
isOWLDataType()
A convenience method that determines if this entity is an OWLDataType |
|
boolean |
isOWLIndividual()
A convenience method that determines if this entity is an OWLIndividual |
|
boolean |
isOWLObjectProperty()
A convenience method that determines if this entity is an OWLObjectProperty |
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl |
---|
compareTo, getOWLDataFactory, getSignature, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.semanticweb.owl.model.OWLObject |
---|
getSignature |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
public java.net.URI getURI()
getURI
in interface OWLNamedObject
URI
that represents the name
of the objectpublic boolean isAnonymous()
isAnonymous
in interface OWLIndividual
true
if this object represents an anonymous
individual (OWLAnonymousIndividual)
or false
if this object represents a named individual (OWLIndividual
)public java.util.Set<OWLDescription> getTypes(OWLOntology ontology)
OWLIndividual
getTypes
in interface OWLIndividual
ontology
- The ontology that should be examined for class assertion
axioms in order to get the types for this individual.
public java.util.Set<OWLDescription> getTypes(java.util.Set<OWLOntology> ontologies)
OWLIndividual
getTypes
in interface OWLIndividual
ontologies
- The ontologies to be examined for class assertions
public java.util.Map<OWLProperty,java.util.Set<OWLObject>> getPropertyValues(OWLOntology ontology)
public java.util.Map<OWLProperty,java.util.Set<OWLObject>> getNPropertyValues(OWLOntology ontology)
public java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLIndividual>> getObjectPropertyValues(OWLOntology ontology)
OWLIndividual
getObjectPropertyValues
in interface OWLIndividual
public java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLIndividual>> getNegativeObjectPropertyValues(OWLOntology ontology)
OWLIndividual
getNegativeObjectPropertyValues
in interface OWLIndividual
ontology
- The ontology that should be examined for axioms
public java.util.Map<OWLDataPropertyExpression,java.util.Set<OWLConstant>> getDataPropertyValues(OWLOntology ontology)
OWLIndividual
getDataPropertyValues
in interface OWLIndividual
public java.util.Map<OWLDataPropertyExpression,java.util.Set<OWLConstant>> getNegativeDataPropertyValues(OWLOntology ontology)
OWLIndividual
getNegativeDataPropertyValues
in interface OWLIndividual
ontology
- The ontology that should be examined for axioms
public java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntity
getAnnotations
in interface OWLEntity
public java.util.Set<OWLAnnotationAxiom> getAnnotationAxioms(OWLOntology ontology)
getAnnotationAxioms
in interface OWLEntity
public java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology, java.net.URI annotationURI)
OWLEntity
getAnnotations
in interface OWLEntity
ontology
- The ontology to examine for annotation axiomsannotationURI
- The annotation URI
OWLAnnotation
objects that have the specified
URI.public java.util.Set<OWLClassAssertionAxiom> getIndividualTypeAxioms(OWLOntology ontology)
public java.util.Set<OWLObjectPropertyAssertionAxiom> getIndividualObjectRelationshipAxioms(OWLOntology ontology)
public java.util.Set<OWLDataPropertyAssertionAxiom> getIndividualDataRelationshipAxioms(OWLOntology ontology)
public java.util.Set<OWLIndividual> getSameIndividuals(OWLOntology ontology)
OWLIndividual
getSameIndividuals
in interface OWLIndividual
public java.util.Set<OWLIndividual> getDifferentIndividuals(OWLOntology ontology)
OWLIndividual
getDifferentIndividuals
in interface OWLIndividual
public java.util.Set<OWLNegativeObjectPropertyAssertionAxiom> getIndividualNotObjectRelationshipAxioms(OWLOntology ontology) throws OWLException
OWLException
public java.util.Set<OWLNegativeDataPropertyAssertionAxiom> getIndividualNotDataRelationshipAxioms(OWLOntology ontology) throws OWLException
OWLException
public OWLClass asOWLClass()
OWLEntity
asOWLClass
in interface OWLEntity
public OWLDataProperty asOWLDataProperty()
OWLEntity
asOWLDataProperty
in interface OWLEntity
public OWLDataType asOWLDataType()
OWLEntity
asOWLDataType
in interface OWLEntity
public OWLIndividual asOWLIndividual()
OWLEntity
asOWLIndividual
in interface OWLEntity
public OWLObjectProperty asOWLObjectProperty()
OWLEntity
asOWLObjectProperty
in interface OWLEntity
public boolean isOWLClass()
OWLEntity
isOWLClass
in interface OWLEntity
true
if this entity is an OWLClass, otherwise false
public boolean isOWLDataProperty()
OWLEntity
isOWLDataProperty
in interface OWLEntity
true
if this entity is an OWLDataProperty, otherwise false
public boolean isOWLDataType()
OWLEntity
isOWLDataType
in interface OWLEntity
true
if this entity is an OWLDataType, otherwise false
public boolean isOWLIndividual()
OWLEntity
isOWLIndividual
in interface OWLEntity
true
if this entity is an OWLIndividual, otherwise false
public boolean isOWLObjectProperty()
OWLEntity
isOWLObjectProperty
in interface OWLEntity
true
if this entity is an OWLObjectProperty, otherwise false
public boolean equals(java.lang.Object obj)
equals
in class OWLObjectImpl
public void accept(OWLEntityVisitor visitor)
accept
in interface OWLEntity
public void accept(OWLObjectVisitor visitor)
accept
in interface OWLObject
public void accept(OWLNamedObjectVisitor visitor)
accept
in interface OWLNamedObject
public <O> O accept(OWLEntityVisitorEx<O> visitor)
accept
in interface OWLEntity
public <O> O accept(OWLObjectVisitorEx<O> visitor)
accept
in interface OWLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |