Package com.easydesk.modules.records
Record Class RequestUser
java.lang.Object
java.lang.Record
com.easydesk.modules.records.RequestUser
- Record Components:
username-password-
RequestUser,
TODO : validator 자동 설치, AttributeValue 의 Validator 에서 처리
-
Constructor Summary
ConstructorsConstructorDescriptionRequestUser(String username, String password, String email) Creates an instance of aRequestUserrecord class. -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.loginName 을 외부에 노출하지 않으려 하는데, getName() 의 method 이름이 혼선을 줄 수 있어서 LoginName 과 분리하여 명시적으로 LoginName 을 도입했다.getName()for Identificable.getName()final inthashCode()Returns a hash code value for this object.password()Returns the value of thepasswordrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
Method Details
-
getName
for Identificable.getName()- Returns:
-
getLoginName
loginName 을 외부에 노출하지 않으려 하는데, getName() 의 method 이름이 혼선을 줄 수 있어서 LoginName 과 분리하여 명시적으로 LoginName 을 도입했다. for User.getLoginName()- Returns:
-
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). -
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-