gov.nih.nci.caarray.domain.project
Class UserDefinedFactorValue
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.project.AbstractFactorValue
gov.nih.nci.caarray.domain.project.UserDefinedFactorValue
- All Implemented Interfaces:
- com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, UnitableValue, UserDefinedValue, java.io.Serializable
public class UserDefinedFactorValue
- extends AbstractFactorValue
- implements UserDefinedValue
A FactorValue with a free text value.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UserDefinedFactorValue
public UserDefinedFactorValue()
- Hibernate-only constructor.
UserDefinedFactorValue
public UserDefinedFactorValue(java.lang.String value,
Term unit)
- Create a new factor value with given fields.
- Parameters:
value
- the valueunit
- the unit for the value
getValue
@Length(max=254)
public java.lang.String getValue()
- Specified by:
getValue
in interface UserDefinedValue
- Returns:
- the value
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue
in interface UserDefinedValue
- 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