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