public class AddeAccount extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
project
Project number (currently not limited to a numeric value).
|
private String |
username
Username to hand off to the server.
|
| Constructor and Description |
|---|
AddeAccount(String user,
String proj)
Builds a new ADDE account object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines whether or not a given object is equivalent to this ADDE
account.
|
String |
friendlyString()
Returns a "human-friendly" representation of this accounting
object.
|
String |
getProject()
Get the project number associated with this account.
|
String |
getUsername()
Get the username associated with this account.
|
int |
hashCode()
|
String |
toString()
Returns a string representation of this account.
|
public AddeAccount(String user, String proj)
user - Username to store. Cannot be null.proj - Project number to store. Cannot be null.NullPointerException - if user or proj is
null.public String getUsername()
usernamepublic String getProject()
projectpublic boolean equals(Object obj)
public int hashCode()
public String toString()
[AddeAccount@HASHCODE: username=..., project=...]
public String friendlyString()
USER / PROJ.String.