org.semanticweb.owlapi.model
Class AddAxiom
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.OWLAxiomChange
org.semanticweb.owlapi.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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AddAxiom
public AddAxiom(OWLOntology ont,
OWLAxiom axiom)
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.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
accept
public void accept(OWLOntologyChangeVisitor visitor)
- Specified by:
accept
in class OWLOntologyChange
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object