public class OWLAnnotationPropertyImpl extends OWLObjectImpl implements OWLAnnotationProperty
| Type | Property and Description |
|---|---|
OWLAnnotationProperty |
asOWLAnnotation
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
OWLDataProperty |
asOWLData
A convenience method that obtains this entity as an OWLDataProperty (in
order to avoid explicit casting).
|
OWLObjectProperty |
asOWLObject
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
boolean |
isOWLAnnotation
A convenience method that determines if this entity is an
OWLAnnotationProperty
|
boolean |
isOWLData
A convenience method that determines if this entity is an OWLDataProperty
|
boolean |
isOWLObject
A convenience method that determines if this entity is an
OWLObjectProperty
|
NO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLAnnotationPropertyImpl(IRI i) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLEntityVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLEntityVisitorEx<O> visitor)
Accepts a 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).
|
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).
|
OWLNamedIndividual |
asOWLNamedIndividual()
A convenience method that obtains this entity as an OWLNamedIndividual
(in order to avoid explicit casting).
|
OWLObjectProperty |
asOWLObjectProperty()
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
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.
|
Set<OWLAnnotationProperty> |
getSubProperties(OWLOntology ontology)
Gets the annotation properties which are asserted to be sub-properties of
this annotation property in the specified ontology.
|
Set<OWLAnnotationProperty> |
getSubProperties(OWLOntology ontology,
boolean includeImportsClosure)
Gets the annotation properties which are asserted to be sub-properties of
this annotation property in the specified ontology and potentially its
imports closure.
|
Set<OWLAnnotationProperty> |
getSubProperties(Set<OWLOntology> ontologies)
Gets the annotation properties which are asserted to be sub-properties of
this annotation property in the specified set of ontologies.
|
Set<OWLAnnotationProperty> |
getSuperProperties(OWLOntology ontology)
Gets the annotation properties which are asserted to be super-properties
of this annotation property in the specified ontology.
|
Set<OWLAnnotationProperty> |
getSuperProperties(OWLOntology ontology,
boolean includeImportsClosure)
Gets the annotation properties which are asserted to be super-properties
of this annotation property in the specified ontology and potentially its
imports closure.
|
Set<OWLAnnotationProperty> |
getSuperProperties(Set<OWLOntology> ontologies)
Gets the annotation properties which are asserted to be super-properties
of this annotation property in the specified set of ontologies.
|
boolean |
isBuiltIn()
Determines if this entity is a built in entity.
|
boolean |
isComment()
Determines if this annotation property has an IRI corresponding to
rdfs:comment. |
boolean |
isDeprecated()
Determines if this annotation property has an IRI corresponding to
owl:deprecated. |
boolean |
isLabel()
Determines if this annotation property has an IRI corresponding to
rdfs:label. |
boolean |
isOWLAnnotationProperty()
A convenience method that determines if this entity is an
OWLAnnotationProperty
|
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 |
isOWLNamedIndividual()
A convenience method that determines if this entity is an
OWLNamedIndividual
|
boolean |
isOWLObjectProperty()
A convenience method that determines if this entity is an
OWLObjectProperty
|
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
entity.
|
compareLists, compareSets, compareTo, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntitycompareToasOWLDataProperty in interface OWLEntityasOWLObjectProperty in interface OWLEntityisOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise
falseisOWLObjectProperty in interface OWLEntitytrue if this entity is an OWLObjectProperty, otherwise
falseasOWLAnnotationProperty in interface OWLEntityisOWLAnnotationProperty in interface OWLEntitytrue if this entity is an OWLAnnotationProperty,
otherwise falsepublic OWLAnnotationPropertyImpl(IRI i)
i - iri for propertypublic IRI getIRI()
OWLNamedObjectgetIRI in interface OWLNamedObjectpublic 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()
OWLEntitytoStringID in interface OWLEntitypublic boolean isDeprecated()
OWLAnnotationPropertyowl:deprecated. An annotation along the owl:deprecated
property which has a value of "true"^^xsd:boolean can be used to
deprecate IRIs. (See Section 5.5
of the OWL 2 specification.isDeprecated in interface OWLAnnotationPropertytrue if the IRI of this annotation property is
owl:deprecated, where owl: expands to the usual
prefix, otherwise false.protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImplpublic void accept(OWLObjectVisitor visitor)
OWLObjectpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic boolean isComment()
OWLAnnotationPropertyrdfs:comment.isComment in interface OWLAnnotationPropertytrue if the IRI of this annotation property is
rdfs:comment, where rdfs: expands to the usual
prefix, otherwise false.public boolean isLabel()
OWLAnnotationPropertyrdfs:label.isLabel in interface OWLAnnotationPropertytrue if the IRI of this annotation property is
rdfs:label, where rdfs: expands to the usual
prefix, otherwise false.public void accept(OWLEntityVisitor visitor)
OWLEntitypublic <O> O accept(OWLEntityVisitorEx<O> visitor)
OWLEntitypublic OWLClass asOWLClass()
OWLEntityasOWLClass in interface OWLEntitypublic OWLDataProperty asOWLDataProperty()
OWLEntityasOWLDataProperty in interface OWLEntitypublic OWLDatatype asOWLDatatype()
OWLEntityasOWLDatatype in interface OWLEntitypublic OWLNamedIndividual asOWLNamedIndividual()
OWLEntityasOWLNamedIndividual in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty()
OWLEntityasOWLObjectProperty in interface OWLEntitypublic Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms(OWLOntology ontology)
getAnnotationAssertionAxioms in interface OWLEntityontology - the ontology to usepublic Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntitygetAnnotations in interface OWLEntityontology - The ontology to be examined for annotation assertion axiomspublic 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 boolean isBuiltIn()
OWLEntitypublic boolean isOWLClass()
OWLEntityisOWLClass in interface OWLEntitytrue if this entity is an OWLClass, otherwise
falsepublic boolean isOWLDataProperty()
OWLEntityisOWLDataProperty in interface OWLEntitytrue if this entity is an OWLDataProperty, otherwise
falsepublic boolean isOWLDatatype()
OWLEntityisOWLDatatype in interface OWLEntitytrue if this entity is an OWLDatatype, otherwise
falsepublic boolean isOWLNamedIndividual()
OWLEntityisOWLNamedIndividual in interface OWLEntitytrue if this entity is an OWLNamedIndividual, otherwise
falsepublic boolean isOWLObjectProperty()
OWLEntityisOWLObjectProperty in interface OWLEntitytrue if this entity is an OWLObjectProperty, otherwise
falsepublic OWLAnnotationProperty asOWLAnnotationProperty()
OWLEntityasOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty()
OWLEntityisOWLAnnotationProperty in interface OWLEntitytrue if this entity is an OWLAnnotationProperty,
otherwise falsepublic void accept(OWLNamedObjectVisitor visitor)
OWLNamedObjectaccept in interface OWLNamedObjectvisitor - The visitorpublic 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.public Set<OWLAnnotationProperty> getSubProperties(OWLOntology ontology)
OWLAnnotationPropertygetSubProperties in interface OWLAnnotationPropertyontology - The ontology to be examined for
SubAnnotationPropertyOf axioms.p in the set, it is the case that ontology
contains an SubAnnotationPropertyOf(p, this) axiom where
this refers to this annotation property.public Set<OWLAnnotationProperty> getSubProperties(OWLOntology ontology, boolean includeImportsClosure)
OWLAnnotationPropertygetSubProperties in interface OWLAnnotationPropertyontology - The ontology to be examined for
SubAnnotationPropertyOf axioms.includeImportsClosure - if true then the imports closure of this ontology is
searched for SubAnnotationPropertyOf axioms that
assert this property is the super property of some other
annotation property. If false then only
ontology is searched.includeImportsClosure is true, a set of
annotation properties such that for each property p in
the set, it is the case that at least one ontology in the
imports closure contains a
SubAnnotationPropertyOf(p, this) axiom where this
refers to this annotation property. If
includeImportsClosure is false, a set of
annotation properties such that for each property p in
the set, it is the case that ontology contains a
SubAnnotationPropertyOf(p, this) axiom where this
refers to this annotation property.public Set<OWLAnnotationProperty> getSubProperties(Set<OWLOntology> ontologies)
OWLAnnotationPropertygetSubProperties in interface OWLAnnotationPropertyontologies - The set of ontologies to be examined for
SubAnnotationPropertyOf axioms.p in the set, it is the case that at least one
ontology in ontologies contains a
SubAnnotationPropertyOf(p, this) axiom where this
refers to this annotation property.public Set<OWLAnnotationProperty> getSuperProperties(OWLOntology ontology)
OWLAnnotationPropertygetSuperProperties in interface OWLAnnotationPropertyontology - The ontology to be examined for
SubAnnotationPropertyOf axioms.p in the set, it is the case that ontology
contains an SubAnnotationPropertyOf(this, p) axiom where
this refers to this annotation property.public Set<OWLAnnotationProperty> getSuperProperties(OWLOntology ontology, boolean includeImportsClosure)
OWLAnnotationPropertygetSuperProperties in interface OWLAnnotationPropertyontology - The ontology to be examined for
SubAnnotationPropertyOf axioms.includeImportsClosure - if true then the imports closure of this ontology is
searched for SubAnnotationPropertyOf axioms that
assert this property is the super property of some other
annotation property. If false then only
ontology is searched.includeImportsClosure is true, a set of
annotation properties such that for each property p in
the set, it is the case that at least one ontology in the
imports closure contains a
SuperAnnotationPropertyOf(this, p) axiom where
this refers to this annotation property. If
includeImportsClosure is false, a set of
annotation properties such that for each property p in
the set, it is the case that ontology contains a
SuperAnnotationPropertyOf(this, p) axiom where
this refers to this annotation property.public Set<OWLAnnotationProperty> getSuperProperties(Set<OWLOntology> ontologies)
OWLAnnotationPropertygetSuperProperties in interface OWLAnnotationPropertyontologies - The set of ontologies to be examined for
SubAnnotationPropertyOf axioms.p in the set, it is the case that at least one
ontology in ontologies contains a
SubAnnotationPropertyOf(this, p) axiom where this
refers to this annotation property.public boolean equals(Object obj)
equals in class OWLObjectImplCopyright © 2014 The University of Manchester. All Rights Reserved.