Package net.sf.basedb.core.data
Class DoubleParameterValueData
- All Implemented Interfaces:
IdentifiableData
Double parameter value.
- Version:
- 2.0
- Author:
- Nicklas, Samuel
- See Also:
- Last modified
- $Date: 2005-07-05 15:51:30 +0200 (ti, 05 jul 2005) $
- Hibernate: subclass
- discriminator-value="4"
-
Field Summary
Fields inherited from class net.sf.basedb.core.data.ParameterValueData
MAX_DESCRIPTION_LENGTH, MAX_LABEL_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet values of this parameter.int
Get the type of parameter values that are store in this parameter.(package private) void
Set values of this parameter.toString()
The string will look likeClassName[id=55]
orClassName[new]
.Methods inherited from class net.sf.basedb.core.data.ParameterValueData
getDescription, getLabel, getOldValues, isMasked, replaceValuesIfDifferent, setDescription, setLabel, setMasked, storeCurrentValuesAsOld
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion
-
Field Details
-
values
-
-
Constructor Details
-
DoubleParameterValueData
public DoubleParameterValueData() -
DoubleParameterValueData
-
-
Method Details
-
getValueType
public int getValueType()Description copied from class:ParameterValueData
Get the type of parameter values that are store in this parameter. The value should correspond to one of theType.getValue()
values, or 0 if the parameter has no corresponding type.- Specified by:
getValueType
in classParameterValueData<Double>
- Returns:
- 4 (Type.DOUBLE)
- Since:
- 2.16
-
getValues
Description copied from class:ParameterValueData
Get values of this parameter. Hibernate mapped in each subclass to a bag containing all values for the parameter.- Specified by:
getValues
in classParameterValueData<Double>
- Returns:
- Collection of values.
- Hibernate: collection-key
- column="`id`"
- Hibernate: collection-element
- column="`value`" type="double" not-null="true"
- Hibernate: bag
- table="`DoubleValues`" lazy="true" cascade="all"
-
setValues
Description copied from class:ParameterValueData
Set values of this parameter.NOTE! Used by Hibernate to initialize the object. Do not call
AnnotationData.setLastUpdate(java.util.Date)
!- Specified by:
setValues
in classParameterValueData<Double>
- Parameters:
values
- Collection of values.
-
toString
Description copied from class:BasicData
The string will look likeClassName[id=55]
orClassName[new]
.
-