Package software.xdev.sessionize.model
Class Question
java.lang.Object
software.xdev.sessionize.model.Question
Question
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Get idGet questionGet questionTypegetSort()Get sortinthashCode()questionType(String questionType) voidvoidsetQuestion(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_SORT
- See Also:
-
-
Constructor Details
-
Question
public Question()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
question
-
getQuestion
Get question- Returns:
- question
-
setQuestion
-
questionType
-
getQuestionType
Get questionType- Returns:
- questionType
-
setQuestionType
-
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
-