public class AddOntologyAnnotation extends AnnotationChange
Constructor and Description |
---|
AddOntologyAnnotation(OWLOntology ont,
OWLAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLOntologyChangeVisitor visitor) |
<O> O |
accept(OWLOntologyChangeVisitorEx<O> visitor) |
boolean |
equals(java.lang.Object obj) |
AddOntologyAnnotationData |
getChangeData()
Gets the data (independent of the ontology) associated with this specific change.
|
int |
hashCode() |
java.lang.String |
toString() |
getAnnotation, getAxiom, getSignature, isAddAxiom, isAxiomChange, isImportChange
getChangeRecord, getOntology, isRemoveAxiom
public AddOntologyAnnotation(OWLOntology ont, OWLAnnotation annotation)
ont
- the ontology to which the change is to be appliedannotation
- the annotationpublic AddOntologyAnnotationData getChangeData()
OWLOntologyChange
getChangeData
in class OWLOntologyChange
OWLOntologyChangeData
associated with this OWLOntologyChange
. Not null
.public void accept(OWLOntologyChangeVisitor visitor)
accept
in class OWLOntologyChange
public <O> O accept(OWLOntologyChangeVisitorEx<O> visitor)
accept
in class OWLOntologyChange
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object