public interface OWLAnnotation extends OWLObject, HasAnnotations, HasProperty<OWLAnnotationProperty>, HasAnnotationValue
Modifier and Type | Method and Description |
---|---|
default void |
accept(OWLAnnotationObjectVisitor visitor) |
default <O> O |
accept(OWLAnnotationObjectVisitorEx<O> visitor) |
default void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
default <O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
default OWLAnnotationValue |
annotationValue() |
default Stream<?> |
components() |
default Stream<?> |
componentsAnnotationsFirst() |
default Stream<?> |
componentsWithoutAnnotations() |
OWLAnnotation |
getAnnotatedAnnotation(Collection<OWLAnnotation> annotations)
Gets an OWLAnnotation which is a copy of this annotation but which has the specified
annotations.
|
OWLAnnotation |
getAnnotatedAnnotation(Stream<OWLAnnotation> annotations)
Gets an OWLAnnotation which is a copy of this annotation but which has the specified
annotations.
|
OWLAnnotationProperty |
getProperty()
Gets the property that this annotation acts along.
|
OWLAnnotationValue |
getValue()
Gets the annotation value.
|
default int |
hashIndex() |
default int |
initHashCode() |
boolean |
isDeprecatedIRIAnnotation()
Determines if this annotation is an annotation used to deprecate an IRI.
|
default int |
typeIndex() |
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, 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
annotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotations
anonymousIndividualValue, ifAnonymousIndividual, ifAnonymousIndividualOrElse, ifIri, ifIriOrElse, ifLiteral, ifLiteralOrElse, ifValue, iriValue, literalValue, map, map, mapAnonymousIndividual, mapAnonymousIndividualOrElse, mapAnonymousIndividualOrElseGet, mapIri, mapIriOrElse, mapIriOrElseGet, mapLiteral, mapLiteralOrElse, mapLiteralOrElseGet, mapValue, when
default Stream<?> componentsWithoutAnnotations()
componentsWithoutAnnotations
in interface HasComponents
default Stream<?> components()
components
in interface HasComponents
default int initHashCode()
initHashCode
in interface OWLObject
default Stream<?> componentsAnnotationsFirst()
componentsAnnotationsFirst
in interface HasComponents
default int hashIndex()
hashIndex
in interface HasHashIndex
default int typeIndex()
OWLAnnotationProperty getProperty()
getProperty
in interface HasProperty<OWLAnnotationProperty>
OWLAnnotationValue getValue()
OWLLiteral
, an
IRI
or an
OWLAnonymousIndividual
.OWLAnnotationValueVisitor
,
OWLAnnotationValueVisitorEx
boolean isDeprecatedIRIAnnotation()
owl:deprecated
and the value of the annotation
is "true"^^xsd:boolean
true
if this annotation is an annotation that can be used to deprecate an
IRI, otherwise false
.OWLAnnotation getAnnotatedAnnotation(Collection<OWLAnnotation> annotations)
annotations
- The annotationsOWLAnnotation getAnnotatedAnnotation(Stream<OWLAnnotation> annotations)
annotations
- The annotationsdefault void accept(OWLAnnotationObjectVisitor visitor)
visitor
- visitor to acceptdefault <O> O accept(OWLAnnotationObjectVisitorEx<O> visitor)
O
- visitor return typevisitor
- visitor to acceptdefault void accept(OWLObjectVisitor visitor)
OWLObject
default <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
default OWLAnnotationValue annotationValue()
annotationValue
in interface HasAnnotationValue
Copyright © 2020 The University of Manchester. All rights reserved.