Last update: 2011-06-23

org.proteios.core.data
Class LongParameterValueData

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

public class LongParameterValueData
extends ParameterValueData<Long>

Long parameter value.

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

Constructor Summary
LongParameterValueData()
           
LongParameterValueData(Long... values)
           
 
Method Summary
 List<Long> 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

LongParameterValueData

public LongParameterValueData()

LongParameterValueData

public LongParameterValueData(Long... values)
Method Detail

getValues

public List<Long> 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<Long>
Returns:
Collection of values.
Hibernate: collection-key
column="`id`"
Hibernate: collection-element
column="`value`" type="long" not-null="true"
Hibernate: bag
table="`LongValues`" 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