Пример #1
0
 public void setInvElementBulkInForGeoAreaInventoryAutoAssociate(InvElementObjData data) {
   if (data != null) {
     addInput(
         "InvElementBulkIn",
         InvElementObjHelper.toMap(data, new HashMap(), "InvElementBulkIn")
             .get("InvElementBulkIn"));
   }
 }
Пример #2
0
 /** @deprecated */
 public void setInvElementObjDataArray(InvElementObjData[] data) {
   if (data != null) {
     Object[] list = new Object[data.length];
     for (int i = 0; i < data.length; i++) {
       list[i] = InvElementObjHelper.getMap(data[i], (Map) list[i]);
       if (list[i] != null) ((Map) list[i]).put("#NAME", "InvElementObj");
     }
     addInput("InvElementObjList", list);
   }
 }
 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);
   }
 }
 public void translateFromMap() {
   InvAutoRsrvIn = InvElementObjHelper.fromMapFilter(inputMap, "InvElement");
   Quantity = (Integer) inputMap.get("Quantity");
   ContiguousFlag = (Integer) inputMap.get("ContiguousFlag");
 }
 public void translateFromMap() {
   noOpIn = InvElementObjHelper.fromMapList(inputMap, "InvElementList");
 }