public class EnumToDbStringMap extends EnumToDbValueMap<String>
| Constructor and Description |
|---|
EnumToDbStringMap() |
| Modifier and Type | Method and Description |
|---|---|
EnumToDbStringMap |
add(Object beanValue,
String dbValue)
Add name value pair where the dbValue is the raw string and may need to
be converted (to an Integer for example).
|
void |
bind(DataBind b,
Object value)
Bind using the correct database type.
|
int |
getDbType()
Return the database type.
|
Object |
read(DataReader dataReader)
Read using the correct database type.
|
addInternal, beanValues, create, dbValues, getBeanValue, getDbValue, isIntegerTypepublic int getDbType()
EnumToDbValueMapgetDbType in class EnumToDbValueMap<String>public EnumToDbStringMap add(Object beanValue, String dbValue)
EnumToDbValueMapadd in class EnumToDbValueMap<String>public void bind(DataBind b, Object value) throws SQLException
EnumToDbValueMapbind in class EnumToDbValueMap<String>SQLExceptionpublic Object read(DataReader dataReader) throws SQLException
EnumToDbValueMapread in class EnumToDbValueMap<String>SQLExceptionCopyright © 2014. All Rights Reserved.