Package authorization
                Record Class AuthorizedUserData
java.lang.Object
                
            java.lang.Record
                    
            authorization.AuthorizedUserData
                - All Implemented Interfaces:
 Serializable
public record AuthorizedUserData(long userID, String name, String login, LocalDateTime lastLogin,
                    String registerIP, LocalDateTime registerDate)
                    extends Record
implements Serializable
                - See Also:
 
- 
                        
Constructor Summary
ConstructorsConstructorDescriptionAuthorizedUserData(long userID, String name, String login, LocalDateTime lastLogin, String registerIP, LocalDateTime registerDate) Creates an instance of aAuthorizedUserDatarecord class. - 
                        
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.Returns the value of thelastLoginrecord component.login()Returns the value of theloginrecord component.name()Returns the value of thenamerecord component.Returns the value of theregisterDaterecord component.Returns the value of theregisterIPrecord component.toString()Returns a string representation of this record class.longuserID()Returns the value of theuserIDrecord component. 
- 
                        
Constructor Details
- 
                                    
AuthorizedUserData
public AuthorizedUserData(long userID, String name, String login, LocalDateTime lastLogin, String registerIP, LocalDateTime registerDate) Creates an instance of aAuthorizedUserDatarecord class.- Parameters:
 userID- the value for theuserIDrecord componentname- the value for thenamerecord componentlogin- the value for theloginrecord componentlastLogin- the value for thelastLoginrecord componentregisterIP- the value for theregisterIPrecord componentregisterDate- the value for theregisterDaterecord component
 
 - 
                                    
 - 
                        
Method Details
- 
                                    
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. - 
                                    
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. - 
                                    
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. - 
                                    
userID
public long userID()Returns the value of theuserIDrecord component.- Returns:
 - the value of the 
userIDrecord component 
 - 
                                    
name
Returns the value of thenamerecord component.- Returns:
 - the value of the 
namerecord component 
 - 
                                    
login
Returns the value of theloginrecord component.- Returns:
 - the value of the 
loginrecord component 
 - 
                                    
lastLogin
Returns the value of thelastLoginrecord component.- Returns:
 - the value of the 
lastLoginrecord component 
 - 
                                    
registerIP
Returns the value of theregisterIPrecord component.- Returns:
 - the value of the 
registerIPrecord component 
 - 
                                    
registerDate
Returns the value of theregisterDaterecord component.- Returns:
 - the value of the 
registerDaterecord component 
 
 -