com.highdeal.cnd.message
Enum ISessionReservation.SessionReservationResolution

java.lang.Object
  extended by java.lang.Enum<ISessionReservation.SessionReservationResolution>
      extended by com.highdeal.cnd.message.ISessionReservation.SessionReservationResolution
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ISessionReservation.SessionReservationResolution>
Enclosing interface:
ISessionReservation

public static enum ISessionReservation.SessionReservationResolution
extends java.lang.Enum<ISessionReservation.SessionReservationResolution>

This enumeration lists the resolutions of a session reservation: confirmed of canceled.


Enum Constant Summary
CANCELLED
          The reservation is canceled.
CONFIRMED
          The reservation is confirmed (partially or totally).
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CANCELLED

public static final ISessionReservation.SessionReservationResolution CANCELLED
The reservation is canceled.


CONFIRMED

public static final ISessionReservation.SessionReservationResolution CONFIRMED
The reservation is confirmed (partially or totally).

Method Detail

values

public static ISessionReservation.SessionReservationResolution[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ISessionReservation.SessionReservationResolution c : ISessionReservation.SessionReservationResolution.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ISessionReservation.SessionReservationResolution valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPrettyName

public java.lang.String getPrettyName()
Gets the name of the SessionReservationResolution type.

Returns:
The pretty name of the SessionReservationResolution type

getId

public int getId()
Gets the identifier of the SessionReservationResolution type.

Returns:
The identifier of the SessionReservationResolution type

getSessionReservationResolutionFromPrettyName

public static final ISessionReservation.SessionReservationResolution getSessionReservationResolutionFromPrettyName(java.lang.String prettyName)
Gets the SessionReservationResolution instance corresponding to the pretty name.

Parameters:
prettyName - The name of the SessionReservationResolution type
Returns:
The SessionReservationResolution instance corresponding to the pretty name. CANCELLED otherwise.

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)