public final class UserIdentity extends Object
Modifier and Type | Field and Description |
---|---|
protected Account.Id |
accountId
If the user has a Gerrit account, their account identity.
|
protected String |
email
Email address (or user@host style string anyway).
|
protected String |
name
Full name of the user.
|
protected int |
tz
Offset from UTC
|
protected String |
username
Username of the user.
|
protected Timestamp |
when
Time (in UTC) when the identity was constructed.
|
Constructor and Description |
---|
UserIdentity() |
Modifier and Type | Method and Description |
---|---|
Account.Id |
getAccount() |
Timestamp |
getDate() |
String |
getEmail() |
String |
getName() |
int |
getTimeZone() |
String |
getUsername() |
void |
setAccount(Account.Id id) |
void |
setDate(Timestamp d) |
void |
setEmail(String e) |
void |
setName(String n) |
void |
setTimeZone(int offset) |
protected String name
protected String email
protected String username
protected Timestamp when
protected int tz
protected Account.Id accountId
public String getName()
public void setName(String n)
public String getEmail()
public void setEmail(String e)
public String getUsername()
public Timestamp getDate()
public void setDate(Timestamp d)
public int getTimeZone()
public void setTimeZone(int offset)
public Account.Id getAccount()
public void setAccount(Account.Id id)