Interface Account
public interface Account
The Account interface describes the an account held by a person.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe fields that represent the account object in json form. -
Method Summary
Modifier and TypeMethodDescriptionThe top-most authoritative domain for this account, e.g.A user ID number, usually chosen automatically, and usually numeric but sometimes alphanumeric, e.g.An alphanumeric user name, usually chosen by the user, e.g.voidThe top-most authoritative domain for this account, e.g.voidA 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 Details
-
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
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
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
An alphanumeric user name, usually chosen by the user, e.g. "jsmarr".- Parameters:
username- the username
-