public class OWLAnnotationAssertionAxiomImpl extends OWLAxiomImpl implements OWLAnnotationAssertionAxiom
Constructor and Description |
---|
OWLAnnotationAssertionAxiomImpl(OWLAnnotationSubject subject,
OWLAnnotationProperty property,
OWLAnnotationValue value,
Collection<? extends OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLAxiomVisitor visitor) |
<O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
boolean |
equals(Object obj) |
OWLAnnotationAssertionAxiom |
getAnnotatedAxiom(Set<OWLAnnotation> annotations)
Gets a copy of this axiom that is annotated with the specified
annotations.
|
OWLAnnotation |
getAnnotation()
Gets the combination of the annotation property and the annotation value
as an
OWLAnnotation object. |
AxiomType<?> |
getAxiomType()
Gets the axiom type for this axiom.
|
OWLAnnotationAssertionAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without
annotations.
|
OWLAnnotationProperty |
getProperty()
Gets the annotation property.
|
OWLAnnotationSubject |
getSubject()
Gets the subject of the annotation assertion.
|
OWLAnnotationValue |
getValue()
Gets the annotation value.
|
boolean |
isAnnotationAxiom()
Determines if this axioms in an annotation axiom (an instance of
OWLAnnotationAxiom ) |
boolean |
isDeprecatedIRIAssertion()
Determines if this annotation assertion deprecates the IRI that is the
subject of the annotation.
|
boolean |
isLogicalAxiom()
Determines if this axiom is a logical axiom.
|
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
compareTo
containsEntityInSignature
public OWLAnnotationAssertionAxiomImpl(OWLAnnotationSubject subject, OWLAnnotationProperty property, OWLAnnotationValue value, Collection<? extends OWLAnnotation> annotations)
subject
- subject for axiomproperty
- annotation propertyvalue
- annotation valueannotations
- annotations on the axiompublic OWLAnnotationAssertionAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAnnotationAssertionAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
public boolean isDeprecatedIRIAssertion()
isDeprecatedIRIAssertion
in interface OWLAnnotationAssertionAxiom
true
if this annotation assertion deprecates the subject
IRI of the assertion, otherwise false
.OWLAnnotation.isDeprecatedIRIAnnotation()
public OWLAnnotationAssertionAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
annotations
- The annotations that will be added to existing annotations to
annotate the copy of this axiomOWLAxiom#getAnnotations()
method.public OWLAnnotationValue getValue()
OWLAnnotationAssertionAxiom
IRI
, an
OWLAnonymousIndividual
or an
OWLLiteral
. Annotation values can be visited with an
OWLAnnotationValueVisitor
.getValue
in interface OWLAnnotationAssertionAxiom
OWLAnnotationValueVisitor
,
OWLAnnotationValueVisitorEx
public OWLAnnotationSubject getSubject()
OWLAnnotationAssertionAxiom
IRI
or an
OWLAnonymousIndividual
.getSubject
in interface HasSubject<OWLAnnotationSubject>
getSubject
in interface OWLAnnotationAssertionAxiom
public OWLAnnotationProperty getProperty()
OWLAnnotationAssertionAxiom
getProperty
in interface HasProperty<OWLAnnotationProperty>
getProperty
in interface OWLAnnotationAssertionAxiom
public OWLAnnotation getAnnotation()
OWLAnnotationAssertionAxiom
OWLAnnotation
object.getAnnotation
in interface OWLAnnotationAssertionAxiom
public boolean isLogicalAxiom()
OWLAxiom
isLogicalAxiom
in interface OWLAxiom
true
if the axiom is a logical axiom, false
if
the axiom is not a logical axiom.public boolean isAnnotationAxiom()
OWLAxiom
OWLAnnotationAxiom
)isAnnotationAxiom
in interface OWLAxiom
true
if this axiom is an instance of
OWLAnnotationAxiom
, otherwise false
.public void accept(OWLObjectVisitor visitor)
OWLObject
public void accept(OWLAxiomVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
public boolean equals(Object obj)
equals
in class OWLAxiomImpl
Copyright © 2017 The University of Manchester. All Rights Reserved.