public abstract class BaseMappedStatement<T,ID> extends Object
Modifier and Type | Field and Description |
---|---|
protected FieldType[] |
argFieldTypes |
protected Class<T> |
clazz |
protected ConnectionSource |
connectionSource |
protected Dao<T,ID> |
dao |
protected FieldType |
idField |
protected static Logger |
logger |
protected String |
statement |
protected TableInfo<T,ID> |
tableInfo |
Modifier | Constructor and Description |
---|---|
protected |
BaseMappedStatement(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo,
String statement,
FieldType[] argFieldTypes) |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertIdToFieldObject(ID id)
Return a field object converted from an id.
|
protected Object[] |
getFieldObjects(Object data)
Return the array of field objects pulled from the data object.
|
String |
toString() |
protected static Logger logger
protected final ConnectionSource connectionSource
protected final FieldType idField
protected final String statement
protected final FieldType[] argFieldTypes
protected Object[] getFieldObjects(Object data) throws SQLException
SQLException
protected Object convertIdToFieldObject(ID id) throws SQLException
SQLException
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.