public final class User
extends Object
Constructor and Description |
---|
User(String code)
Constructor to create a user value used for editing User Selection fields.
|
User(String name,
String code) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCode()
The code (log in name) of the user.
|
String |
getName()
The display name of the user.
|
int |
hashCode() |
String |
toString() |
public User(String code)
code
- the code of the user.@ConstructorProperties(value={"name","code"}) public User(String name, String code)
public String getName()
public String getCode()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object