public class DefinitionTracker extends Object implements org.semanticweb.owlapi.model.OWLOntologyChangeListener
| Constructor and Description |
|---|
DefinitionTracker(org.semanticweb.owlapi.model.OWLOntology ontology) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDefined(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
Checks if all the entities referred in the given concept are also
referred by a logical axiom in the imports closure of the designated
ontology.
|
boolean |
isDefined(org.semanticweb.owlapi.model.OWLEntity entity)
Checks if this entity is referred by a logical axiom in the imports
closure of the designated ontology.
|
void |
ontologiesChanged(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes) |
public DefinitionTracker(org.semanticweb.owlapi.model.OWLOntology ontology)
ontology - ontology to trackpublic boolean isDefined(org.semanticweb.owlapi.model.OWLEntity entity)
entity - entity we are searching fortrue if there is at least one logical axiom in the
imports closure of the given ontology that refers the given
entitypublic boolean isDefined(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
classExpression - description that contains the entities we are searching fortrue if all the entities in the given description
are referred by at least one logical axiom in the imports closure
of the given ontologypublic void ontologiesChanged(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes) throws org.semanticweb.owlapi.model.OWLException
ontologiesChanged in interface org.semanticweb.owlapi.model.OWLOntologyChangeListenerorg.semanticweb.owlapi.model.OWLExceptionCopyright © 2013 The University of Manchester. All Rights Reserved.