|
||||||||||
| 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 OWLNamedObjectURI that represents the name
of the objectpublic boolean isAnonymous()
isAnonymous in interface OWLIndividualtrue 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 OWLIndividualontology - 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 OWLIndividualontologies - 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 OWLIndividualpublic java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLIndividual>> getNegativeObjectPropertyValues(OWLOntology ontology)
OWLIndividual
getNegativeObjectPropertyValues in interface OWLIndividualontology - The ontology that should be examined for axioms
public java.util.Map<OWLDataPropertyExpression,java.util.Set<OWLConstant>> getDataPropertyValues(OWLOntology ontology)
OWLIndividual
getDataPropertyValues in interface OWLIndividualpublic java.util.Map<OWLDataPropertyExpression,java.util.Set<OWLConstant>> getNegativeDataPropertyValues(OWLOntology ontology)
OWLIndividual
getNegativeDataPropertyValues in interface OWLIndividualontology - The ontology that should be examined for axioms
public java.util.Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntity
getAnnotations in interface OWLEntitypublic 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 OWLEntityontology - 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 OWLIndividualpublic 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
OWLExceptionpublic OWLClass asOWLClass()
OWLEntity
asOWLClass in interface OWLEntitypublic OWLDataProperty asOWLDataProperty()
OWLEntity
asOWLDataProperty in interface OWLEntitypublic OWLDataType asOWLDataType()
OWLEntity
asOWLDataType in interface OWLEntitypublic OWLIndividual asOWLIndividual()
OWLEntity
asOWLIndividual in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty()
OWLEntity
asOWLObjectProperty in interface OWLEntitypublic boolean isOWLClass()
OWLEntity
isOWLClass in interface OWLEntitytrue if this entity is an OWLClass, otherwise falsepublic boolean isOWLDataProperty()
OWLEntity
isOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise falsepublic boolean isOWLDataType()
OWLEntity
isOWLDataType in interface OWLEntitytrue if this entity is an OWLDataType, otherwise falsepublic boolean isOWLIndividual()
OWLEntity
isOWLIndividual in interface OWLEntitytrue if this entity is an OWLIndividual, otherwise falsepublic boolean isOWLObjectProperty()
OWLEntity
isOWLObjectProperty in interface OWLEntitytrue if this entity is an OWLObjectProperty, otherwise falsepublic boolean equals(java.lang.Object obj)
equals in class OWLObjectImplpublic void accept(OWLEntityVisitor visitor)
accept in interface OWLEntitypublic void accept(OWLObjectVisitor visitor)
accept in interface OWLObjectpublic void accept(OWLNamedObjectVisitor visitor)
accept in interface OWLNamedObjectpublic <O> O accept(OWLEntityVisitorEx<O> visitor)
accept in interface OWLEntitypublic <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 | |||||||||