public enum TdbFieldType extends java.lang.Enum<TdbFieldType>
Enum Constant and Description |
---|
DateField
DAte field
|
IntegerField
INteger field
|
NumberField
NUmber (float) field
|
PhraseField
PHrase field
|
StringField
STring (blob) field
|
TextField
TExt field
|
TimeField
TIme field
|
UnknownField
Invalid
|
Modifier and Type | Method and Description |
---|---|
int |
getFieldType()
Retrieve the underlying identifier expected by TRIPxpi for the field type
|
static TdbFieldType |
getTypeof(int type)
Retrieve the appropriate field type given a TRIPxpi identifier
|
static TdbFieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbFieldType UnknownField
public static final TdbFieldType TextField
public static final TdbFieldType PhraseField
public static final TdbFieldType IntegerField
public static final TdbFieldType NumberField
public static final TdbFieldType DateField
public static final TdbFieldType TimeField
public static final TdbFieldType StringField
public static TdbFieldType[] values()
for (TdbFieldType c : TdbFieldType.values()) System.out.println(c);
public static TdbFieldType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getFieldType()
public static TdbFieldType getTypeof(int type)
type
- The TRIPxpi field type