gov.nih.nci.caarray.domain.sample
Class MeasurementCharacteristic
java.lang.Object
gov.nih.nci.caarray.domain.AbstractCaArrayObject
gov.nih.nci.caarray.domain.AbstractCaArrayEntity
gov.nih.nci.caarray.domain.AbstractUnitableValue
gov.nih.nci.caarray.domain.sample.AbstractCharacteristic
gov.nih.nci.caarray.domain.sample.MeasurementCharacteristic
- All Implemented Interfaces:
- com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, MeasurementValue, UnitableValue, java.io.Serializable
public class MeasurementCharacteristic
- extends AbstractCharacteristic
- implements MeasurementValue
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MeasurementCharacteristic
public MeasurementCharacteristic()
- Hibernate-only constructor.
MeasurementCharacteristic
public MeasurementCharacteristic(Category category,
java.lang.Float value,
Term unit)
- Create a new characteristic with given fields.
- Parameters:
category
- the category of the characteristicvalue
- the value of the characteristicunit
- the unit for the value
getValue
public java.lang.Float getValue()
- Specified by:
getValue
in interface MeasurementValue
- Returns:
- the value
setValue
public void setValue(java.lang.Float value)
- Specified by:
setValue
in interface MeasurementValue
- Parameters:
value
- the value to set
getDisplayValueWithoutUnit
public java.lang.String getDisplayValueWithoutUnit()
-
- Specified by:
getDisplayValueWithoutUnit
in interface UnitableValue
- Returns:
- the value (without unit) as a string displayable in the ui