fr.cnes.sitools.form.model
Class Value

java.lang.Object
  extended by fr.cnes.sitools.form.model.Value

public final class Value
extends java.lang.Object

Value of a parameter

Version:
1.0 01-09-2010 08:59:07
Author:
BAILLAGOU

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

Constructor Detail

Value

public Value()
Constructor

Method Detail

getCode

public java.lang.String getCode()
Get the ID

Returns:
the id

setCode

public void setCode(java.lang.String id)
Set the ID

Parameters:
id - the id to set

isSelected

public boolean isSelected()
Get if selected

Returns:
the selected

setSelected

public void setSelected(boolean selected)
Set if selected

Parameters:
selected - the selected to set

getValue

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

Returns:
the value

setValue

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

Parameters:
value - the value to set

getAvailableFor

public java.util.List<Value> getAvailableFor()
Get the list

Returns:
a list of available for things

setAvailableFor

public void setAvailableFor(java.util.List<Value> availableFor)
Set the list of available for things

Parameters:
availableFor - the list

getDefaultValue

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

Returns:
the defaultValue

setDefaultValue

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

Parameters:
defaultValue - the defaultValue to set


Copyright © 2010-2013 CNES. All Rights Reserved.