public void translateToMap() {
   if (batchReportTypeFindIn != null) {
     Integer index = batchReportTypeFindIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "BatchReportType",
         BatchReportTypeObjectHelper.toMap(batchReportTypeFindIn, new HashMap(), "BatchReportType")
             .get("BatchReportType"));
   }
 }