public static enum SurveyQuestion.QuestionType extends java.lang.Enum<SurveyQuestion.QuestionType>
| Enum Constant and Description |
|---|
FREE_TEXT
Free text.
|
MULTILINE_FREE_TEXT
Multiline free text.
|
MULTIPLE_CHOICE
Multiple choice.
|
MULTIPLE_MATRIX
Matrix of multiple choice.
|
SINGLE_CHOICE
Single choice.
|
SINGLE_MATRIX
Matrix of single choice.
|
| Modifier and Type | Method and Description |
|---|---|
static SurveyQuestion.QuestionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SurveyQuestion.QuestionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurveyQuestion.QuestionType FREE_TEXT
public static final SurveyQuestion.QuestionType MULTILINE_FREE_TEXT
public static final SurveyQuestion.QuestionType SINGLE_CHOICE
public static final SurveyQuestion.QuestionType MULTIPLE_CHOICE
public static final SurveyQuestion.QuestionType SINGLE_MATRIX
public static final SurveyQuestion.QuestionType MULTIPLE_MATRIX
public static SurveyQuestion.QuestionType[] values()
for (SurveyQuestion.QuestionType c : SurveyQuestion.QuestionType.values()) System.out.println(c);
public static SurveyQuestion.QuestionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2010 Anyware Services. All Rights Reserved.