public class OWLNamedIndividualImpl extends OWLIndividualImpl implements OWLNamedIndividual
| Type | Property and Description |
|---|---|
OWLAnnotationProperty |
asOWLAnnotation
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
boolean |
isOWLAnnotation
Gets the value of the property oWLAnnotationProperty.
|
asOWLDataProperty, asOWLObjectProperty, isOWLDataProperty, isOWLObjectPropertyasOWLDataProperty, asOWLObjectProperty, isOWLDataProperty, isOWLObjectPropertyNO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLNamedIndividualImpl(IRI iri) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLEntityVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLEntityVisitorEx<O> visitor)
Accepts a visitor
|
void |
accept(OWLIndividualVisitor visitor) |
<O> O |
accept(OWLIndividualVisitorEx<O> visitor) |
void |
accept(OWLNamedObjectVisitor visitor)
Accepts a visitor
|
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
OWLAnnotationProperty |
asOWLAnnotationProperty()
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
OWLAnonymousIndividual |
asOWLAnonymousIndividual()
Obtains this individual an anonymous individual if it is indeed anonymous
|
OWLNamedIndividual |
asOWLNamedIndividual()
Obtains this individual as a named individual if it is indeed named.
|
protected int |
compareObjectOfSameType(OWLObject object) |
boolean |
equals(Object obj) |
Set<OWLAnnotationAssertionAxiom> |
getAnnotationAssertionAxioms(OWLOntology ontology) |
Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology)
Gets the annotations for this entity.
|
Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology,
OWLAnnotationProperty annotationProperty)
Obtains the annotations on this entity where the annotation has the
specified annotation property.
|
EntityType<?> |
getEntityType()
Gets the entity type for this entity
|
IRI |
getIRI()
Gets the IRI of this object
|
<E extends OWLEntity> |
getOWLEntity(EntityType<E> entityType)
Gets an entity that has the same IRI as this entity but is of the
specified type.
|
Set<OWLAxiom> |
getReferencingAxioms(OWLOntology ontology)
Gets the axioms in the specified ontology that contain this entity in
their signature.
|
Set<OWLAxiom> |
getReferencingAxioms(OWLOntology ontology,
boolean includeImports)
Gets the axioms in the specified ontology and possibly its imports
closure that contain this entity in their signature.
|
boolean |
isAnonymous()
Determines if this object is an instance of
OWLAnonymousIndividual Note that
this method is the dual of OWLIndividual.isNamed(). |
boolean |
isNamed()
Determines if this individual is an instance of
OWLNamedIndividual. |
boolean |
isOWLAnnotationProperty()
Gets the value of the property oWLAnnotationProperty.
|
boolean |
isOWLNamedIndividual()
A convenience method that determines if this entity is an
OWLNamedIndividual
|
boolean |
isType(EntityType<?> entityType)
Tests to see if this entity is of the specified type
|
String |
toStringID()
Returns a string representation that can be used as the ID of this
individual.
|
asOWLClass, asOWLDataProperty, asOWLDatatype, asOWLObjectProperty, getDataPropertyValues, getDataPropertyValues, getDifferentIndividuals, getNegativeDataPropertyValues, getNegativeObjectPropertyValues, getObjectPropertyValues, getObjectPropertyValues, getSameIndividuals, getTypes, getTypes, hasDataPropertyValue, hasNegativeDataPropertyValue, hasNegativeObjectPropertyValue, hasObjectPropertyValue, isBuiltIn, isOWLClass, isOWLDataProperty, isOWLDatatype, isOWLObjectPropertycompareLists, compareSets, compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDataPropertyValues, getDataPropertyValues, getDifferentIndividuals, getNegativeDataPropertyValues, getNegativeObjectPropertyValues, getObjectPropertyValues, getObjectPropertyValues, getSameIndividuals, getTypes, getTypes, hasDataPropertyValue, hasNegativeDataPropertyValue, hasNegativeObjectPropertyValue, hasObjectPropertyValueasOWLClass, asOWLDataProperty, asOWLDatatype, asOWLObjectProperty, isBuiltIn, isOWLClass, isOWLDataProperty, isOWLDatatype, isOWLObjectPropertygetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntitycompareTocontainsEntityInSignaturepublic OWLAnnotationProperty asOWLAnnotationProperty
asOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty
isOWLAnnotationProperty in interface OWLEntitypublic OWLNamedIndividualImpl(IRI iri)
iri - the iripublic boolean isNamed()
OWLIndividualOWLNamedIndividual. Note that this
method is the dual of OWLIndividual.isAnonymous().isNamed in interface OWLIndividualtrue if this individual is an instance of
OWLNamedIndividual because
it is a named individuals, otherwise falsepublic EntityType<?> getEntityType()
OWLEntitygetEntityType in interface OWLEntitypublic <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType)
OWLEntitygetOWLEntity in interface OWLEntityE - entity typeentityType - The type of the entity to obtain. This entity is not affected in
any way.public boolean isType(EntityType<?> entityType)
OWLEntitypublic String toStringID()
OWLIndividualtoStringID in interface OWLEntitytoStringID in interface OWLIndividualpublic boolean isOWLNamedIndividual()
OWLEntityisOWLNamedIndividual in interface OWLEntitytrue if this entity is an OWLNamedIndividual, otherwise
falsepublic IRI getIRI()
OWLNamedObjectgetIRI in interface HasIRIgetIRI in interface OWLNamedObjectpublic boolean isAnonymous()
OWLIndividualOWLAnonymousIndividual Note that
this method is the dual of OWLIndividual.isNamed().isAnonymous in interface OWLIndividualtrue if this object represents an anonymous individual (
OWLAnonymousIndividual) or false if this object
represents a named individual ( OWLIndividual)public OWLNamedIndividual asOWLNamedIndividual()
OWLIndividualasOWLNamedIndividual in interface OWLEntityasOWLNamedIndividual in interface OWLIndividualpublic OWLAnonymousIndividual asOWLAnonymousIndividual()
OWLIndividualasOWLAnonymousIndividual in interface OWLIndividualpublic OWLAnnotationProperty asOWLAnnotationProperty()
OWLEntityasOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty()
isOWLAnnotationProperty in interface OWLEntitypublic boolean equals(Object obj)
equals in class OWLIndividualImplpublic Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntitygetAnnotations in interface OWLEntityontology - The ontology to be examined for annotation assertion axiomspublic Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms(OWLOntology ontology)
getAnnotationAssertionAxioms in interface OWLEntityontology - the ontology to usepublic Set<OWLAnnotation> getAnnotations(OWLOntology ontology, OWLAnnotationProperty annotationProperty)
OWLEntitygetAnnotations in interface OWLEntityontology - The ontology to examine for annotation axiomsannotationProperty - The annotation propertyOWLAnnotation objects that have the specified
URI.public Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology)
OWLEntitygetReferencingAxioms in interface OWLEntityontology - The ontology that will be searched for axiomspublic Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology, boolean includeImports)
OWLEntitygetReferencingAxioms in interface OWLEntityontology - The ontology that will be searched for axiomsincludeImports - If true then axioms in the imports closure will also be
returned, if false then only the axioms in the specified
ontology will be returned.protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImplpublic void accept(OWLObjectVisitor visitor)
OWLObjectpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic void accept(OWLEntityVisitor visitor)
OWLEntitypublic <O> O accept(OWLEntityVisitorEx<O> visitor)
OWLEntitypublic void accept(OWLNamedObjectVisitor visitor)
OWLNamedObjectaccept in interface OWLNamedObjectvisitor - The visitorpublic void accept(OWLIndividualVisitor visitor)
accept in interface OWLIndividualvisitor - visitor to acceptpublic <O> O accept(OWLIndividualVisitorEx<O> visitor)
accept in interface OWLIndividualO - return typevisitor - visitor to acceptCopyright © 2014 The University of Manchester. All Rights Reserved.