public static ModifyRegistration createModifyRegistration(RegistrationContext registrationContext,
RegistrationData registrationData)
{
ParameterValidation.throwIllegalArgExceptionIfNull(registrationData, "RegistrationData");
ModifyRegistration registration = new ModifyRegistration();
registration.setRegistrationContext(registrationContext);
registration.setRegistrationData(registrationData);
return registration;
}