All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.TimestampFieldDescription

java.lang.Object
   |
   +----com.ibm.as400.access.FieldDescription
           |
           +----com.ibm.as400.access.TimestampFieldDescription

public class TimestampFieldDescription
extends FieldDescription
implements Serializable
The TimestampFieldDescription class represents the description of the data in a Timestamp field. The TimestampFieldDescription class allows: Examples


Constructor Index

 o TimestampFieldDescription()
Constructs a TimestampFieldDescription object.
 o TimestampFieldDescription(AS400Text, String)
Constructs a TimestampFieldDescription object.
 o TimestampFieldDescription(AS400Text, String, String)
Constructs a TimestampFieldDescription object.

Method Index

 o setDataType(AS400Text)
Sets the AS400DataType object describing this field.
 o setDFT(String)
Sets the value for the DFT keyword for this field.

Constructors

 o TimestampFieldDescription
 public TimestampFieldDescription()
Constructs a TimestampFieldDescription object.

 o TimestampFieldDescription
 public TimestampFieldDescription(AS400Text dataType,
                                  String name)
Constructs a TimestampFieldDescription object. It uses the data type and name of the field specified.

Parameters:
dataType - Describes the field and provides the conversion capability for the contents of the field.
name - The name of the field.
 o TimestampFieldDescription
 public TimestampFieldDescription(AS400Text dataType,
                                  String name,
                                  String ddsName)
Constructs a TimestampFieldDescription object. It uses the data type, name, and DDS name of the field specified.

Parameters:
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.

Methods

 o setDataType
 public void setDataType(AS400Text dataType)
Sets the AS400DataType object describing this field.

Parameters:
dataType - The AS400DataType that describes this field. The dataType cannot be null.
 o setDFT
 public void setDFT(String defaultValue)
Sets the value for the DFT keyword for this field.

Parameters:
defaultValue - The default value for this field. The defaultValue cannot be null.

All Packages  Class Hierarchy  This Package  Previous  Next  Index