public class AddOntologyAnnotation extends AnnotationChange
Constructor and Description |
---|
AddOntologyAnnotation(OWLOntology ont,
OWLAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLOntologyChangeVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLOntologyChangeVisitorEx<O> visitor)
Accepts a visitor
|
boolean |
equals(Object obj) |
AddOntologyAnnotationData |
getChangeData()
Gets the data (independent of the ontology) associated with this specific change.
|
int |
hashCode() |
OWLOntologyChange |
reverseChange() |
String |
toString() |
getAnnotation, getAxiom, getSignature, isAddAxiom, isAxiomChange, isImportChange
getAddedAxiom, getAddedOrRemovedAxiom, getChangeRecord, getOntology, getRemovedAxiom, isAxiomChange, isRemoveAxiom
public AddOntologyAnnotation(@Nonnull OWLOntology ont, @Nonnull OWLAnnotation annotation)
ont
- the ontology to which the change is to be appliedannotation
- the annotation@Nonnull public AddOntologyAnnotationData getChangeData()
OWLOntologyChange
getChangeData
in class OWLOntologyChange
OWLOntologyChangeData
associated with this OWLOntologyChange
.public void accept(@Nonnull OWLOntologyChangeVisitor visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
visitor
- The visitorpublic <O> O accept(@Nonnull OWLOntologyChangeVisitorEx<O> visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
O
- visitor return typevisitor
- The visitorpublic OWLOntologyChange reverseChange()
reverseChange
in class OWLOntologyChange
Copyright © 2020 The University of Manchester. All rights reserved.