Modifier and Type | Field and Description |
---|---|
protected String |
fullName |
protected Account.Id |
id |
protected String |
preferredEmail |
protected String |
username |
Modifier | Constructor and Description |
---|---|
protected |
AccountInfo() |
|
AccountInfo(Account.Id id)
Create an 'Anonymous Coward' account info, when only the id is known.
|
|
AccountInfo(Account a)
Create an account description from a real data store record.
|
Modifier and Type | Method and Description |
---|---|
String |
getFullName() |
Account.Id |
getId() |
String |
getPreferredEmail() |
String |
getUsername() |
void |
setFullName(String n) |
void |
setPreferredEmail(String email) |
protected Account.Id id
protected String fullName
protected String preferredEmail
protected String username
protected AccountInfo()
public AccountInfo(Account.Id id)
This constructor should only be a last-ditch effort, when the usual account lookup has failed and a stale account id has been discovered in the data store.
public AccountInfo(Account a)
a
- the data store record holding the specific account details.public Account.Id getId()
public void setFullName(String n)
public String getFullName()
public String getPreferredEmail()
public void setPreferredEmail(String email)
public String getUsername()