public class OWLAnnotationAssertionAxiomImpl extends OWLAxiomImplWithoutEntityAndAnonCaching 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
|
void |
addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons) |
void |
addSignatureEntitiesToSet(Set<OWLEntity> entities) |
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, getAnonymousIndividuals, getNNF, getSignature, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, hashCode, isBottomEntity, isTopEntity, toString
annotationValue
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
getSignature
containsEntityInSignature
getAnonymousIndividuals
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
anonymousIndividualValue, ifAnonymousIndividual, ifAnonymousIndividualOrElse, ifIri, ifIriOrElse, ifLiteral, ifLiteralOrElse, ifValue, iriValue, literalValue, map, map, mapAnonymousIndividual, mapAnonymousIndividualOrElse, mapAnonymousIndividualOrElseGet, mapIri, mapIriOrElse, mapIriOrElseGet, mapLiteral, mapLiteralOrElse, mapLiteralOrElseGet, mapValue, when
public OWLAnnotationAssertionAxiomImpl(@Nonnull OWLAnnotationSubject subject, @Nonnull OWLAnnotationProperty property, @Nonnull OWLAnnotationValue value, @Nonnull 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 void addSignatureEntitiesToSet(Set<OWLEntity> entities)
addSignatureEntitiesToSet
in interface HasIncrementalSignatureGenerationSupport
entities
- entity set where entities will be addedpublic void addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons)
addAnonymousIndividualsToSet
in interface HasIncrementalSignatureGenerationSupport
anons
- anonymous individuals set where individuals will be addedpublic 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 OWLAxiomImplWithoutEntityAndAnonCaching
Copyright © 2020 The University of Manchester. All rights reserved.