org.semanticweb.owlapi.model
Class AddImport

java.lang.Object
  extended by org.semanticweb.owlapi.model.OWLOntologyChange
      extended by org.semanticweb.owlapi.model.ImportChange
          extended by org.semanticweb.owlapi.model.AddImport

public class AddImport
extends ImportChange

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 18-Mar-2009

Represents an ontology change where an import statement is added to an ontology.


Constructor Summary
AddImport(OWLOntology ont, OWLImportsDeclaration importDeclaration)
           
 
Method Summary
 void accept(OWLOntologyChangeVisitor visitor)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class org.semanticweb.owlapi.model.ImportChange
getAxiom, getImportDeclaration, isAxiomChange, isImportChange
 
Methods inherited from class org.semanticweb.owlapi.model.OWLOntologyChange
getOntology
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddImport

public AddImport(OWLOntology ont,
                 OWLImportsDeclaration importDeclaration)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

accept

public void accept(OWLOntologyChangeVisitor visitor)
Overrides:
accept in class ImportChange