org.semanticweb.owl.model
Class AddAxiom

java.lang.Object
  extended by org.semanticweb.owl.model.OWLOntologyChange
      extended by org.semanticweb.owl.model.OWLAxiomChange
          extended by org.semanticweb.owl.model.AddAxiom

public class AddAxiom
extends OWLAxiomChange

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Oct-2006

Represents an ontology change where axioms should be added to an ontology.


Constructor Summary
AddAxiom(OWLOntology ont, OWLAxiom axiom)
           
 
Method Summary
 void accept(OWLOntologyChangeVisitor visitor)
           
protected  boolean isAdd()
          Determines if the change will add an axiom to an ontology, or remove an axiom from an ontology.
 
Methods inherited from class org.semanticweb.owl.model.OWLAxiomChange
getAxiom, getEntities, isAxiomChange
 
Methods inherited from class org.semanticweb.owl.model.OWLOntologyChange
getOntology
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddAxiom

public AddAxiom(OWLOntology ont,
                OWLAxiom axiom)
Method Detail

isAdd

protected boolean isAdd()
Description copied from class: OWLAxiomChange
Determines if the change will add an axiom to an ontology, or remove an axiom from an ontology.

Specified by:
isAdd in class OWLAxiomChange
Returns:
true if the change will add an axiom to an ontology, false if the change will remove an axiom from an ontology.

accept

public void accept(OWLOntologyChangeVisitor visitor)
Specified by:
accept in class OWLOntologyChange