|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.model.OWLOntologyChange org.semanticweb.owlapi.model.OWLAxiomChange
public abstract class OWLAxiomChange
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 12-Dec-2006
Constructor Summary | |
---|---|
OWLAxiomChange(OWLOntology ont,
OWLAxiom axiom)
|
Method Summary | |
---|---|
OWLAxiom |
getAxiom()
Gets the axiom that is involved in the change (the axiom to either be added or removed) |
java.util.Set<OWLEntity> |
getEntities()
A convenience method that obtains the entities which are referenced in the axiom contained within this change. |
protected abstract boolean |
isAdd()
Determines if the change will add an axiom to an ontology, or remove an axiom from an ontology. |
boolean |
isAxiomChange()
Determines if the change will cause the addition or removal of an axiom from an ontology. |
boolean |
isImportChange()
Determines if this change is an import change |
Methods inherited from class org.semanticweb.owlapi.model.OWLOntologyChange |
---|
accept, getOntology |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OWLAxiomChange(OWLOntology ont, OWLAxiom axiom)
Method Detail |
---|
public boolean isAxiomChange()
OWLOntologyChange
isAxiomChange
in class OWLOntologyChange
true
if the change is an OWLAddAxiomChange
or OWLRemoveAxiomChange
otherwise false
.public boolean isImportChange()
isImportChange
in class OWLOntologyChange
true
if this change is an import change, otherwise false
.protected abstract boolean isAdd()
true
if the change will add an axiom
to an ontology, false
if the change will remove
an axiom from an ontology.public OWLAxiom getAxiom()
getAxiom
in class OWLOntologyChange
public java.util.Set<OWLEntity> getEntities()
Set
of entities which are referenced
by the axiom contained within this change.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |