public class DataTypeConvertUtil
extends java.lang.Object
Constructor and Description |
---|
DataTypeConvertUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
converToColumnDataType(java.lang.String paramType)
Returns the corresponding column data type choice with the given
parameter type.
|
static java.lang.String |
converToParamType(java.lang.String columnType)
Returns the corresponding parameter type choice with the given column
data type.
|
public static java.lang.String converToParamType(java.lang.String columnType)
DesignChoiceConstants
can be one of the followings:
COLUMN_DATA_TYPE_BOOLEAN
COLUMN_DATA_TYPE_DATETIME
COLUMN_DATA_TYPE_DATE
COLUMN_DATA_TYPE_TIME
COLUMN_DATA_TYPE_DECIMAL
COLUMN_DATA_TYPE_FLOAT
COLUMN_DATA_TYPE_INTEGER
COLUMN_DATA_TYPE_STRING
columnType
- the column data typepublic static java.lang.String converToColumnDataType(java.lang.String paramType)
DesignChoiceConstants
can be one of the followings:
PARAM_TYPE_BOOLEAN
PARAM_TYPE_DATETIME
PARAM_TYPE_DATE
PARAM_TYPE_TIME
PARAM_TYPE_DECIMAL
PARAM_TYPE_FLOAT
PARAM_TYPE_INTEGER
PARAM_TYPE_STRING
paramType
- the parameter typeCopyright © 2008 Actuate Corp. All rights reserved.