Class User
- java.lang.Object
-
- edu.cnm.deepdive.interviewprep.model.entity.User
-
-
Constructor Summary
Constructors Constructor Description User()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreated()
Returns an object creation Date for this instance.String
getDisplayName()
Returns a display name for the User.UUID
getExternalKey()
Returns a unique external key identifier for this instance.UUID
getId()
Returns the primary key identifier for this instance.String
getOauthKey()
Returns a unique OAuth key identifier for this instance.List<Question>
getQuestions()
Returns a list of questions from the database.void
setDisplayName(String displayName)
Sets a display name for the User.void
setOauthKey(String oauthKey)
Sets the OAuth key identifier for this object.
-
-
-
Method Detail
-
getId
public UUID getId()
Returns the primary key identifier for this instance.
-
getExternalKey
public UUID getExternalKey()
Returns a unique external key identifier for this instance.
-
getCreated
public Date getCreated()
Returns an object creation Date for this instance.
-
getOauthKey
public String getOauthKey()
Returns a unique OAuth key identifier for this instance.
-
setOauthKey
public void setOauthKey(String oauthKey)
Sets the OAuth key identifier for this object.
-
getDisplayName
public String getDisplayName()
Returns a display name for the User.
-
setDisplayName
public void setDisplayName(String displayName)
Sets a display name for the User.
-
-