Last update: 2011-06-23

org.proteios.core.data
Class TextParameterValueData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.ParameterValueData<String>
          extended by org.proteios.core.data.TextParameterValueData
All Implemented Interfaces:
IdentifiableData

public class TextParameterValueData
extends ParameterValueData<String>

Text parameter value.

Version:
2.0
Author:
Samuel
See Also:
Parameters overview
Last modified
$Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
Hibernate: subclass
discriminator-value="6"

Constructor Summary
TextParameterValueData()
           
TextParameterValueData(String... values)
           
 
Method Summary
 List<String> getValues()
          Get values of this parameter.
 String toString()
          The string will look like ClassName[id=55] or ClassName[new].
 
Methods inherited from class org.proteios.core.data.ParameterValueData
replaceValues, setSingleValue
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextParameterValueData

public TextParameterValueData()

TextParameterValueData

public TextParameterValueData(String... values)
Method Detail

getValues

public List<String> 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 class ParameterValueData<String>
Returns:
Collection of values.
Hibernate: collection-key
column="`id`"
Hibernate: collection-element
column="`value`" type="text" not-null="true"
Hibernate: bag
table="`TextValues`" lazy="true" cascade="all"

toString

public String toString()
Description copied from class: BasicData
The string will look like ClassName[id=55] or ClassName[new].

Overrides:
toString in class BasicData

Last update: 2011-06-23