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