net.sqlind
Class SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior<T>
java.lang.Object
net.sqlind.SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior<T>
net.sqlind.SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior<T>
- All Implemented Interfaces:
- SQLQueryMapper.QueryBehavior
- Direct Known Subclasses:
- SQLQueryMapper.SQLQueryHandler.SingleBeanListWiringBehavior
- Enclosing class:
- SQLQueryMapper.SQLQueryHandler
public class SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior<T>
- extends SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior<T>
Generic query result bean list wiring implementation.
Bean is added only if a first level rupture occurred.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
list
protected List<T> list
SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior
public SQLQueryMapper.SQLQueryHandler.BeanListWiringBehavior(Class<T> clazz,
List<T> list)
throws SQLQueryMapper.SQLMapperException
- Throws:
SQLQueryMapper.SQLMapperException
doForEach
public void doForEach(T bean)
doForEachRecord
public void doForEachRecord(T bean)
- Description copied from class:
SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior
- Call for each records
- Specified by:
doForEachRecord in class SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior<T>
- Parameters:
bean - the first level object
doForEachRupture
public void doForEachRupture(T bean)
- Description copied from class:
SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior
- Call each time first level field values have changed
- Specified by:
doForEachRupture in class SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior<T>
- Parameters:
bean - the first level object
doForEachSubRupture
public void doForEachSubRupture(Object bean)
- Description copied from class:
SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior
- Call each time sub level field values have changed
- Specified by:
doForEachSubRupture in class SQLQueryMapper.SQLQueryHandler.BeanWiringBehavior<T>
- Parameters:
bean - the sub level object
Copyright © 2011. All Rights Reserved.