uk.ac.ebi.microarray.zooma.hypothesis
Class TrackedHypothesisFactory

java.lang.Object
  extended by uk.ac.ebi.microarray.zooma.hypothesis.TrackedHypothesisFactory
All Implemented Interfaces:
OntologyMappingHypothesisFactory

public class TrackedHypothesisFactory
extends java.lang.Object
implements OntologyMappingHypothesisFactory

A basic implementation of a factory for generating OntologyMappingHypothesis objects. This factory constructs PossibleDuplicateMappingsHypothesis and registers each newly created hypothesis with a tracker. As such, this factory should be configured with an InformationTracker.

Author:
Tony Burdett

Constructor Summary
TrackedHypothesisFactory()
           
 
Method Summary
 OntologyMappingHypothesis generateHypothesis(Value value, OntologyMappingContext context, uk.ac.ebi.ontocat.OntologyTerm... ontologyTerms)
          Generates an ontology mapping hypothesis given a description, the term it may map to, and a context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackedHypothesisFactory

public TrackedHypothesisFactory()
Method Detail

generateHypothesis

public OntologyMappingHypothesis generateHypothesis(Value value,
                                                    OntologyMappingContext context,
                                                    uk.ac.ebi.ontocat.OntologyTerm... ontologyTerms)
Description copied from interface: OntologyMappingHypothesisFactory
Generates an ontology mapping hypothesis given a description, the term it may map to, and a context

Specified by:
generateHypothesis in interface OntologyMappingHypothesisFactory
Parameters:
value - the text description that requires mapping
context - the mapping context in which this hypothesis is formed
ontologyTerms - the series of terms that can be mapped to in this hypothesis
Returns:
the generated hypothesis


Copyright © 2010. All Rights Reserved.