public class AddImport extends ImportChange
Constructor and Description |
---|
AddImport(OWLOntology ont,
OWLImportsDeclaration importDeclaration) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLOntologyChangeVisitor visitor) |
<O> O |
accept(OWLOntologyChangeVisitorEx<O> visitor) |
boolean |
equals(java.lang.Object obj) |
AddImportData |
getChangeData()
Gets the data (independent of the ontology) associated with this specific change.
|
int |
hashCode() |
java.lang.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()
getChangeData
in class OWLOntologyChange
OWLOntologyChangeData
associated with this OWLOntologyChange
. Not null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void accept(OWLOntologyChangeVisitor visitor)
accept
in class OWLOntologyChange
public <O> O accept(OWLOntologyChangeVisitorEx<O> visitor)
accept
in class OWLOntologyChange