public final class TinyBeanUtil extends Object
开发人员: renhui
开发时间: 2013-7-30
Modifier and Type | Method and Description |
---|---|
static <T> T |
bean2Object(Map bean,
Class<T> type) |
static <T> T |
bean2Object(Map bean,
T target) |
static List<Field> |
getFieldsWithResultSet(ResultSet rs,
BeanDbNameConverter converter) |
static <T> Bean |
object2Bean(T object) |
static <T> Bean |
object2Bean(T object,
Bean bean)
设置bean属性
|
public static <T> T bean2Object(Map bean, T target)
public static <T> Bean object2Bean(T object)
public static <T> Bean object2Bean(T object, Bean bean)
object
- bean
- public static List<Field> getFieldsWithResultSet(ResultSet rs, BeanDbNameConverter converter) throws SQLException
SQLException
Copyright © 2006–2018 TinyGroup. All rights reserved.