Package play.db.helper
Class JdbcResultFactories.ClassFactory<T>
- java.lang.Object
-
- play.db.helper.JdbcResultFactories.ClassFactory<T>
-
- All Implemented Interfaces:
JdbcResultFactory<T>
- Enclosing class:
- JdbcResultFactories
public static class JdbcResultFactories.ClassFactory<T> extends java.lang.Object implements JdbcResultFactory<T>
-
-
Constructor Summary
Constructors Constructor Description ClassFactory(java.lang.Class<T> objectClass, java.util.List<java.lang.String> fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(java.sql.ResultSet result)
void
init(java.sql.ResultSet result)
-
-
-
Constructor Detail
-
ClassFactory
public ClassFactory(java.lang.Class<T> objectClass, java.util.List<java.lang.String> fields)
-
-
Method Detail
-
init
public void init(java.sql.ResultSet result) throws java.sql.SQLException
- Specified by:
init
in interfaceJdbcResultFactory<T>
- Throws:
java.sql.SQLException
-
create
public T create(java.sql.ResultSet result) throws java.sql.SQLException
- Specified by:
create
in interfaceJdbcResultFactory<T>
- Throws:
java.sql.SQLException
-
-