public class OWLAnnotationImpl extends OWLObjectImpl implements OWLAnnotation
NO_ANNOTATIONS, OWL_THING| 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
|
protected int |
compareObjectOfSameType(OWLObject object) |
boolean |
equals(Object obj) |
OWLAnnotation |
getAnnotatedAnnotation(Set<OWLAnnotation> annotationsToAdd)
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 |
isComment()
Deprecated.
|
boolean |
isDeprecatedIRIAnnotation()
Determines if this annotation is an annotation used to deprecate an IRI.
|
boolean |
isLabel()
Deprecated.
|
compareLists, compareSets, compareTo, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntitycompareTopublic OWLAnnotationImpl(OWLAnnotationProperty property, OWLAnnotationValue value, Set<? extends OWLAnnotation> annotations)
property - annotation propertyvalue - annotation valueannotations - annotations on the axiompublic Set<OWLAnnotation> getAnnotations()
OWLAnnotationgetAnnotations in interface OWLAnnotationpublic OWLAnnotationProperty getProperty()
OWLAnnotationgetProperty in interface OWLAnnotationpublic OWLAnnotationValue getValue()
OWLAnnotationOWLLiteral, an
IRI or an
OWLAnonymousIndividual.getValue in interface OWLAnnotationOWLAnnotationValueVisitor,
OWLAnnotationValueVisitorExpublic OWLAnnotation getAnnotatedAnnotation(Set<OWLAnnotation> annotationsToAdd)
OWLAnnotationgetAnnotatedAnnotation in interface OWLAnnotationannotationsToAdd - The annotations@Deprecated public boolean isComment()
@Deprecated public boolean isLabel()
public boolean isDeprecatedIRIAnnotation()
owl:deprecated and the value of the annotation is
"true"^^xsd:booleanisDeprecatedIRIAnnotation in interface OWLAnnotationtrue if this annotation is an annotation that can be used
to deprecate an IRI, otherwise false.public boolean equals(Object obj)
equals in class OWLObjectImplprotected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImplpublic void accept(OWLObjectVisitor visitor)
OWLObjectpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic void accept(OWLAnnotationObjectVisitor visitor)
accept in interface OWLAnnotationvisitor - visitor to acceptpublic <O> O accept(OWLAnnotationObjectVisitorEx<O> visitor)
accept in interface OWLAnnotationO - visitor return typevisitor - visitor to acceptCopyright © 2014 The University of Manchester. All Rights Reserved.