public enum ReservationType extends Enum<ReservationType>
Enum Constant and Description |
---|
ImmediateSession
Immediate reservation request.
|
PendingSession
Pending reservation request.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer representation of the ReservationType enumeration member.
|
static ReservationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReservationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReservationType ImmediateSession
public static final ReservationType PendingSession
public static ReservationType[] values()
for (ReservationType c : ReservationType.values()) System.out.println(c);
public static ReservationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
© 2016 ZIH Corp. All Rights Reserved.