Package com.easydesk.web.form
Record Class ForgotPasswordForm
java.lang.Object
java.lang.Record
com.easydesk.web.form.ForgotPasswordForm
- Record Components:
email- 비밀번호를 재설정할 계정의 이메일 주소
'비밀번호 찾기' 화면(이메일 입력)에서 쓰는 폼 바인딩용 레코드.
ChangePassword(com.easydesk.modules.records)와 달리 이건 라이브러리(easydesk-spring-modules)가
아니라 데모 앱에만 있는 개념(토큰 발급/메일 발송)이라 데모 쪽 패키지에 둔다.
-
Constructor Summary
ConstructorsConstructorDescriptionForgotPasswordForm(String email) Creates an instance of aForgotPasswordFormrecord class. -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ForgotPasswordForm
Creates an instance of aForgotPasswordFormrecord class.- Parameters:
email- the value for theemailrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-