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

public abstract class ImportChange extends OWLOntologyChange
Since:
3.0.0
Author:
Matthew Horridge, The University of Manchester, Information Management Group
See Also:
  • Constructor Details

    • ImportChange

      public ImportChange(OWLOntology ont, OWLImportsDeclaration importDeclaration)
      Parameters:
      ont - the ontology to which the change is to be applied
      importDeclaration - the import declaration
  • Method Details

    • getImportDeclaration

      public OWLImportsDeclaration 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 class OWLOntologyChange
      Returns:
      true if this change is an import change, otherwise false.