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.
|
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, isRemoveAxiompublic AnnotationChange(OWLOntology ont, OWLAnnotation annotation)
ont - the ontology to which the change is to be appliedannotation - the annotationpublic Set<OWLEntity> getSignature()
OWLOntologyChangegetSignature in interface HasSignaturegetSignature in class OWLOntologyChangepublic OWLAnnotation getAnnotation()
public boolean isImportChange()
OWLOntologyChangeisImportChange in class OWLOntologyChangetrue if this change is an import change, otherwise
false.public boolean isAxiomChange()
OWLOntologyChangeisAxiomChange in class OWLOntologyChangetrue if the change is an OWLAddAxiomChange or
OWLRemoveAxiomChange otherwise false.public boolean isAddAxiom()
OWLOntologyChangeisAddAxiom in class OWLOntologyChangetrue if the change is an AddAxiom change and it will add
an axiom to an ontology, false otherwise.public OWLAxiom getAxiom()
OWLOntologyChangegetAxiom in class OWLOntologyChangeCopyright © 2014 The University of Manchester. All Rights Reserved.