fr.cnes.sitools.form.dataset.dto
Class ValueDTO

java.lang.Object
  extended by fr.cnes.sitools.form.dataset.dto.ValueDTO

public final class ValueDTO
extends java.lang.Object

DTO value description

Author:
AKKA (OpenWiz)

Constructor Summary
ValueDTO()
           
 
Method Summary
 java.util.List<java.lang.String> getAvailableFor()
          Get the list where the DTO is available
 java.lang.String getCode()
          Return the code of the value
 java.lang.Boolean getDefaultValue()
          Gets the default value
 java.lang.String getValue()
          Get the DTO value
 boolean isSelected()
          Get if the DTO is selected or not
 void setAvailableFor(java.util.List<java.lang.String> availableFor)
          Sets the list where the DTO is available
 void setCode(java.lang.String code)
          Set the code of the value
 void setDefaultValue(java.lang.Boolean defaultValue)
          Sets the default value
 void setSelected(boolean selected)
          Set if the DTO is selected or not
 void setValue(java.lang.String value)
          Set the DTO value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueDTO

public ValueDTO()
Method Detail

getCode

public java.lang.String getCode()
Return the code of the value

Returns:
the code

setCode

public void setCode(java.lang.String code)
Set the code of the value

Parameters:
code - the code to set

isSelected

public boolean isSelected()
Get if the DTO is selected or not

Returns:
the selected

setSelected

public void setSelected(boolean selected)
Set if the DTO is selected or not

Parameters:
selected - the selected to set

getValue

public java.lang.String getValue()
Get the DTO value

Returns:
the value

setValue

public void setValue(java.lang.String value)
Set the DTO value

Parameters:
value - the value to set

getAvailableFor

public java.util.List<java.lang.String> getAvailableFor()
Get the list where the DTO is available

Returns:
the availableFor

setAvailableFor

public void setAvailableFor(java.util.List<java.lang.String> availableFor)
Sets the list where the DTO is available

Parameters:
availableFor - the availableFor to set

getDefaultValue

public java.lang.Boolean getDefaultValue()
Gets the default value

Returns:
the defaultValue

setDefaultValue

public void setDefaultValue(java.lang.Boolean defaultValue)
Sets the default value

Parameters:
defaultValue - the defaultValue to set


Copyright © 2010-2013 CNES. All Rights Reserved.