com.syrtsov.ddao.mapper
Class BeanResultSetMapper

java.lang.Object
  extended by com.syrtsov.ddao.mapper.BeanResultSetMapper
All Implemented Interfaces:
ResultSetMapper

public class BeanResultSetMapper
extends java.lang.Object
implements ResultSetMapper

Created by: Pavel Syrtsov Date: Apr 8, 2007 Time: 6:12:20 PM


Constructor Summary
BeanResultSetMapper(java.lang.Class itemType)
           
 
Method Summary
 boolean addRecord(java.sql.ResultSet resultSet)
           
 java.lang.Object getResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanResultSetMapper

public BeanResultSetMapper(java.lang.Class itemType)
Method Detail

addRecord

public boolean addRecord(java.sql.ResultSet resultSet)
                  throws java.lang.Exception
Specified by:
addRecord in interface ResultSetMapper
Throws:
java.lang.Exception

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface ResultSetMapper