Class User
- java.lang.Object
- 
- edu.cnm.deepdive.teamassignmentsandroid.model.pojo.User
 
- 
 public class User extends Object Get and sets user information for application.
- 
- 
Constructor SummaryConstructors Constructor Description User()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetConnected()Gets the date/time user connects to service.DategetCreationDate()Gets Date user creates login.StringgetDisplayName()Gets users display name.List<Group>getGroups()Gets list of GroupsLonggetId()Gets a Long for user id.StringgetOauthKey()Gets the oauth key for the user.List<Task>getTasks()gets list of tasksvoidsetDisplayName(String displayName)Sets the users display name.voidsetOauthKey(String oauthKey)Sets the oauth key for user.
 
- 
- 
- 
Method Detail- 
getIdpublic Long getId() Gets a Long for user id.- Returns:
- returns long for id.
 
 - 
getConnectedpublic Date getConnected() Gets the date/time user connects to service.- Returns:
- returns the date/time of connection.
 
 - 
getCreationDatepublic Date getCreationDate() Gets Date user creates login.- Returns:
- returns Date of connection.
 
 - 
getDisplayNamepublic String getDisplayName() Gets users display name.- Returns:
- String of users display name.
 
 - 
setDisplayNamepublic void setDisplayName(String displayName) Sets the users display name.- Parameters:
- displayName- is String of user's name.
 
 - 
getOauthKeypublic String getOauthKey() Gets the oauth key for the user.- Returns:
- returns an oauth key for authentication.
 
 - 
setOauthKeypublic void setOauthKey(String oauthKey) Sets the oauth key for user.- Parameters:
- oauthKey- return in String format
 
 
- 
 
-