net.sqlind
Class SQLQueryMapper.SQLQueryHandler.SingleBeanListWiringBehavior<T>
java.lang.Object
net.sqlind.SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior<T>
net.sqlind.SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior<T>
net.sqlind.SQLQueryMapper.SQLQueryHandler.SingleBeanListWiringBehavior<T>
- All Implemented Interfaces:
- SQLQueryMapper.QueryBehavior
- Enclosing class:
- SQLQueryMapper.SQLQueryHandler
public class SQLQueryMapper.SQLQueryHandler.SingleBeanListWiringBehavior<T>
- extends SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior<T>
Generic query result bean list wiring implementation.
Bean list size will match the number of records retrieved by query.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLQueryMapper.SQLQueryHandler.SingleBeanListWiringBehavior
public SQLQueryMapper.SQLQueryHandler.SingleBeanListWiringBehavior(Class<T> clazz,
List<T> list)
throws SQLQueryMapper.SQLMapperException
- Throws:
SQLQueryMapper.SQLMapperException
doForEach
public void doForEach(T bean)
- Overrides:
doForEach in class SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior<T>
doForEachRecord
public void doForEachRecord(T bean)
- Description copied from class:
SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior
- Call for each records
- Overrides:
doForEachRecord in class SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior<T>
- Parameters:
bean - the first level object
Copyright © 2011. All Rights Reserved.