|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OntologyTermRetriever
A service that fetches ontology terms from some repository. The fetched
OntologyTerms are used them to generate a set of new OntologyMappingHypothesis objects
| Method Summary | |
|---|---|
java.util.Collection<OntologyMappingContext> |
fetchMappingContexts(Value value,
uk.ac.ebi.ontocat.OntologyTerm term)
Fetch the contexts in which the given description is mapped to the given term, if any. |
java.util.Collection<uk.ac.ebi.ontocat.OntologyTerm> |
fetchTerms(Value value)
Fetch a collection of terms using the given description as a search parameter. |
| Method Detail |
|---|
java.util.Collection<uk.ac.ebi.ontocat.OntologyTerm> fetchTerms(Value value)
throws java.io.IOException
value - the text description to search for
OntologyTerms retrieved from the
repository
java.io.IOException - if terms could not be fetched from the
underlying source.
java.util.Collection<OntologyMappingContext> fetchMappingContexts(Value value,
uk.ac.ebi.ontocat.OntologyTerm term)
throws java.io.IOException
value - the original description used to retrieve the supplied termterm - the term that is mapped to this description - usually,
retrieved by fetchTerms(uk.ac.ebi.microarray.zooma.lang.Value)
first
java.io.IOException - if context could not be fetched from the underlying
source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||