Class Question
- java.lang.Object
-
- edu.cnm.deepdive.interviewprep.model.entity.Question
-
-
Constructor Summary
Constructors Constructor Description Question()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnswer()
Returns an answer in the form of a string.Date
getCreated()
Returns an object creation Date for this instance.UUID
getExternalKey()
Returns a unique external key identifier for this instance.UUID
getId()
Returns the primary key identifier for this instance.String
getQuestion()
Returns a question in the form of a string.String
getSource()
Returns a source in the form of a string.User
getUser()
Returns a User object for this instance.String
getUserAnswer()
Returns a user answer in the form of a string.void
setAnswer(String answer)
Sets an answer in the form of a string.void
setQuestion(String question)
Sets a question in the form of a string.void
setSource(String source)
Sets a source in the form of a string.void
setUser(User user)
Sets a User object for this instance.void
setUserAnswer(String userAnswer)
Sets a user answer in the form of a string.
-
-
-
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.
-
getUser
public User getUser()
Returns a User object for this instance.
-
setUser
public void setUser(User user)
Sets a User object for this instance.
-
getQuestion
public String getQuestion()
Returns a question in the form of a string.
-
setQuestion
public void setQuestion(String question)
Sets a question in the form of a string.
-
getAnswer
public String getAnswer()
Returns an answer in the form of a string.
-
setAnswer
public void setAnswer(String answer)
Sets an answer in the form of a string.
-
getSource
public String getSource()
Returns a source in the form of a string.
-
setSource
public void setSource(String source)
Sets a source in the form of a string. source
-
getUserAnswer
public String getUserAnswer()
Returns a user answer in the form of a string.
-
setUserAnswer
public void setUserAnswer(String userAnswer)
Sets a user answer in the form of a string.
-
-