public class SMQuestionResponse
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ANSWERS |
static java.lang.String |
PAGE_ID |
static java.lang.String |
PAGE_INDEX |
static java.lang.String |
QUESTION_ID |
static java.lang.String |
QUESTION_INDEX |
static java.lang.String |
QUESTION_VALUE |
| Constructor and Description |
|---|
SMQuestionResponse(org.json.JSONObject jsonObject)
The SMQuestionResponse object represents a complete response to a given survey question.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<SMAnswerResponse> |
getAnswers() |
java.lang.String |
getDescription() |
java.lang.String |
getPageID() |
int |
getPageIndex() |
java.lang.String |
getQuestionID() |
int |
getQuestionSurveyIndex() |
java.lang.String |
getQuestionValue() |
public static final java.lang.String PAGE_ID
public static final java.lang.String QUESTION_ID
public static final java.lang.String PAGE_INDEX
public static final java.lang.String QUESTION_INDEX
public static final java.lang.String QUESTION_VALUE
public static final java.lang.String ANSWERS
public SMQuestionResponse(org.json.JSONObject jsonObject)
The SMQuestionResponse object includes relevant question attributes as well as an array of SMAnswerResponse objects representing representing the respondent’s answer(s) to this question.
jsonObject - The JSON representing a user's responses to a single question in the surveySMRespondentpublic java.lang.String getPageID()
public int getPageIndex()
public java.lang.String getQuestionID()
public int getQuestionSurveyIndex()
public java.lang.String getQuestionValue()
public java.util.ArrayList<SMAnswerResponse> getAnswers()
public java.lang.String getDescription()