Package africa.absa.inception.security
Class PasswordResetId
java.lang.Object
africa.absa.inception.security.PasswordResetId
- All Implemented Interfaces:
Serializable
The PasswordResetId class implements the ID class for the PasswordReset class.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.Returns the date and time the password reset was requested.Returns the username for the user associated with the password reset.inthashCode()Returns a hash code value for the object.voidsetRequested(LocalDateTime requested) Set the date and time the password reset was requested.voidsetUsername(String username) Set the username for the user associated with the password reset.
-
Constructor Details
-
PasswordResetId
public PasswordResetId()
-
-
Method Details
-
equals
Indicates whether some other object is "equal to" this one. -
getRequested
Returns the date and time the password reset was requested.- Returns:
- the date and time the password reset was requested
-
getUsername
Returns the username for the user associated with the password reset.- Returns:
- the username for the user associated with the password reset
-
hashCode
public int hashCode()Returns a hash code value for the object. -
setRequested
Set the date and time the password reset was requested.- Parameters:
requested- the date and time the password reset was requested
-
setUsername
Set the username for the user associated with the password reset.- Parameters:
username- the username for the user associated with the password reset
-