public interface IQuestionResponse extends Comparable
Modifier and Type | Method and Description |
---|---|
SurveyDatum |
getAnswer()
Convenience method for getting a single answer, if this question is marked exclusive (i.e., radio button).
|
List<SurveyDatum> |
getAnswers()
Convenience method for getting a list of answers, if the question is marked not exclusive (i.e., checkbox).
|
int |
getIndexSeen()
Gets the index at which the question in this question response was seen.
|
List<OptTuple> |
getOpts()
Gets the list of answers the respondent provided for this question.
|
Question |
getQuestion()
Gets the question associated with this IQuestionResponse
|
compareTo
Question getQuestion()
List<OptTuple> getOpts()
OptTuple
s, corresponding to answer data.int getIndexSeen()
SurveyDatum getAnswer() throws SurveyException
SurveyException
- if this question is not marked exclusive.List<SurveyDatum> getAnswers() throws SurveyException
SurveyException
- if this question is marked exclusive.Copyright © 2015. All rights reserved.