public abstract class ImportChange extends OWLOntologyChange
| Constructor and Description |
|---|
ImportChange(OWLOntology ont,
OWLImportsDeclaration importDeclaration) |
| Modifier and Type | Method and Description |
|---|---|
OWLAxiom |
getAxiom()
If the change is an axiom change (i.e.
|
OWLImportsDeclaration |
getImportDeclaration()
Gets the import declaration that the change pertains to.
|
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, reverseChangepublic ImportChange(@Nonnull OWLOntology ont, @Nonnull OWLImportsDeclaration importDeclaration)
ont - the ontology to which the change is to be appliedimportDeclaration - the import declaration@Nonnull public OWLImportsDeclaration getImportDeclaration()
public Set<OWLEntity> getSignature()
OWLOntologyChangegetSignature in interface HasSignaturegetSignature in class OWLOntologyChangepublic 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 © 2016 The University of Manchester. All Rights Reserved.