Package org.semanticweb.owlapi.change
Class RemoveImportData
java.lang.Object
org.semanticweb.owlapi.change.OWLOntologyChangeData
org.semanticweb.owlapi.change.ImportChangeData
org.semanticweb.owlapi.change.RemoveImportData
- All Implemented Interfaces:
Serializable
,HasSignature
Represents the specific non-ontology data required by a
Instances of this class are immutable.
RemoveImport
change. Instances of this class are immutable.
- Since:
- 3.3
- Author:
- Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveImportData
(OWLImportsDeclaration declaration) Constructs aRemoveImportData
object that describes aRemoveImport
change for theOWLImportsDeclaration
specified by thedeclaration
parameter. -
Method Summary
Modifier and TypeMethodDescription<O> O
accept
(OWLOntologyChangeDataVisitor<O> visitor) Accepts a visit from anOWLOntologyChangeDataVisitor
.createOntologyChange
(OWLOntology ontology) Creates anOWLOntologyChange
object that pertains to the specifiedontology
, which when applied to the specified ontology enacts the change described by this info object.Methods inherited from class org.semanticweb.owlapi.change.ImportChangeData
getDeclaration, getItem
Methods inherited from class org.semanticweb.owlapi.change.OWLOntologyChangeData
equals, hashCode, toString
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
-
Constructor Details
-
RemoveImportData
Constructs aRemoveImportData
object that describes aRemoveImport
change for theOWLImportsDeclaration
specified by thedeclaration
parameter.- Parameters:
declaration
- TheOWLImportsDeclaration
that is the focus of some change.
-
-
Method Details
-
createOntologyChange
Description copied from class:OWLOntologyChangeData
Creates anOWLOntologyChange
object that pertains to the specifiedontology
, which when applied to the specified ontology enacts the change described by this info object.- Specified by:
createOntologyChange
in classOWLOntologyChangeData
- Parameters:
ontology
- TheOWLOntology
that the change should apply to.- Returns:
- An
OWLOntologyChange
object that applies toontology
and changesontology
in a way that is consistent with this the information held in thisOWLOntologyChangeData
object.
-
accept
Description copied from class:OWLOntologyChangeData
Accepts a visit from anOWLOntologyChangeDataVisitor
.- Specified by:
accept
in classOWLOntologyChangeData
- Type Parameters:
O
- The return type for visitor's visit methods.- Parameters:
visitor
- The visitor- Returns:
- The object returned by the visitor's visit methods.
-