objectFactory().staticInvoke( "createXMLGregorianCalendar" ).arg( calendar ) );
// Update to the JAXB property setter to also update the jpa field.
final JMethod transientSetter = this.getSetter( f );
transientSetter.body().assign( JExpr.refthis( field.name() ), f.parent()._package().objectFactory().
staticInvoke( "createCalendar" ).arg( transientSetter.listParams()[0] ) );
setter.javadoc().append(
"Sets the value of the jpa" + f.getPropertyInfo().getName( true ) + " property." + lineSeparator );
setter.javadoc().append(