public static enum Survey.QuestionType extends java.lang.Enum<Survey.QuestionType>
Enum Constant and Description |
---|
MULTIPLE_CHOICE |
TEXT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Survey.QuestionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Survey.QuestionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Survey.QuestionType UNKNOWN
public static final Survey.QuestionType MULTIPLE_CHOICE
public static final Survey.QuestionType TEXT
public static Survey.QuestionType[] values()
for (Survey.QuestionType c : Survey.QuestionType.values()) System.out.println(c);
public static Survey.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 null