public static class ScalarTypeEnumStandard.OrdinalEnum extends ScalarTypeEnumStandard.EnumBase implements ScalarTypeEnum
enumTypejdbcNative, jdbcType, type| Constructor and Description |
|---|
ScalarTypeEnumStandard.OrdinalEnum(Class enumType)
Create a ScalarTypeEnum.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(DataBind b,
Object value)
Convert (if necessary) and bind the value to the preparedStatement.
|
String |
getContraintInValues()
Return the IN values for DB constraint construction.
|
Object |
read(DataReader dataReader)
Read the value from the resultSet and convert if necessary to the logical
bean property value.
|
Object |
toBeanType(Object dbValue)
Convert the db value to the Enum value.
|
Object |
toJdbcType(Object beanValue)
Convert the Enum value to the db value.
|
format, formatValue, isDateTimeCapable, jsonFromString, jsonToString, parse, parseDateTime, readData, writeDataaccumulateScalarTypes, getDbNullValue, getJdbcType, getLength, getType, isDbNull, isJdbcNative, jsonWrite, loadIgnorepublic ScalarTypeEnumStandard.OrdinalEnum(Class enumType)
public String getContraintInValues()
getContraintInValues in interface ScalarTypeEnumpublic void bind(DataBind b, Object value) throws SQLException
ScalarTypevalue may need to be converted from the logical bean property type to the JDBC type.
bind in interface ScalarDataReaderbind in interface ScalarTypeSQLExceptionpublic Object read(DataReader dataReader) throws SQLException
ScalarTyperead in interface ScalarDataReaderread in interface ScalarTypeSQLExceptionpublic Object toJdbcType(Object beanValue)
toJdbcType in interface ScalarTypepublic Object toBeanType(Object dbValue)
toBeanType in interface ScalarTypeCopyright © 2014. All Rights Reserved.