Interface Account
-
public interface AccountThe Account interface describes the an account held by a person.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAccount.FieldThe fields that represent the account object in json form.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDomain()The top-most authoritative domain for this account, e.g.StringgetUserId()A user ID number, usually chosen automatically, and usually numeric but sometimes alphanumeric, e.g.StringgetUsername()An alphanumeric user name, usually chosen by the user, e.g.voidsetDomain(String domain)The top-most authoritative domain for this account, e.g.voidsetUserId(String userId)A user ID number, usually chosen automatically, and usually numeric but sometimes alphanumeric, e.g.voidsetUsername(String username)An alphanumeric user name, usually chosen by the user, e.g.
-
-
-
Method Detail
-
getDomain
String getDomain()
The top-most authoritative domain for this account, e.g. "twitter.com". This is the Primary Sub-Field for this field, for the purposes of sorting and filtering.- Returns:
- the domain
-
setDomain
void setDomain(String domain)
The top-most authoritative domain for this account, e.g. "twitter.com". This is the Primary Sub-Field for this field, for the purposes of sorting and filtering. *- Parameters:
domain- the domain
-
getUserId
String getUserId()
A user ID number, usually chosen automatically, and usually numeric but sometimes alphanumeric, e.g. "12345" or "1Z425A".- Returns:
- the userId
-
setUserId
void setUserId(String userId)
A user ID number, usually chosen automatically, and usually numeric but sometimes alphanumeric, e.g. "12345" or "1Z425A".- Parameters:
userId- the userId
-
getUsername
String getUsername()
An alphanumeric user name, usually chosen by the user, e.g. "jsmarr".- Returns:
- the username
-
setUsername
void setUsername(String username)
An alphanumeric user name, usually chosen by the user, e.g. "jsmarr".- Parameters:
username- the username
-
-