public interface OWLAnnotation extends OWLObject, HasAnnotations, HasProperty<OWLAnnotationProperty>, HasAnnotationValue
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLAnnotationObjectVisitor visitor) |
<O> O |
accept(OWLAnnotationObjectVisitorEx<O> visitor) |
default OWLAnnotationValue |
annotationValue() |
OWLAnnotation |
getAnnotatedAnnotation(Set<OWLAnnotation> annotations)
Gets an OWLAnnotation which is a copy of this annotation but which has
the specified annotations.
|
Set<OWLAnnotation> |
getAnnotations()
Gets the annotations on this annotation
|
OWLAnnotationProperty |
getProperty()
Gets the property that this annotation acts along
|
OWLAnnotationValue |
getValue()
Gets the annotation value.
|
boolean |
isDeprecatedIRIAnnotation()
Determines if this annotation is an annotation used to deprecate an IRI.
|
accept, accept, 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
@Nonnull OWLAnnotationProperty getProperty()
getProperty
in interface HasProperty<OWLAnnotationProperty>
@Nonnull 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
.@Nonnull Set<OWLAnnotation> getAnnotations()
getAnnotations
in interface HasAnnotations
@Nonnull OWLAnnotation getAnnotatedAnnotation(@Nonnull Set<OWLAnnotation> annotations)
annotations
- The annotationsvoid accept(@Nonnull OWLAnnotationObjectVisitor visitor)
visitor
- visitor to accept@Nonnull <O> O accept(@Nonnull OWLAnnotationObjectVisitorEx<O> visitor)
O
- visitor return typevisitor
- visitor to acceptdefault OWLAnnotationValue annotationValue()
annotationValue
in interface HasAnnotationValue
Copyright © 2020 The University of Manchester. All rights reserved.