|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntologyMappingHypothesis
A hypothesis regarding how a given description may map to a given term. The
OntologyMapper
may chose to accept or
reject a series of hypotheses in order to produce an OntologyMappingOutcome
Method Summary | |
---|---|
void |
accept(OntologyMappingHypothesisVisitor visitor)
Accept a visit from an OntologyMappingHypothesisVisitor . |
void |
acceptHypothesis()
Accept this hypothesis, informing the ontology mapping mediator of this change. |
void |
addOntologyTerm(uk.ac.ebi.ontocat.OntologyTerm ontologyTerm)
Adds an additional term to the collection of terms that are mapped by this hypothesis. |
OntologyMappingContext |
getContext()
The context in which this mapping hypothesis should be attempted |
java.util.Collection<uk.ac.ebi.ontocat.OntologyTerm> |
getOntologyTerms()
Gets the collections of OntologyTerms that can hypothetically be mapped to the given value. |
Value |
getValue()
Gets the description that is attempted to be mapped in this hypothesis. |
boolean |
isAccepted()
Returns whether or not this hypothesis has been accepted as the best mapping hypothesis |
boolean |
isRejected()
Returns whether or not this hypothesis has been rejected against another, better hypothesis |
void |
rejectHypothesis()
Reject this hypothesis, informing the ontology mapping mediator of this change. |
void |
setOntologyTerms(java.util.Collection<uk.ac.ebi.ontocat.OntologyTerm> ontologyTerms)
Sets the collection of OntologyTerms that can hypothetically be mapped to the value for this hypothesis. |
Methods inherited from interface uk.ac.ebi.microarray.zooma.track.Information |
---|
changed |
Method Detail |
---|
Value getValue()
void setOntologyTerms(java.util.Collection<uk.ac.ebi.ontocat.OntologyTerm> ontologyTerms)
ontologyTerms
- the collections of terms that can be mappedjava.util.Collection<uk.ac.ebi.ontocat.OntologyTerm> getOntologyTerms()
void addOntologyTerm(uk.ac.ebi.ontocat.OntologyTerm ontologyTerm)
ontologyTerm
- the ontology term being added to this hypothesisOntologyMappingContext getContext()
boolean isAccepted()
boolean isRejected()
void acceptHypothesis()
void rejectHypothesis()
void accept(OntologyMappingHypothesisVisitor visitor)
OntologyMappingHypothesisVisitor
.
visitor
- the visitor to accept a visit from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |