Class OntologyTermCompositeFetcher
- java.lang.Object
-
- psidev.psi.mi.jami.bridges.fetcher.mock.CvTermCompositeFetcherTemplate<OntologyTerm,OntologyTermFetcher>
-
- psidev.psi.mi.jami.bridges.fetcher.mock.OntologyTermCompositeFetcher
-
- All Implemented Interfaces:
CvTermFetcher<OntologyTerm>
,OntologyTermFetcher
public class OntologyTermCompositeFetcher extends CvTermCompositeFetcherTemplate<OntologyTerm,OntologyTermFetcher> implements OntologyTermFetcher
Ontology fetcher that delegates to different ontologyTermFetchers- Since:
18/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description OntologyTermCompositeFetcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<OntologyTerm>
fetchRootTerms(String databaseName)
fetchRootTerms.Set<OntologyTerm>
fetchRootTerms(CvTerm database)
fetchRootTerms.-
Methods inherited from class psidev.psi.mi.jami.bridges.fetcher.mock.CvTermCompositeFetcherTemplate
addCvTermFetcher, fetchByIdentifier, fetchByIdentifier, fetchByIdentifiers, fetchByIdentifiers, fetchByName, fetchByName, fetchByNames, fetchByNames, getDelegateFetchers, removeCvTermFetcher
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.bridges.fetcher.CvTermFetcher
fetchByIdentifier, fetchByIdentifier, fetchByIdentifiers, fetchByIdentifiers, fetchByName, fetchByName, fetchByNames, fetchByNames
-
-
-
-
Method Detail
-
fetchRootTerms
public Set<OntologyTerm> fetchRootTerms(String databaseName) throws BridgeFailedException
fetchRootTerms.
- Specified by:
fetchRootTerms
in interfaceOntologyTermFetcher
- Parameters:
databaseName
- : ontology database name- Returns:
- a set of root terms for the ontology matching this database name
- Throws:
BridgeFailedException
- if any.
-
fetchRootTerms
public Set<OntologyTerm> fetchRootTerms(CvTerm database) throws BridgeFailedException
fetchRootTerms.
- Specified by:
fetchRootTerms
in interfaceOntologyTermFetcher
- Parameters:
database
- aCvTerm
object.- Returns:
- a
Set
object. - Throws:
BridgeFailedException
- if any.
-
-