|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.external.v1_0.sample.Characteristic
public class Characteristic
Characteristic represents a loosely typed attribute associated with a sample. The attribute consists of a category and a value.
Constructor Summary | |
---|---|
Characteristic()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Category |
getCategory()
|
java.lang.Float |
getMeasurementValue()
|
Term |
getTermValue()
|
AbstractValue |
getValue()
|
int |
hashCode()
|
static Characteristic |
newMeasurementCharacteristic()
|
static Characteristic |
newTermCharacteristic()
|
static Characteristic |
newUserDefinedCharacteristic()
|
void |
setCategory(Category category)
|
void |
setMeasurementValue(java.lang.Float measurement)
Set the value of this charactestic to be a MeasurementValue with given measurement. |
void |
setTermValue(Term term)
Set the value of this charactestic to be a TermValue with given term. |
void |
setValue(AbstractValue value)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Characteristic()
Method Detail |
---|
public Category getCategory()
public void setCategory(Category category)
category
- the category to setpublic AbstractValue getValue()
public void setValue(AbstractValue value)
value
- the value to setpublic static Characteristic newMeasurementCharacteristic()
public static Characteristic newTermCharacteristic()
public static Characteristic newUserDefinedCharacteristic()
public void setTermValue(Term term)
term
- the termpublic Term getTermValue()
public void setMeasurementValue(java.lang.Float measurement)
measurement
- the measurementpublic java.lang.Float getMeasurementValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |