public void translateFromMap() {
   Object[] list = (Object[]) inputMap.get("OqqpChargesInList");
   if (list != null) {
     oqqpChargesIn = new ChargeElementObjectData[list.length];
     for (int i = 0; i < list.length; i++) {
       oqqpChargesIn[i] = ChargeElementObjectHelper.getObj((Map) list[i]);
       oqqpChargesIn[i].resetFlags(true, true);
     }
   }
   asOfDate = (Date) inputMap.get("AsOfDate");
   accountNo = (Integer) inputMap.get("AccountNo");
   invoiceCount = (Integer) inputMap.get("InvoiceCount");
 }
 public void translateToMap() {
   if (oqqpChargesIn != null) {
     if (oqqpChargesIn != null) {
       Object[] list = new Object[oqqpChargesIn.length];
       for (int i = 0; i < oqqpChargesIn.length; i++) {
         list[i] = ChargeElementObjectHelper.getMap(oqqpChargesIn[i], (Map) list[i]);
         if (list[i] != null) ((Map) list[i]).put("#NAME", "OqqpBillInvoiceOut");
       }
       addInput("OqqpChargesInList", list);
     }
   }
   if (asOfDate != null) {
     addInput("AsOfDate", asOfDate);
   }
   if (accountNo != null) {
     addInput("AccountNo", accountNo);
   }
   if (invoiceCount != null) {
     addInput("InvoiceCount", invoiceCount);
   }
 }