play.db.helper
Class JdbcResultFactories.ClassFactory<T>

java.lang.Object
  extended by 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
JdbcResultFactories.ClassFactory(java.lang.Class<T> objectClass, java.util.List<java.lang.String> fields)
           
 
Method Summary
 T create(java.sql.ResultSet result)
           
 void init(java.sql.ResultSet result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcResultFactories.ClassFactory

public JdbcResultFactories.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 interface JdbcResultFactory<T>
Throws:
java.sql.SQLException

create

public T create(java.sql.ResultSet result)
         throws java.sql.SQLException
Specified by:
create in interface JdbcResultFactory<T>
Throws:
java.sql.SQLException


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly