public void translateToMap() {
   if (RPGetIn != null) {
     RPGetIn.resetFlags(true, true);
     addInput(
         "RatePeriod",
         RPObjectKeyHelper.toMap(RPGetIn, new HashMap(), "RPObjectKeyData")
             .get("RPObjectKeyData"));
   }
 }
 public void translateFromMap() {
   RPGetIn = RPObjectKeyHelper.fromMap(inputMap, "RatePeriod");
 }