Interface OntologyTermFetcher
-
- All Superinterfaces:
CvTermFetcher<OntologyTerm>
- All Known Implementing Classes:
CachedOlsOntologyTermFetcher
,MockOntologyTermFetcher
,OboOntologyTermFetcher
,OlsOntologyTermFetcher
,OntologyTermCompositeFetcher
public interface OntologyTermFetcher extends CvTermFetcher<OntologyTerm>
Finds ontology terms in the Ontology Lookup Service as well as having options to recursively find parents and or children. Extends CvTermFetcher with OntologyTerms.- Since:
- 03/07/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<OntologyTerm>
fetchRootTerms(String databaseName)
fetchRootTerms.Set<OntologyTerm>
fetchRootTerms(CvTerm database)
fetchRootTerms.-
Methods inherited from interface psidev.psi.mi.jami.bridges.fetcher.CvTermFetcher
fetchByIdentifier, fetchByIdentifier, fetchByIdentifiers, fetchByIdentifiers, fetchByName, fetchByName, fetchByNames, fetchByNames
-
-
-
-
Method Detail
-
fetchRootTerms
Set<OntologyTerm> fetchRootTerms(String databaseName) throws BridgeFailedException
fetchRootTerms.
- Parameters:
databaseName
- : ontology database name- Returns:
- a set of root terms for the ontology matching this database name
- Throws:
BridgeFailedException
- if any.
-
fetchRootTerms
Set<OntologyTerm> fetchRootTerms(CvTerm database) throws BridgeFailedException
fetchRootTerms.
- Parameters:
database
- : database term for the ontology- Returns:
- a set of root terms for the ontology matching this database term
- Throws:
BridgeFailedException
- if any.
-
-