public enum BookingType extends java.lang.Enum<BookingType>
| Enum Constant and Description |
|---|
RESERVED
reserved
|
STANDARD
standard
|
UNEXPECTED_VALUE
For BookingType values that were not expected from the service
|
UNKNOWN
unknown
|
| Modifier and Type | Method and Description |
|---|---|
static BookingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BookingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookingType UNKNOWN
public static final BookingType STANDARD
public static final BookingType RESERVED
public static final BookingType UNEXPECTED_VALUE
public static BookingType[] values()
for (BookingType c : BookingType.values()) System.out.println(c);
public static BookingType 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