Package software.xdev.sessionize.model
Class QuestionAnswerFull
java.lang.Object
software.xdev.sessionize.model.QuestionAnswerFull
QuestionAnswerFull
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet answergetId()Get idGet questionGet questionTypegetSort()Get sortinthashCode()questionType(String questionType) voidvoidvoidsetQuestion(String question) voidsetQuestionType(String questionType) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_QUESTION
- See Also:
-
JSON_PROPERTY_QUESTION_TYPE
- See Also:
-
JSON_PROPERTY_ANSWER
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
-
Constructor Details
-
QuestionAnswerFull
public QuestionAnswerFull()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
question
-
getQuestion
Get question- Returns:
- question
-
setQuestion
-
questionType
-
getQuestionType
Get questionType- Returns:
- questionType
-
setQuestionType
-
answer
-
getAnswer
Get answer- Returns:
- answer
-
setAnswer
-
sort
-
getSort
Get sort- Returns:
- sort
-
setSort
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-