@Test public void populate() throws Exception { Map<String, String> map = new HashMap<String, String>(); map.put("a", "1"); map.put("b", "2"); RmCommonVo vo = new RmCommonVo(); RmPopulateHelper.populate(vo, map); System.out.println(vo); }
public Object put(Object key_, Object value) { String key = key_ != null ? key_.toString() : null; String keyUpper = key_ != null ? key_.toString().toUpperCase() : null; if(!mapKey.containsKey(keyUpper)) { mapKey.put(keyUpper, key); } if(value instanceof BigDecimal) { value = value.toString(); } return mapAttribute.put(keyUpper, value); }
RmCommonVo implements Cloneable, Serializable, Map { public Object put(Object key_, Object value) { String key = key_ != null ? key_.toString() : null; String keyUpper = key_ != null ? key_.toString().toUpperCase() : null; if(!mapKey.containsKey(keyUpper)) { mapKey.put(keyUpper, key); } if(value instanceof BigDecimal) { value = value.toString(); } return mapAttribute.put(keyUpper, value); } }
RmCommonVo implements Cloneable, Serializable, Map { public Object put(Object key_, Object value) { String key = key_ != null ? key_.toString() : null; String keyUpper = key_ != null ? key_.toString().toUpperCase() : null; if(!mapKey.containsKey(keyUpper)) { mapKey.put(keyUpper, key); } if(value instanceof BigDecimal) { value = value.toString(); } return mapAttribute.put(keyUpper, value); } RmCommonVo();  RmCommonVo(Map<String, Object> map); }
RmCommonVo implements Cloneable, Serializable, Map { public Object put(Object key_, Object value) { String key = key_ != null ? key_.toString() : null; String keyUpper = key_ != null ? key_.toString().toUpperCase() : null; if(!mapKey.containsKey(keyUpper)) { mapKey.put(keyUpper, key); } if(value instanceof BigDecimal) { value = value.toString(); } return mapAttribute.put(keyUpper, value); } RmCommonVo();  RmCommonVo(Map<String, Object> map); Object put(Object key_, Object value); String getString(String key); String getString(String key, int length); Object get(String key); Object get(Object key); Object remove(String key); boolean equals(Object _other); int hashCode(); String toString(); Object clone(); void clear(); boolean containsKey(String key); @Override boolean containsKey(Object key); boolean containsValue(Object value); Set entrySet(); boolean isEmpty(); Set keySet(); void putAll(Map map); Object remove(Object key); int size(); Collection values(); }
RmCommonVo implements Cloneable, Serializable, Map { public Object put(Object key_, Object value) { String key = key_ != null ? key_.toString() : null; String keyUpper = key_ != null ? key_.toString().toUpperCase() : null; if(!mapKey.containsKey(keyUpper)) { mapKey.put(keyUpper, key); } if(value instanceof BigDecimal) { value = value.toString(); } return mapAttribute.put(keyUpper, value); } RmCommonVo();  RmCommonVo(Map<String, Object> map); Object put(Object key_, Object value); String getString(String key); String getString(String key, int length); Object get(String key); Object get(Object key); Object remove(String key); boolean equals(Object _other); int hashCode(); String toString(); Object clone(); void clear(); boolean containsKey(String key); @Override boolean containsKey(Object key); boolean containsValue(Object value); Set entrySet(); boolean isEmpty(); Set keySet(); void putAll(Map map); Object remove(Object key); int size(); Collection values();  }