public class BasicBeanPopulator extends Object implements BeanPopulator
| Constructor and Description |
|---|
BasicBeanPopulator() |
| Modifier and Type | Method and Description |
|---|---|
void |
populate(Object bean,
BeanInformation beanInformation,
Map<String,Object> values)
Populate the specified bean with the specified values.
|
public void populate(Object bean, BeanInformation beanInformation, Map<String,Object> values) throws IllegalArgumentException, BeanPopulationException
populate in interface BeanPopulatorbean - The object to populate.beanInformation - Information about the object to populate.values - The values to populate the object with, keyed by property name (e.g. "firstName").IllegalArgumentException - If any of the parameters are deemed illegal. For example, if any are null.BeanPopulationException - If an error occurs when populating the object.Copyright © 2010–2020 meanbean. All rights reserved.