public static enum BaseDataType.Type extends java.lang.Enum<BaseDataType.Type>
Enum Constant and Description |
---|
BLOB |
CHARACTER |
CLOB |
COM_HANDLE |
COMHANDLE |
DATASET_HANDLE |
DATE |
DATETIME |
DATETIME_TZ |
DATETIMETZ |
DECIMAL |
HANDLE |
INT64 |
INTEGER |
JOBJECT |
LOGICAL |
LONGCHAR |
MEMPTR |
OBJECT |
RAW |
RECID |
ROWID |
TABLE_HANDLE |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends BaseDataType> |
cls
The BDT sub-class that implements the type.
|
private java.lang.String |
typeName
The 4GL-compatible type name.
|
private static java.util.Map<java.lang.String,BaseDataType.Type> |
VALS
Types by type name map.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends BaseDataType> |
getCls()
Get the class.
|
java.lang.String |
getTypeName()
Get type name.
|
static BaseDataType.Type |
of(java.lang.String typeName)
Get the class instance by type name.
|
static BaseDataType.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseDataType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseDataType.Type BLOB
public static final BaseDataType.Type CLOB
public static final BaseDataType.Type CHARACTER
public static final BaseDataType.Type COMHANDLE
public static final BaseDataType.Type COM_HANDLE
public static final BaseDataType.Type DATASET_HANDLE
public static final BaseDataType.Type DATE
public static final BaseDataType.Type DATETIME
public static final BaseDataType.Type DATETIMETZ
public static final BaseDataType.Type DATETIME_TZ
public static final BaseDataType.Type DECIMAL
public static final BaseDataType.Type HANDLE
public static final BaseDataType.Type INTEGER
public static final BaseDataType.Type INT64
public static final BaseDataType.Type JOBJECT
public static final BaseDataType.Type LOGICAL
public static final BaseDataType.Type LONGCHAR
public static final BaseDataType.Type MEMPTR
public static final BaseDataType.Type OBJECT
public static final BaseDataType.Type RAW
public static final BaseDataType.Type RECID
public static final BaseDataType.Type ROWID
public static final BaseDataType.Type TABLE_HANDLE
public static final BaseDataType.Type UNKNOWN
private final java.lang.String typeName
private final java.lang.Class<? extends BaseDataType> cls
private static final java.util.Map<java.lang.String,BaseDataType.Type> VALS
public static BaseDataType.Type[] values()
for (BaseDataType.Type c : BaseDataType.Type.values()) System.out.println(c);
public static BaseDataType.Type 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 static BaseDataType.Type of(java.lang.String typeName)
typeName
- type namenull
if unknownpublic java.lang.String getTypeName()
public java.lang.Class<? extends BaseDataType> getCls()