예제 #1
0
 public void setIndustryTypeForIndustryTypeFind(IndustryTypeObjectFilter data) {
   if (data != null) {
     addInput(
         "IndustryType",
         IndustryTypeObjectHelper.toMap(data, new HashMap(), "IndustryType").get("IndustryType"));
   }
 }
 /**
  * Constructor to create a IndustryTypeFindByAccountNoOpRequest
  *
  * @param id Unique request name
  * @param noOpIn Simulated response object
  */
 public IndustryTypeFindByAccountNoOpRequest(String id, IndustryTypeObjectDataList noOpIn) {
   super(id, "IndustryTypeFindByAccountNoOpRequest");
   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] = IndustryTypeObjectHelper.toMap(noOpIn.getArray()[i], null);
       addInput("IndustryType", noOpIn);
     }
     addInput("IndustryType", mapList);
   }
 }