com.syrtsov.ddao.mapper
Class SingleRecordResultSetMapper

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

public abstract class SingleRecordResultSetMapper
extends java.lang.Object
implements ResultSetMapper

Created by: Pavel Syrtsov Date: Apr 15, 2007 Time: 2:35:11 PM


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

Constructor Detail

SingleRecordResultSetMapper

public SingleRecordResultSetMapper()
Method Detail

addRecord

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

mapRecord

public abstract java.lang.Object mapRecord(java.sql.ResultSet resultSet)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getResult

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