public static enum RT_FieldMap.FieldType extends java.lang.Enum<RT_FieldMap.FieldType>
Since field values are simply strings, this enumerated type helps to
determine the data type of message fields. Each constant instance
represents a possible data type. The data type of a message field
can be obtained by invoking the RT_FieldMap.FieldInfo.getType()
method.
It is important to note that once a type is published for a specific field identifier, it will NEVER be changed. Applications may make assumptions about the published type of the field at compile time.
Enum Constant and Description |
---|
CHAR
A field data type representing a single character.
|
DATE
A field data type representing a date.
|
DECIMAL
A field data type representing a decimal number.
|
ENUMERATION
A field data type representing an integer enumeration.
|
INTEGER
A field data type representing an integer.
|
PRICE
A field data type representing a price.
|
STRING
A field data type representing a string.
|
TIME
A field data type representing a time.
|
UNKNOWN
A field data type representing an unknown data type.
|
Modifier and Type | Method and Description |
---|---|
static RT_FieldMap.FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RT_FieldMap.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RT_FieldMap.FieldType UNKNOWN
public static final RT_FieldMap.FieldType CHAR
public static final RT_FieldMap.FieldType STRING
public static final RT_FieldMap.FieldType INTEGER
public static final RT_FieldMap.FieldType PRICE
public static final RT_FieldMap.FieldType DECIMAL
public static final RT_FieldMap.FieldType ENUMERATION
public static final RT_FieldMap.FieldType DATE
public static final RT_FieldMap.FieldType TIME
public static RT_FieldMap.FieldType[] values()
for (RT_FieldMap.FieldType c : RT_FieldMap.FieldType.values()) System.out.println(c);
public static RT_FieldMap.FieldType 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 null