public void setInvElementBulkInForGeoAreaInventoryAutoAssociate(InvElementObjData data) { if (data != null) { addInput( "InvElementBulkIn", InvElementObjHelper.toMap(data, new HashMap(), "InvElementBulkIn") .get("InvElementBulkIn")); } }
public void translateToMap() { if (InvAutoRsrvIn != null) { Integer index = InvAutoRsrvIn.getIndex(); if (index != null) addInput("Index", index); addInput( "InvElement", InvElementObjHelper.toMap(InvAutoRsrvIn, new HashMap(), "Void").get("Void")); } if (Quantity != null) { addInput("Quantity", Quantity); } if (ContiguousFlag != null) { addInput("ContiguousFlag", ContiguousFlag); } }
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] = InvElementObjHelper.toMap(noOpIn.getArray()[i], null); addInput("InvElement", noOpIn); } addInput("InvElement", mapList); } }