public class ModelResultHandler extends Object implements org.apache.commons.dbutils.ResultSetHandler<Model>, ResultToModel
Constructor and Description |
---|
ModelResultHandler(Schema schema) |
Modifier and Type | Method and Description |
---|---|
Class |
getModelClass() |
Schema |
getSchema() |
Model |
handle(ResultSet resultSet) |
void |
setModelClass(Class modelClass) |
void |
setSchema(Schema schema) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleOneRow
public ModelResultHandler(Schema schema)
public Model handle(ResultSet resultSet) throws SQLException
handle
in interface org.apache.commons.dbutils.ResultSetHandler<Model>
SQLException
public Class getModelClass()
getModelClass
in interface ResultToModel
public void setModelClass(Class modelClass)
public Schema getSchema()
getSchema
in interface ResultToModel
Copyright © 2016. All rights reserved.