Package org.dspace.eperson.dto
Class RegistrationDataChanges
java.lang.Object
org.dspace.eperson.dto.RegistrationDataChanges
Class that embeds a change done for the
RegistrationData- Author:
- Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Returns the email of change.Returns theRegistrationTypeEnumof the registration.booleanChecks if the email is valid using the EMAIL_PATTERN.
-
Constructor Details
-
RegistrationDataChanges
-
-
Method Details
-
isValidEmail
public boolean isValidEmail()Checks if the email is valid using the EMAIL_PATTERN.- Returns:
- true if valid, false otherwise
-
getEmail
Returns the email of change.- Returns:
- the email of the change
-
getRegistrationType
Returns theRegistrationTypeEnumof the registration.- Returns:
- the type of the change
-