@Test public void testFlatten() throws Exception { RMBuilder rmObjectBuilder = new RMBuilder(); DvInterval<DvDateTime> dvDateTimeDvInterval = DvIntervalVBean.createQualifiedInterval(DvDate.class); Map<String, Object> requiredParameters = FieldUtil.getAttributes(PartyIdentifiedVBean.generate()); Assert.assertNotNull(requiredParameters); Map flatten = FieldUtil.flatten(requiredParameters); Assert.assertNotNull(flatten); MapUtils.debugPrint(System.out, "FLATTEN", flatten); }
public static Map<String, String> flatten(Map<String, Object> map) { Map<String, String> retMap = new TreeMap<>(); flatten(retMap, null, map); return retMap; }
FieldUtil { public static Map<String, String> flatten(Map<String, Object> map) { Map<String, String> retMap = new TreeMap<>(); flatten(retMap, null, map); return retMap; } }
FieldUtil { public static Map<String, String> flatten(Map<String, Object> map) { Map<String, String> retMap = new TreeMap<>(); flatten(retMap, null, map); return retMap; }  }
FieldUtil { public static Map<String, String> flatten(Map<String, Object> map) { Map<String, String> retMap = new TreeMap<>(); flatten(retMap, null, map); return retMap; }  static Map<String, Object> getScalarAttributes(Class<?> clazz); static Map<String, Object> getRequiredAttributes(Class<?> clazz); static Map<String, Object> getAttributes(Object object); static Map<String, String> flatten(Map<String, Object> map); static List<Object> flatten(Map<String, String> resultMap, String key, Map<String, Object> map); static Class<?> getFieldClass(Class<?> clazz, String name); }
FieldUtil { public static Map<String, String> flatten(Map<String, Object> map) { Map<String, String> retMap = new TreeMap<>(); flatten(retMap, null, map); return retMap; }  static Map<String, Object> getScalarAttributes(Class<?> clazz); static Map<String, Object> getRequiredAttributes(Class<?> clazz); static Map<String, Object> getAttributes(Object object); static Map<String, String> flatten(Map<String, Object> map); static List<Object> flatten(Map<String, String> resultMap, String key, Map<String, Object> map); static Class<?> getFieldClass(Class<?> clazz, String name);  }