コード例 #1
0
 public void translateToMap() {
   if (UnbilledUsagefindIn != null) {
     Integer index = UnbilledUsagefindIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "UnbilledUsage",
         UnbilledUsageObjectHelper.toMap(UnbilledUsagefindIn, new HashMap(), "UnbilledUsage")
             .get("UnbilledUsage"));
   }
 }
コード例 #2
0
 public void translateFromMap() {
   UnbilledUsageAdjustIn = UnbilledUsageObjectHelper.fromMap(inputMap, "UnbilledUsage");
   TransCode = (Integer) inputMap.get("TransCode");
   AdjReasonCode = (Integer) inputMap.get("AdjReasonCode");
   RequestStatus = (Integer) inputMap.get("RequestStatus");
   FraudIndicator = (Integer) inputMap.get("FraudIndicator");
   Annotation = (String) inputMap.get("Annotation");
   PrimaryUnitsType = (Integer) inputMap.get("PrimaryUnitsType");
   PrimaryUnits = (BigInteger) inputMap.get("PrimaryUnits");
   Amount = (BigInteger) inputMap.get("Amount");
   BillOrderNumber = (String) inputMap.get("BillOrderNumber");
 }
 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] = UnbilledUsageObjectHelper.toMap(noOpIn.getArray()[i], null);
       addInput("UnbilledUsage", noOpIn);
     }
     addInput("UnbilledUsage", mapList);
   }
 }
コード例 #4
0
 public void translateToMap() {
   if (UnbilledUsageAdjustIn != null) {
     UnbilledUsageAdjustIn.resetFlags(true, true);
     addInput(
         "UnbilledUsage",
         UnbilledUsageObjectHelper.toMap(UnbilledUsageAdjustIn, new HashMap(), "Adjustment")
             .get("Adjustment"));
   }
   if (TransCode != null) {
     addInput("TransCode", TransCode);
   }
   if (AdjReasonCode != null) {
     addInput("AdjReasonCode", AdjReasonCode);
   }
   if (RequestStatus != null) {
     addInput("RequestStatus", RequestStatus);
   }
   if (FraudIndicator != null) {
     addInput("FraudIndicator", FraudIndicator);
   }
   if (Annotation != null) {
     addInput("Annotation", Annotation);
   }
   if (PrimaryUnitsType != null) {
     addInput("PrimaryUnitsType", PrimaryUnitsType);
   }
   if (PrimaryUnits != null) {
     addInput("PrimaryUnits", PrimaryUnits);
   }
   if (Amount != null) {
     addInput("Amount", Amount);
   }
   if (BillOrderNumber != null) {
     addInput("BillOrderNumber", BillOrderNumber);
   }
 }
コード例 #5
0
 public void translateFromMap() {
   UnbilledUsagefindIn = UnbilledUsageObjectHelper.fromMapFilter(inputMap, "UnbilledUsage");
 }
 public void translateFromMap() {
   noOpIn = UnbilledUsageObjectHelper.fromMapList(inputMap, "UnbilledUsageList");
 }