Package africa.absa.inception.security
Class PasswordResetId
- java.lang.Object
-
- africa.absa.inception.security.PasswordResetId
-
- All Implemented Interfaces:
Serializable
public class PasswordResetId extends Object implements Serializable
The PasswordResetId class implements the ID class for the PasswordReset class.- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PasswordResetId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Indicates whether some other object is "equal to" this one.LocalDateTimegetRequested()Returns the date and time the password reset was requested.StringgetUsername()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.
-
-
-
Method Detail
-
equals
public boolean equals(Object object)
Indicates whether some other object is "equal to" this one.
-
getRequested
public LocalDateTime getRequested()
Returns the date and time the password reset was requested.- Returns:
- the date and time the password reset was requested
-
getUsername
public String 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
public void setRequested(LocalDateTime requested)
Set the date and time the password reset was requested.- Parameters:
requested- the date and time the password reset was requested
-
setUsername
public void setUsername(String username)
Set the username for the user associated with the password reset.- Parameters:
username- the username for the user associated with the password reset
-
-