public abstract class AnnotationChange extends OWLOntologyChange
Constructor and Description |
---|
AnnotationChange(OWLOntology ont,
OWLAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
OWLAnnotation |
getAnnotation()
Gets the annotation that was added to an ontology.
|
OWLAxiom |
getAxiom()
If the change is an axiom change (i.e.
|
java.util.Set<OWLEntity> |
getSignature()
Gets the signature of this ontology change.
|
boolean |
isAddAxiom()
Determines if the change will add an axiom to an ontology.
|
boolean |
isAxiomChange()
Determines if the change will cause the addition or
removal of an axiom from an ontology.
|
boolean |
isImportChange()
Determines if this change is an import change and hence causes a change to the imports closure of an ontology.
|
accept, accept, getChangeData, getChangeRecord, getOntology, isRemoveAxiom
public AnnotationChange(OWLOntology ont, OWLAnnotation annotation)
ont
- the ontology to which the change is to be appliedannotation
- the annotationpublic java.util.Set<OWLEntity> getSignature()
OWLOntologyChange
getSignature
in class OWLOntologyChange
public OWLAnnotation getAnnotation()
public boolean isImportChange()
OWLOntologyChange
isImportChange
in class OWLOntologyChange
true
if this change is an import change, otherwise false
.public boolean isAxiomChange()
OWLOntologyChange
isAxiomChange
in class OWLOntologyChange
true
if the change is an OWLAddAxiomChange
or OWLRemoveAxiomChange
otherwise false
.public boolean isAddAxiom()
OWLOntologyChange
isAddAxiom
in class OWLOntologyChange
true
if the change is an AddAxiom change and it will
add an axiom to an ontology, false
otherwise.public OWLAxiom getAxiom()
OWLOntologyChange
getAxiom
in class OWLOntologyChange