public abstract class OWLAxiomChange extends OWLOntologyChange
Constructor and Description |
---|
OWLAxiomChange(OWLOntology ont,
OWLAxiom axiom) |
Modifier and Type | Method and Description |
---|---|
OWLAxiom |
getAxiom()
Gets the axiom that is involved in the change (the
axiom to either be added or removed)
|
java.util.Set<OWLEntity> |
getEntities()
Deprecated.
use getSignature() instead
|
java.util.Set<OWLEntity> |
getSignature()
Gets the signature of this ontology change.
|
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
|
accept, accept, getChangeData, getChangeRecord, getOntology, isAddAxiom, isRemoveAxiom
public OWLAxiomChange(OWLOntology ont, OWLAxiom axiom)
ont
- the ontology to which the change is to be appliedaxiom
- the axiom to be changedpublic java.util.Set<OWLEntity> getSignature()
getSignature
in class OWLOntologyChange
public boolean isAxiomChange()
OWLOntologyChange
isAxiomChange
in class OWLOntologyChange
true
if the change is an OWLAddAxiomChange
or OWLRemoveAxiomChange
otherwise false
.public boolean isImportChange()
isImportChange
in class OWLOntologyChange
true
if this change is an import change, otherwise false
.public OWLAxiom getAxiom()
getAxiom
in class OWLOntologyChange
@Deprecated public java.util.Set<OWLEntity> getEntities()
Set
of entities which are referenced by the axiom
contained within this change.