public class ScalarTypeClass extends ScalarTypeBaseVarchar<Class>
jdbcNative, jdbcType, type| Constructor and Description |
|---|
ScalarTypeClass() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
convertFromDbString(String dbValue) |
String |
convertToDbString(Class beanValue) |
String |
formatValue(Class v)
Convert the type into a string representation.
|
int |
getLength()
Just return 0.
|
Class<?> |
parse(String value)
Convert the string value to the appropriate java object.
|
bind, format, isDateTimeCapable, jsonFromString, jsonWrite, parseDateTime, read, readData, toBeanType, toJdbcType, toJsonString, writeDataaccumulateScalarTypes, getDbNullValue, getJdbcType, getType, isDbNull, isJdbcNative, jsonToString, loadIgnorepublic int getLength()
ScalarTypeBasegetLength in interface ScalarType<Class>getLength in class ScalarTypeBase<Class>public Class<?> convertFromDbString(String dbValue)
convertFromDbString in class ScalarTypeBaseVarchar<Class>public String convertToDbString(Class beanValue)
convertToDbString in class ScalarTypeBaseVarchar<Class>public String formatValue(Class v)
ScalarTypeReciprocal of parse().
formatValue in interface ScalarType<Class>formatValue in class ScalarTypeBaseVarchar<Class>public Class<?> parse(String value)
ScalarTypeMostly used to support CSV, JSON and XML parsing.
Reciprocal of formatValue().
parse in interface StringParserparse in interface ScalarType<Class>parse in class ScalarTypeBaseVarchar<Class>Copyright © 2014. All Rights Reserved.