public 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 an
OWLOntologyChange object that pertains to the
specified ontology , which when applied to the specified ontology
enacts the change described by this info object. |
getDeclaration, getItem, getSignature
equals, hashCode, toString
public AddImportData(@Nonnull 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.@Nonnull public AddImport createOntologyChange(OWLOntology ontology)
OWLOntologyChangeData
OWLOntologyChange
object that pertains to the
specified ontology
, which when applied to the specified ontology
enacts the change described by this info object.createOntologyChange
in class OWLOntologyChangeData
ontology
- The OWLOntology
that the change should apply to.OWLOntologyChange
object that applies to
ontology
and changes ontology
in a way that is
consistent with this the information held in this
OWLOntologyChangeData
object.public <O,E extends Exception> O accept(OWLOntologyChangeDataVisitor<O,E> visitor) throws E extends Exception
OWLOntologyChangeData
OWLOntologyChangeDataVisitor
.accept
in class OWLOntologyChangeData
O
- 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 Exception
Copyright © 2020 The University of Manchester. All rights reserved.