iSeries WebFacing
v5.0

com.ibm.as400ad.code400.dom.constants
Interface IFieldType

All Superinterfaces:
com.ibm.as400ad.code400.dom.constants.IType

public interface IFieldType
extends com.ibm.as400ad.code400.dom.constants.IType

This interface contains the FieldType constants


Field Summary
static String copyRight
           
static int FT_ALPHA
          alphanumeric
static int FT_BINARY
          binary
static int FT_DATE_CONSTANT
          date constant
static int FT_DATE_FIELD
          date named field
static int FT_DBCS
          DBCS (shift is J,E,O or G)
static int FT_FLOATD
          float double precision
static int FT_FLOATS
          float single precision
static int FT_HEX
          hexidecimal
static int FT_MESSAGE_CONSTANT
          message constant
static int FT_NUMERIC
          numeric
static int FT_PACKED
          packed
static int FT_PAGE_NUMBER
          PRTF page number
static int FT_PUREDBCS
          pure DBCS
static int FT_SYSTEM_ID_CONSTANT
          systemID constant
static int FT_TEXT_CONSTANT
          text constant
static int FT_TIME_CONSTANT
          time constant
static int FT_TIME_FIELD
          time named field
static int FT_TIMESTAMP_FIELD
          timestamp named field
static int FT_TXTBLK
          text block (unused)
static int FT_UNKNOWN
           
static int FT_USER_ID_CONSTANT
          userID constant
 
Method Summary
 boolean isFieldOfType(int typeId)
          Is this field equivalent to the given primitive type?
 boolean isOfType(int typeId)
          Is this object equivalent to the given primitive typeId
 String toString()
          Return a string representing the text constant used for this type
 int typeId()
          return a primitive type id corresponding to the type that this object is representing
 

Field Detail

copyRight

public static final String copyRight

FT_UNKNOWN

public static final int FT_UNKNOWN

FT_ALPHA

public static final int FT_ALPHA
alphanumeric

FT_NUMERIC

public static final int FT_NUMERIC
numeric

FT_FLOATS

public static final int FT_FLOATS
float single precision

FT_FLOATD

public static final int FT_FLOATD
float double precision

FT_PACKED

public static final int FT_PACKED
packed

FT_BINARY

public static final int FT_BINARY
binary

FT_HEX

public static final int FT_HEX
hexidecimal

FT_DATE_FIELD

public static final int FT_DATE_FIELD
date named field

FT_TIME_FIELD

public static final int FT_TIME_FIELD
time named field

FT_TIMESTAMP_FIELD

public static final int FT_TIMESTAMP_FIELD
timestamp named field

FT_PUREDBCS

public static final int FT_PUREDBCS
pure DBCS

FT_DBCS

public static final int FT_DBCS
DBCS (shift is J,E,O or G)

FT_TEXT_CONSTANT

public static final int FT_TEXT_CONSTANT
text constant

FT_TXTBLK

public static final int FT_TXTBLK
text block (unused)

FT_DATE_CONSTANT

public static final int FT_DATE_CONSTANT
date constant

FT_TIME_CONSTANT

public static final int FT_TIME_CONSTANT
time constant

FT_USER_ID_CONSTANT

public static final int FT_USER_ID_CONSTANT
userID constant

FT_SYSTEM_ID_CONSTANT

public static final int FT_SYSTEM_ID_CONSTANT
systemID constant

FT_MESSAGE_CONSTANT

public static final int FT_MESSAGE_CONSTANT
message constant

FT_PAGE_NUMBER

public static final int FT_PAGE_NUMBER
PRTF page number
Method Detail

isFieldOfType

public boolean isFieldOfType(int typeId)
Is this field equivalent to the given primitive type?

toString

public String toString()
Return a string representing the text constant used for this type
Overrides:
toString in class Object

typeId

public int typeId()
return a primitive type id corresponding to the type that this object is representing

isOfType

public boolean isOfType(int typeId)
Is this object equivalent to the given primitive typeId

iSeries WebFacing
v5.0

Copyright © 2003 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.