| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
Constant
logger |
static boolean |
TRIM_STR
Constant
TRIM_STR=true |
| Constructor and Description |
|---|
ConvertPopulatorBean()
Constructor for ConvertPopulatorBean.
|
ConvertPopulatorBean(Conversion conversion)
Constructor for ConvertPopulatorBean.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectAndType |
initProperty(Object target,
Type type,
String attr)
Initialize target's attribuate path,Return the last property value and type.
|
Object |
populate(Object entity,
EntityType type,
Map<String,Object> params)
将params中的属性([attr(string)->value(object)],放入到实体类中。
|
boolean |
populateValue(Object target,
EntityType type,
String attr,
Object value)
安静的拷贝属性,如果属性非法或其他错误则记录日志
|
protected static final org.slf4j.Logger logger
loggerpublic static final boolean TRIM_STR
TRIM_STR=truepublic ConvertPopulatorBean()
Constructor for ConvertPopulatorBean.
public ConvertPopulatorBean(Conversion conversion)
Constructor for ConvertPopulatorBean.
public ObjectAndType initProperty(Object target, Type type, String attr)
initProperty in interface Populatorpublic boolean populateValue(Object target, EntityType type, String attr, Object value)
populateValue in interface PopulatorCopyright © 2005–2018 The Beangle Software. All rights reserved.