public class UserAuth extends Object implements Serializable
Constructor and Description |
---|
UserAuth() |
UserAuth(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String |
getPassword()
Returns the value of field 'password'.
|
String |
getUserName()
Returns the value of field 'userName'.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
void |
setPassword(String password)
Sets the value of field 'password'.
|
void |
setUserName(String userName)
Sets the value of field 'userName'.
|
public boolean equals(Object obj)
public String getPassword()
public String getUserName()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public void setPassword(String password)
password
- the value of field 'password'.public void setUserName(String userName)
userName
- the value of field 'userName'.Copyright © 2017. All rights reserved.