se.unlogic.standardutils.populators.annotated
Class AnnotatedResultSetPopulator<T>
java.lang.Object
se.unlogic.standardutils.populators.annotated.AnnotatedResultSetPopulator<T>
- All Implemented Interfaces:
- BeanResultSetPopulator<T>
public class AnnotatedResultSetPopulator<T>
- extends Object
- implements BeanResultSetPopulator<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beanClass
protected Class<T> beanClass
resultSetFieldMap
protected HashMap<Field,ResultSetField> resultSetFieldMap
AnnotatedResultSetPopulator
public AnnotatedResultSetPopulator(Class<T> beanClass)
throws UnsupportedFieldTypeException
- Throws:
UnsupportedFieldTypeException
AnnotatedResultSetPopulator
public AnnotatedResultSetPopulator(Class<T> beanClass,
BeanStringPopulator<?>... populators)
throws UnsupportedFieldTypeException
- Throws:
UnsupportedFieldTypeException
AnnotatedResultSetPopulator
public AnnotatedResultSetPopulator(Class<T> beanClass,
List<? extends BeanStringPopulator<?>> populators)
throws UnsupportedFieldTypeException
- Throws:
UnsupportedFieldTypeException
populate
public T populate(ResultSet rs)
throws SQLException,
BeanResultSetPopulationException
- Specified by:
populate
in interface BeanResultSetPopulator<T>
- Throws:
SQLException
BeanResultSetPopulationException
getResultSetField
public ResultSetField getResultSetField(Field field)
Copyright © 2011. All Rights Reserved.