|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectowltools.gaf.TaxonTools
public class TaxonTools
Methods to simplify the work with the evidence code ontology (ECO).
Field Summary | |
---|---|
static String |
TAXON_PURL
|
Constructor Summary | |
---|---|
TaxonTools(OWLGraphWrapper graph,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner,
boolean disposeReasoner)
Create an instance for the given graph and reasoner. |
Method Summary | |
---|---|
void |
dispose()
Clean up the internal data structures, usually done as last operation. |
Set<org.semanticweb.owlapi.model.OWLClass> |
getAncestors(org.semanticweb.owlapi.model.OWLClass taxonClass,
boolean reflexive)
Wrapper method for the reasoner. |
Set<org.semanticweb.owlapi.model.OWLClass> |
getDescendents(Set<org.semanticweb.owlapi.model.OWLClass> sources,
boolean reflexive)
Wrapper method for the reasoner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TAXON_PURL
Constructor Detail |
---|
public TaxonTools(OWLGraphWrapper graph, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner, boolean disposeReasoner) throws org.semanticweb.owlapi.model.UnknownOWLOntologyException, org.semanticweb.owlapi.model.OWLOntologyCreationException
graph
- reasoner
- disposeReasoner
- set to true, if the reasoner should also be disposed
org.semanticweb.owlapi.model.UnknownOWLOntologyException
org.semanticweb.owlapi.model.OWLOntologyCreationException
dispose()
Method Detail |
---|
public Set<org.semanticweb.owlapi.model.OWLClass> getAncestors(org.semanticweb.owlapi.model.OWLClass taxonClass, boolean reflexive)
taxonClass
- reflexive
-
public Set<org.semanticweb.owlapi.model.OWLClass> getDescendents(Set<org.semanticweb.owlapi.model.OWLClass> sources, boolean reflexive)
sources
- reflexive
-
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |