views:

211

answers:

1

How can I use the BeanUtils setProperty method with Maps.

For example, this method: public void setAddress(String type, Address address); Can be setted using: BeanUtils.setProperty(beanObject, "address(home)", addressObject );

But if the object I want to set is a Map, is it possible? how?