jodd.bean.loader
Class ResultSetBeanLoader

java.lang.Object
  extended by jodd.bean.loader.BaseBeanLoader
      extended by jodd.bean.loader.ResultSetBeanLoader
All Implemented Interfaces:
BeanLoader

public class ResultSetBeanLoader
extends BaseBeanLoader

Populate java bean from ResultSet objects.


Field Summary
 
Fields inherited from class jodd.bean.loader.BaseBeanLoader
ignoreNulls
 
Constructor Summary
ResultSetBeanLoader()
           
 
Method Summary
 void load(Object bean, Object source)
          Loads values from given source into the destination bean.
 
Methods inherited from class jodd.bean.loader.BaseBeanLoader
getBeanUtilBean, setBeanUtilBean, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetBeanLoader

public ResultSetBeanLoader()
Method Detail

load

public void load(Object bean,
                 Object source)
Description copied from interface: BeanLoader
Loads values from given source into the destination bean. All properties from source object will be iterated to be set into the destination.

Parameters:
bean - destination instance that will be populated
source - object to populate from