public static enum ISessionReservation.SessionReservationResolution extends java.lang.Enum<ISessionReservation.SessionReservationResolution>
enumeration lists the resolutions of a session reservation: confirmed of canceled. | Enum Constant and Description |
|---|
CANCELLED
The reservation is canceled.
|
CONFIRMED
The reservation is confirmed (partially or totally).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Gets the identifier of the SessionReservationResolution type.
|
java.lang.String |
getPrettyName()
Gets the name of the SessionReservationResolution type.
|
static ISessionReservation.SessionReservationResolution |
getSessionReservationResolutionFromPrettyName(java.lang.String prettyName)
Gets the SessionReservationResolution instance corresponding to the pretty name.
|
static ISessionReservation.SessionReservationResolution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ISessionReservation.SessionReservationResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISessionReservation.SessionReservationResolution CANCELLED
public static final ISessionReservation.SessionReservationResolution CONFIRMED
public static ISessionReservation.SessionReservationResolution[] values()
for (ISessionReservation.SessionReservationResolution c : ISessionReservation.SessionReservationResolution.values()) System.out.println(c);
public static ISessionReservation.SessionReservationResolution 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 nullpublic java.lang.String getPrettyName()
public int getId()
public static final ISessionReservation.SessionReservationResolution getSessionReservationResolutionFromPrettyName(java.lang.String prettyName)
prettyName - The name of the SessionReservationResolution typeCANCELLED otherwise.