public class OWLAnnotationImpl extends OWLObjectImplWithoutEntityAndAnonCaching implements OWLAnnotation
Constructor and Description |
---|
OWLAnnotationImpl(OWLAnnotationProperty property,
OWLAnnotationValue value,
Set<? extends OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLAnnotationObjectVisitor visitor) |
<O> O |
accept(OWLAnnotationObjectVisitorEx<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) |
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.
|
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
annotationValue
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 OWLAnnotationImpl(@Nonnull OWLAnnotationProperty property, @Nonnull OWLAnnotationValue value, @Nonnull Set<? extends OWLAnnotation> annotations)
property
- annotation propertyvalue
- annotation valueannotations
- annotations on the axiompublic Set<OWLAnnotation> getAnnotations()
OWLAnnotation
getAnnotations
in interface HasAnnotations
getAnnotations
in interface OWLAnnotation
public OWLAnnotationProperty getProperty()
OWLAnnotation
getProperty
in interface HasProperty<OWLAnnotationProperty>
getProperty
in interface OWLAnnotation
public OWLAnnotationValue getValue()
OWLAnnotation
OWLLiteral
, an
IRI
or an
OWLAnonymousIndividual
.getValue
in interface OWLAnnotation
OWLAnnotationValueVisitor
,
OWLAnnotationValueVisitorEx
public OWLAnnotation getAnnotatedAnnotation(@Nonnull Set<OWLAnnotation> annotations)
OWLAnnotation
getAnnotatedAnnotation
in interface OWLAnnotation
annotations
- The annotationspublic boolean isDeprecatedIRIAnnotation()
owl:deprecated
and the value of the annotation
is "true"^^xsd:boolean
isDeprecatedIRIAnnotation
in interface OWLAnnotation
true
if this annotation is an annotation that can be used to deprecate an
IRI, otherwise false
.public boolean equals(Object obj)
equals
in class OWLObjectImplWithoutEntityAndAnonCaching
public void accept(OWLObjectVisitor visitor)
OWLObject
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public void accept(OWLAnnotationObjectVisitor visitor)
accept
in interface OWLAnnotation
visitor
- visitor to acceptpublic <O> O accept(OWLAnnotationObjectVisitorEx<O> visitor)
accept
in interface OWLAnnotation
O
- visitor return typevisitor
- visitor to acceptpublic 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 addedCopyright © 2020 The University of Manchester. All rights reserved.