org.semanticweb.owlapi.model
Class RemoveOntologyAnnotation
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.RemoveOntologyAnnotation
public class RemoveOntologyAnnotation
- extends OWLOntologyChange
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 24-Mar-2009
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RemoveOntologyAnnotation
public RemoveOntologyAnnotation(OWLOntology ont,
OWLAnnotation annotation)
getAnnotation
public OWLAnnotation getAnnotation()
isAxiomChange
public boolean isAxiomChange()
- Description copied from class:
OWLOntologyChange
- Determines if the change will cause the addition or
removal of an axiom from an ontology.
- Specified by:
isAxiomChange in class OWLOntologyChange
- Returns:
true if the change is an OWLAddAxiomChange
or OWLRemoveAxiomChange otherwise false.
getAxiom
public OWLAxiom getAxiom()
- Description copied from class:
OWLOntologyChange
- If the change is an axiom change (i.e. AddAxiom or RemoveAxiom)
this method obtains the axiom.
- Specified by:
getAxiom in class OWLOntologyChange
- Returns:
- The Axiom if this change is an axiom change
isImportChange
public boolean isImportChange()
- Description copied from class:
OWLOntologyChange
- Determines if this change is an import change and hence causes a change to the imports closure of an ontology.
- Specified by:
isImportChange in class OWLOntologyChange
- Returns:
true if this change is an import change, otherwise false.
accept
public void accept(OWLOntologyChangeVisitor visitor)
- Specified by:
accept in class OWLOntologyChange
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