public class OWLAnnotationAssertionAxiomImpl extends OWLAxiomImpl implements OWLAnnotationAssertionAxiom
Constructor and Description |
---|
OWLAnnotationAssertionAxiomImpl(OWLAnnotationSubject subject,
OWLAnnotationProperty property,
OWLAnnotationValue value,
Collection<OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
<T extends OWLAxiom> |
getAnnotatedAxiom(Stream<OWLAnnotation> anns)
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. |
OWLAnnotationAssertionAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLAnnotationProperty |
getProperty()
Gets the property.
|
OWLAnnotationSubject |
getSubject()
Gets the subject of this object.
|
OWLAnnotationValue |
getValue()
Gets the annotation value.
|
boolean |
isDeprecatedIRIAssertion()
Determines if this annotation assertion deprecates the IRI that is the subject of the
annotation.
|
annotations, annotationsAsList, getNNF, isAnnotated
annotationPropertiesInSignature, anonymousIndividuals, classesInSignature, compareTo, containsEntityInSignature, dataPropertiesInSignature, datatypesInSignature, equals, hashCode, individualsInSignature, nestedClassExpressions, objectPropertiesInSignature, signature, toString
accept, accept, accept, accept, annotationValue, components, componentsAnnotationsFirst, componentsWithoutAnnotations, getAxiomType, hashIndex, initHashCode
isAnnotationAxiom
equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAxiomWithoutAnnotations, getAxiomWithoutAnnotations, getNNF, isAnnotated, isAxiom, isIndividual, isLogicalAxiom, isOfType, isOfType, isOfType, typeIndex
annotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotations
asAnonymousIndividual, asIRI
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isBottomEntity, isIRI, isOntology, isTopEntity, nestedClassExpressions
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, 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
addAnonymousIndividualsToSet, addSignatureEntitiesToSet
public OWLAnnotationAssertionAxiomImpl(OWLAnnotationSubject subject, OWLAnnotationProperty property, OWLAnnotationValue value, Collection<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 <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
T
- typeanns
- 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()
HasSubject
getSubject
in interface HasSubject<OWLAnnotationSubject>
public OWLAnnotationProperty getProperty()
HasProperty
getProperty
in interface HasProperty<OWLAnnotationProperty>
public OWLAnnotation getAnnotation()
OWLAnnotationAssertionAxiom
OWLAnnotation
object.getAnnotation
in interface OWLAnnotationAssertionAxiom
Copyright © 2020 The University of Manchester. All rights reserved.