public void translateToMap() { if (MasterAddressUpdateIn != null) { MasterAddressUpdateIn.resetFlags(true, true); addInput( "MasterAddress", MasterAddressObjectHelper.toMap(MasterAddressUpdateIn, new HashMap(), "MasterAddress") .get("MasterAddress")); } }
public void translateToMap() { if (noOpIn != null) { Map mapList = new HashMap(); Map[] mapArray = null; mapList.put("Count", noOpIn.getLength()); mapList.put("TotalCount", noOpIn.getTotalCount()); mapList.put("Index", noOpIn.getIndex()); mapArray = new HashMap[noOpIn.getLength()]; for (int i = 0; i < noOpIn.getLength(); i++) { noOpIn.getArray()[i].resetFlags(true, true); mapArray[i] = MasterAddressObjectHelper.toMap(noOpIn.getArray()[i], null); addInput("MasterAddress", noOpIn); } addInput("MasterAddress", mapList); } }
public void translateFromMap() { MasterAddressUpdateIn = MasterAddressObjectHelper.fromMap(inputMap, "MasterAddress"); }
public void translateFromMap() { noOpIn = MasterAddressObjectHelper.fromMapList(inputMap, "MasterAddressList"); }