public class EnumToDbIntegerMap extends EnumToDbValueMap<Integer>
| Constructor and Description |
|---|
EnumToDbIntegerMap() |
| Modifier and Type | Method and Description |
|---|---|
EnumToDbIntegerMap |
add(Object beanValue,
String stringDbValue)
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<Integer>public EnumToDbIntegerMap add(Object beanValue, String stringDbValue)
EnumToDbValueMapadd in class EnumToDbValueMap<Integer>public void bind(DataBind b, Object value) throws SQLException
EnumToDbValueMapbind in class EnumToDbValueMap<Integer>SQLExceptionpublic Object read(DataReader dataReader) throws SQLException
EnumToDbValueMapread in class EnumToDbValueMap<Integer>SQLExceptionCopyright © 2014. All Rights Reserved.