public void translateToMap() {
   if (CreateIn != null) {
     CreateIn.resetFlags(true, true);
     addInput(
         "CtcOfferBuyMethod",
         CtcOfferBuyMethodObjectHelper.toMap(CreateIn, new HashMap(), "CtcOfferBuyMethod")
             .get("CtcOfferBuyMethod"));
   }
 }
 public void translateFromMap() {
   CreateIn = CtcOfferBuyMethodObjectHelper.fromMap(inputMap, "CtcOfferBuyMethod");
 }