public class DataTypeConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BIG_DECIMAL_ID |
static int |
BIG_INTEGER_ID |
static int |
BIG_NUMBER_IDS |
static int |
BOOLEAN_ID |
static int |
DATE_ID |
static int |
DEFAULT_TYPE_IDS |
static int |
DOUBLE_ID |
static int |
FLOAT_ID |
static int |
INT_ID |
static int |
INTEGER_IDS |
static int |
LONG_ID |
static int |
NUMBER_IDS |
static int |
REAL_IDS |
static int |
SHORT_ID |
static int |
SIMPLE_ENTITY_ID |
static int |
STRING_ID |
static int |
UNKNOWN_ID |
| Constructor and Description |
|---|
DataTypeConstants() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getConversionType(DataType dataType)
Gets the conversion type for data type
|
static DataType |
getDataType(int conversionType)
Gets the data type for the conversion type
|
public static final int UNKNOWN_ID
public static final int BOOLEAN_ID
public static final int SHORT_ID
public static final int INT_ID
public static final int LONG_ID
public static final int FLOAT_ID
public static final int DOUBLE_ID
public static final int BIG_INTEGER_ID
public static final int BIG_DECIMAL_ID
public static final int DATE_ID
public static final int STRING_ID
public static final int DEFAULT_TYPE_IDS
public static final int NUMBER_IDS
public static final int INTEGER_IDS
public static final int REAL_IDS
public static final int BIG_NUMBER_IDS
public static final int SIMPLE_ENTITY_ID
public static final int getConversionType(DataType dataType)
dataType - data typepublic static final DataType getDataType(int conversionType)
conversionType - conversion typeCopyright © 2016. All rights reserved.