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