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] = CtmTableObjectHelper.toMap(noOpIn.getArray()[i], null);
       addInput("CtmTable", noOpIn);
     }
     addInput("CtmTable", mapList);
   }
 }
Example #2
0
 /** @deprecated */
 public void setCtmTableObjectData(CtmTableObjectData data) {
   if (data != null) {
     addInput("CtmTable", CtmTableObjectHelper.toMap(data, new HashMap()).get("CtmTableObject"));
   }
 }
Example #3
0
 public void setCtmTableForCtmTableFind(CtmTableObjectFilter data) {
   if (data != null) {
     addInput(
         "CtmTable", CtmTableObjectHelper.toMap(data, new HashMap(), "CtmTable").get("CtmTable"));
   }
 }