コード例 #1
0
 public void translateToMap() {
   if (BillFmtOptFormatsFindIn != null) {
     Integer index = BillFmtOptFormatsFindIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "BillFmtOptFormats",
         BillFmtOptFormatsObjectHelper.toMap(
                 BillFmtOptFormatsFindIn, new HashMap(), "BillFmtOptFormats")
             .get("BillFmtOptFormats"));
   }
 }
コード例 #2
0
 /**
  * Constructor to create a BillFmtOptFormatsFindNoOpRequest
  *
  * @param id Unique request name
  * @param noOpIn Simulated response object
  */
 public BillFmtOptFormatsFindNoOpRequest(String id, BillFmtOptFormatsObjectDataList noOpIn) {
   super(id, "BillFmtOptFormatsFindNoOpRequest");
   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++) {
       mapArray[i] = BillFmtOptFormatsObjectHelper.toMap(noOpIn.getArray()[i], null);
       addInput("BillFmtOptFormats", noOpIn);
     }
     addInput("BillFmtOptFormats", mapList);
   }
 }
コード例 #3
0
 /**
  * Retrieves the BillFmtOptFormatsObjectDataList passed into the constructor
  *
  * @return Simulated response
  */
 public BillFmtOptFormatsObjectDataList getOutput() {
   return BillFmtOptFormatsObjectHelper.fromMapList(outputMap, "BillFmtOptFormatsList");
 }
コード例 #4
0
 public void translateFromMap() {
   BillFmtOptFormatsFindIn =
       BillFmtOptFormatsObjectHelper.fromMapFilter(inputMap, "BillFmtOptFormats");
 }