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 DategetCreated()Returns an object creation Date for this instance.StringgetDisplayName()Returns a display name for the User.UUIDgetExternalKey()Returns a unique external key identifier for this instance.UUIDgetId()Returns the primary key identifier for this instance.StringgetOauthKey()Returns a unique OAuth key identifier for this instance.List<Question>getQuestions()Returns a list of questions from the database.voidsetDisplayName(String displayName)Sets a display name for the User.voidsetOauthKey(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.
-
-