|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.microarray.zooma.lang.TextValue
public class TextValue
A very basic Value implementation that simply wraps a plain text string. This text value also wraps a tracker, for recording hypotheses that can map the text value.
| Constructor Summary | |
|---|---|
TextValue(java.lang.String text)
Generates a new TextValue with, by default, a new instance of HypothesisRankingTracker as it's
tracker. |
|
TextValue(java.lang.String text,
HypothesisTracker tracker)
Generates a new text value, using the supplied hypothesis tracker to track hypotheses about how this text value maps to ontology terms. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
HypothesisTracker |
getHypothesisTracker()
Returns a HypothesisTracker that
can be utilised to track any generated hypotheses describing mappings about
this value |
java.lang.String |
getText()
The actual string assigned to this description. |
int |
hashCode()
|
void |
setHypothesisTracker(HypothesisTracker tracker)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextValue(java.lang.String text)
HypothesisRankingTracker as it's
tracker.
text - the text value to map
public TextValue(java.lang.String text,
HypothesisTracker tracker)
text - the value to maptracker - the tracker to use to track mapping hypotheses| Method Detail |
|---|
public java.lang.String getText()
Value
getText in interface Valuepublic HypothesisTracker getHypothesisTracker()
ValueHypothesisTracker that
can be utilised to track any generated hypotheses describing mappings about
this value
getHypothesisTracker in interface Valuepublic void setHypothesisTracker(HypothesisTracker tracker)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||