public void translateToMap() {
   if (ServiceOrderExcepIn != null) {
     Integer index = ServiceOrderExcepIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "ServiceOrderInvestigate",
         ServiceOrderInvestigateObjectHelper.toMap(
                 ServiceOrderExcepIn, new HashMap(), "ServiceOrderInvestigate")
             .get("ServiceOrderInvestigate"));
   }
 }
 public void translateFromMap() {
   ServiceOrderExcepIn =
       ServiceOrderInvestigateObjectHelper.fromMapFilter(inputMap, "ServiceOrderInvestigate");
 }