public final class AddImportData extends ImportChangeData
AddImport
change. | Constructor and Description |
|---|
AddImportData(OWLImportsDeclaration declaration)
Constructs an
AddImportData object that describes an
AddImport change for the OWLImportsDeclaration specified
by the declaration parameter. |
| Modifier and Type | Method and Description |
|---|---|
<O,E extends Exception> |
accept(OWLOntologyChangeDataVisitor<O,E> visitor)
Accepts a visit from an
OWLOntologyChangeDataVisitor. |
AddImport |
createOntologyChange(OWLOntology ontology)
Creates the
AddImport change that describes an addition of an
OWLImportsDeclaration to an OWLOntology specified by the
ontology parameter. |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
getDeclarationpublic AddImportData(OWLImportsDeclaration declaration)
AddImportData object that describes an
AddImport change for the OWLImportsDeclaration specified
by the declaration parameter.declaration - The OWLImportsDeclaration that is the focus of some
change. Not null.NullPointerException - if declaration is null.public AddImport createOntologyChange(OWLOntology ontology)
AddImport change that describes an addition of an
OWLImportsDeclaration to an OWLOntology specified by the
ontology parameter.createOntologyChange in class OWLOntologyChangeDataontology - The OWLOntology that the change should apply to. Not
null.AddImport change for the OWLOntology
specified by ontology and the
OWLImportsDeclaration associated with this
ImportChangeData object.NullPointerException - if ontology is null.public <O,E extends Exception> O accept(OWLOntologyChangeDataVisitor<O,E> visitor) throws E extends Exception
OWLOntologyChangeDataOWLOntologyChangeDataVisitor.accept in class OWLOntologyChangeDataO - The return type for visitor's visit methods.E - The exception type for exceptions thrown by the visitor's
visit methods.visitor - The visitorE - The exception thrown by the visitor's visit methods.E extends ExceptionCopyright © 2014 The University of Manchester. All Rights Reserved.