Sets a number of bean properties from the given Map where the keys are the String names of properties and the values are the values of the properties to set
(Object bean, Map map)
| 2003 | * properties to set |
| 2004 | */ |
| 2005 | public void setProperties(Object bean, Map map) { |
| 2006 | checkInitalised(); |
| 2007 | for (Object o : map.entrySet()) { |
| 2008 | Map.Entry entry = (Map.Entry) o; |
| 2009 | String key = entry.getKey().toString(); |
| 2010 | |
| 2011 | Object value = entry.getValue(); |
| 2012 | setProperty(bean, key, value); |
| 2013 | } |
| 2014 | } |
| 2015 | |
| 2016 | /** {@inheritDoc} */ |
| 2017 | @Override |
no test coverage detected