public class PackedDecimalFieldDescription extends FieldDescription implements java.io.Serializable
ALIGN_LEFT, ALIGN_RIGHT| Constructor and Description | 
|---|
| PackedDecimalFieldDescription()Constructs a PackedDecimalFieldDescription object. | 
| PackedDecimalFieldDescription(AS400PackedDecimal dataType,
                             java.lang.String name)Constructs a PackedDecimalFieldDescription object. | 
| PackedDecimalFieldDescription(AS400PackedDecimal dataType,
                             java.lang.String name,
                             java.lang.String ddsName)Constructs a PackedDecimalFieldDescription object. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getDecimalPositions()Returns the number of digits after the decimal point for this field. | 
| void | setDataType(AS400PackedDecimal dataType)Sets the AS400DataType object describing this field. | 
| void | setDFT(java.math.BigDecimal defaultValue)Sets the value for the DFT keyword for this field. | 
| void | setDFTNull()Sets the value for the DFT keyword to be *NULL for this field. | 
getALIAS, getALWNULL, getCOLHDG, getDataType, getDDSName, getDFT, getDFTCurrentValue, getFieldName, getKeyFieldFunctions, getLayoutAlignment, getLayoutLength, getLength, getREFFIL, getREFFLD, getREFFMT, getREFLIB, getTEXT, isDFTCurrent, isDFTNull, setALIAS, setALWNULL, setCOLHDG, setDataType, setDDSName, setFieldName, setKeyFieldFunctions, setLayoutAlignment, setLayoutAttributes, setLayoutLength, setREFFIL, setREFFLD, setREFFMT, setREFLIB, setTEXTpublic PackedDecimalFieldDescription(AS400PackedDecimal dataType, java.lang.String name)
dataType - Describes the field and provides
                the conversion capability for the contents of the field.name - The name of the field.public PackedDecimalFieldDescription()
public PackedDecimalFieldDescription(AS400PackedDecimal dataType, java.lang.String name, java.lang.String ddsName)
dataType - Describes the field and provides
                the conversion capability for the contents of the field.name - The name of the field.ddsName - The DDS name of this field. This is the
               name of the field as it would appear in a DDS description of the
               field.  The length of ddsName must be 10 characters or less.public int getDecimalPositions()
public void setDataType(AS400PackedDecimal dataType)
dataType - The AS400DataType that describes this field.  The dataType
cannot be null.public void setDFT(java.math.BigDecimal defaultValue)
defaultValue - The default value for this
                   field.  The defaultValue cannot be null.
To set a default value of *NULL, use the setDFTNull() method.public void setDFTNull()