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, getAddedAxiom, getAddedOrRemovedAxiom, getChangeData, getChangeRecord, getOntology, getRemovedAxiom, isAxiomChange, isRemoveAxiom, reverseChange
public 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()
OWLOntologyChange
getSignature
in interface HasSignature
getSignature
in class OWLOntologyChange
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
Copyright © 2020 The University of Manchester. All rights reserved.