public class StringParameterValueData extends ParameterValueData<java.lang.String>
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
values |
MAX_DESCRIPTION_LENGTH, MAX_LABEL_LENGTH
Constructor and Description |
---|
StringParameterValueData() |
StringParameterValueData(java.lang.String... values) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getValues()
Get values of this parameter.
|
int |
getValueType()
Get the type of parameter values that are store in this parameter.
|
(package private) void |
setValues(java.util.List<java.lang.String> values)
Set values of this parameter.
|
java.lang.String |
toString()
The string will look like
ClassName[id=55] or
ClassName[new] . |
getDescription, getLabel, getOldValues, isMasked, replaceValuesIfDifferent, setDescription, setLabel, setMasked, storeCurrentValuesAsOld
equals, getId, getVersion, hashCode, setId, setVersion
public StringParameterValueData()
public StringParameterValueData(java.lang.String... values)
public int getValueType()
ParameterValueData
Type.getValue()
values, or 0 if the parameter has no corresponding type.getValueType
in class ParameterValueData<java.lang.String>
public java.util.List<java.lang.String> getValues()
ParameterValueData
getValues
in class ParameterValueData<java.lang.String>
void setValues(java.util.List<java.lang.String> values)
ParameterValueData
NOTE! Used by Hibernate to initialize the object. Do not
call AnnotationData.setLastUpdate(java.util.Date)
!
setValues
in class ParameterValueData<java.lang.String>
values
- Collection of values.