|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.ebi.microarray.zooma.eval.OntologyMappingOutcomeDecorator
public abstract class OntologyMappingOutcomeDecorator
An abstract class that implements OntologyMappingOutcome
and follows the decorator pattern. This allows us to decorate outcomes,
tagging
Constructor Summary | |
---|---|
protected |
OntologyMappingOutcomeDecorator(OntologyMappingOutcome outcome)
|
Method Summary | |
---|---|
void |
apply()
Applies the current outcome. |
java.util.Collection<OntologyMappingHypothesis> |
getBestHypotheses()
A collection of OntologyMappingHypothesis
objects that describe ontology mappings. |
protected OntologyMappingOutcome |
getOutcome()
|
Value |
getUnmappedValue()
Returns that value that has been used to produce this outcome. |
boolean |
isAutomaticallyAcceptable()
Whether or not it was possible to automatically accept a given outcome. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected OntologyMappingOutcomeDecorator(OntologyMappingOutcome outcome)
Method Detail |
---|
protected OntologyMappingOutcome getOutcome()
public Value getUnmappedValue()
OntologyMappingOutcome
getUnmappedValue
in interface OntologyMappingOutcome
public java.util.Collection<OntologyMappingHypothesis> getBestHypotheses()
OntologyMappingOutcome
OntologyMappingHypothesis
objects that describe ontology mappings. In the general case, if there is
a single valued hypothesis it can be automatically accepted, and if there
are many hypotheses user curation will be required before a single outcome
can be applied. If there are zero, no mappings were possible.
getBestHypotheses
in interface OntologyMappingOutcome
public boolean isAutomaticallyAcceptable()
OntologyMappingOutcome
isAutomaticallyAcceptable
in interface OntologyMappingOutcome
public void apply() throws BadOutcomeException
OntologyMappingOutcome
apply
in interface OntologyMappingOutcome
BadOutcomeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |