public class AddImport extends ImportChange
Constructor and Description |
---|
AddImport(OWLOntology ont,
OWLImportsDeclaration importDeclaration) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLOntologyChangeVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLOntologyChangeVisitorEx<O> visitor)
Accepts a visitor
|
boolean |
equals(Object obj) |
AddImportData |
getChangeData()
Gets the data (independent of the ontology) associated with this specific
change.
|
int |
hashCode() |
String |
toString() |
getAxiom, getImportDeclaration, getSignature, isAddAxiom, isAxiomChange, isImportChange
getChangeRecord, getOntology, isRemoveAxiom
public AddImport(OWLOntology ont, OWLImportsDeclaration importDeclaration)
ont
- the ontology to which the change is to be appliedimportDeclaration
- the import declarationpublic AddImportData getChangeData()
OWLOntologyChange
getChangeData
in class OWLOntologyChange
OWLOntologyChangeData
associated with this
OWLOntologyChange
. Not null
.public void accept(OWLOntologyChangeVisitor visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
visitor
- The visitorpublic <O> O accept(OWLOntologyChangeVisitorEx<O> visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
O
- visitor return typevisitor
- The visitorCopyright © 2017 The University of Manchester. All Rights Reserved.