Package org.semanticweb.owlapi.model
Class ImportChange
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.ImportChange
- All Implemented Interfaces:
Serializable
,HasSignature
- Direct Known Subclasses:
AddImport
,RemoveImport
- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the import declaration that the change pertains to.boolean
Determines if this change is an import change and hence causes a change to the imports closure of an ontology.Methods inherited from class org.semanticweb.owlapi.model.OWLOntologyChange
accept, accept, getAddedAxiom, getAddedOrRemovedAxiom, getAxiom, getChangeData, getChangeRecord, getOntology, getRemovedAxiom, isAddAxiom, isAxiomChange, isAxiomChange, isRemoveAxiom, reverseChange
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
-
Constructor Details
-
ImportChange
- Parameters:
ont
- the ontology to which the change is to be appliedimportDeclaration
- the import declaration
-
-
Method Details
-
getImportDeclaration
Gets the import declaration that the change pertains to.- Returns:
- The import declaration
-
isImportChange
public boolean isImportChange()Description copied from class:OWLOntologyChange
Determines if this change is an import change and hence causes a change to the imports closure of an ontology.- Overrides:
isImportChange
in classOWLOntologyChange
- Returns:
true
if this change is an import change, otherwisefalse
.
-