com.ds.fw.dv.params
Class FwDVValue

java.lang.Object
  |
  +--com.ds.fw.types.FwSimpleObject
        |
        +--com.ds.fw.types.FwValue
              |
              +--com.ds.fw.dv.params.FwDVValue
All Implemented Interfaces:
java.lang.Cloneable, FwCopyableIF, FwDisplayableIF, FwSimpleObjectIF, java.io.Serializable

public class FwDVValue
extends FwValue

This class represents the base data type for the edit table component

See Also:
Serialized Form

Field Summary
 java.lang.Object def
          Data value
 java.lang.String name
          Data name
 
Fields inherited from class com.ds.fw.types.FwValue
type, value
 
Constructor Summary
FwDVValue()
          Construcyor.
FwDVValue(java.lang.Object o, int t, java.lang.String name, java.lang.Object def)
           
 
Method Summary
 java.lang.Object getDef()
          This method returns the default value of the data.
 java.lang.String getName()
          This method returns the name of the data.
 void setDef(java.lang.Object o)
          This method sets the default value of the data.
 void setName(java.lang.String n)
          This method sets the data name.
 java.lang.String toString()
          This method returns the String representation of the data value.
 
Methods inherited from class com.ds.fw.types.FwValue
clone, get, getBigDecimal, getDate, getDouble, getFloat, getInt, getLong, getNumber, getString, getType, set, setBigDecimal, setDate, setDouble, setFloat, setInt, setLong, setNumber, setObject, setObject1, setString, setType
 
Methods inherited from class com.ds.fw.types.FwSimpleObject
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, printStackTrace, toStringValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name
Data name


def

public java.lang.Object def
Data value

Constructor Detail

FwDVValue

public FwDVValue()
Construcyor. Initializes the object.


FwDVValue

public FwDVValue(java.lang.Object o,
                 int t,
                 java.lang.String name,
                 java.lang.Object def)
Method Detail

getName

public java.lang.String getName()
This method returns the name of the data.


setName

public void setName(java.lang.String n)
This method sets the data name.

Parameters:
n - a String object containing the data name

toString

public java.lang.String toString()
This method returns the String representation of the data value.

Specified by:
toString in interface FwSimpleObjectIF
Overrides:
toString in class FwValue
Returns:
the value of the field value as String

getDef

public java.lang.Object getDef()
This method returns the default value of the data.


setDef

public void setDef(java.lang.Object o)
This method sets the default value of the data.

Parameters:
o - the value to be set