コード例 #1
0
 public void translateToMap() {
   if (noOpIn != null) {
     noOpIn.resetFlags(true, true);
     addInput(
         "CitReason",
         CitReasonObjectHelper.toMap(noOpIn, new HashMap(), "CitReason").get("CitReason"));
   }
 }
コード例 #2
0
 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] = CitReasonObjectHelper.toMap(noOpIn.getArray()[i], null);
       addInput("CitReason", noOpIn);
     }
     addInput("CitReason", mapList);
   }
 }