Package org.semanticweb.owlapi.model
Class RemoveImport
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.ImportChange
org.semanticweb.owlapi.model.RemoveImport
- All Implemented Interfaces:
Serializable
,HasSignature
- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(OWLOntologyChangeVisitor visitor) Accepts a visitor.<O> O
accept
(OWLOntologyChangeVisitorEx<O> visitor) Accepts a visitor.boolean
Gets the data (independent of the ontology) associated with this specific change.int
hashCode()
toString()
Methods inherited from class org.semanticweb.owlapi.model.ImportChange
getImportDeclaration, isImportChange
Methods inherited from class org.semanticweb.owlapi.model.OWLOntologyChange
getAddedAxiom, getAddedOrRemovedAxiom, getAxiom, getChangeRecord, getOntology, getRemovedAxiom, isAddAxiom, isAxiomChange, isAxiomChange, isRemoveAxiom
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
-
Constructor Details
-
RemoveImport
- Parameters:
ont
- the ontology to which the change is to be appliedimportDeclaration
- the import declaration
-
-
Method Details
-
getChangeData
Description copied from class:OWLOntologyChange
Gets the data (independent of the ontology) associated with this specific change.- Specified by:
getChangeData
in classOWLOntologyChange
- Returns:
- The
OWLOntologyChangeData
associated with thisOWLOntologyChange
.
-
hashCode
public int hashCode() -
equals
-
toString
-
accept
Description copied from class:OWLOntologyChange
Accepts a visitor.- Specified by:
accept
in classOWLOntologyChange
- Parameters:
visitor
- The visitor
-
accept
Description copied from class:OWLOntologyChange
Accepts a visitor.- Specified by:
accept
in classOWLOntologyChange
- Type Parameters:
O
- visitor return type- Parameters:
visitor
- The visitor- Returns:
- visitor value
-
reverseChange
- Specified by:
reverseChange
in classOWLOntologyChange
- Returns:
- the reverse of this change; can be used to create undo changes.
-