org.ota.hotel
Enum RoomPickUpGroup.PickUpParameter

java.lang.Object
  extended by java.lang.Enum<RoomPickUpGroup.PickUpParameter>
      extended by org.ota.hotel.RoomPickUpGroup.PickUpParameter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RoomPickUpGroup.PickUpParameter>
Enclosing class:
RoomPickUpGroup

public static enum RoomPickUpGroup.PickUpParameter
extends java.lang.Enum<RoomPickUpGroup.PickUpParameter>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="90_Day"/>
     <xs:enumeration value="60_Day"/>
     <xs:enumeration value="30_Day"/>
     <xs:enumeration value="21_Day"/>
     <xs:enumeration value="14_Day"/>
     <xs:enumeration value="7_Day"/>
     <xs:enumeration value="Cutoff"/>
     <xs:enumeration value="Actual"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
_14_DAY
          14 days before the event start date.
_21_DAY
          21 days before the event start date.
_30_DAY
          30 days before the event start date.
_60_DAY
          60 days before the event start date.
_7_DAY
          7 days before the event start date.
_90_DAY
          90 days before the event start date.
ACTUAL
          At the close-out of the event.
CUTOFF
          At the cutoff date.
 
Method Summary
static RoomPickUpGroup.PickUpParameter convert(java.lang.String value)
           
 java.lang.String toString()
           
static RoomPickUpGroup.PickUpParameter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RoomPickUpGroup.PickUpParameter[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

_90_DAY

public static final RoomPickUpGroup.PickUpParameter _90_DAY
90 days before the event start date.


_60_DAY

public static final RoomPickUpGroup.PickUpParameter _60_DAY
60 days before the event start date.


_30_DAY

public static final RoomPickUpGroup.PickUpParameter _30_DAY
30 days before the event start date.


_21_DAY

public static final RoomPickUpGroup.PickUpParameter _21_DAY
21 days before the event start date.


_14_DAY

public static final RoomPickUpGroup.PickUpParameter _14_DAY
14 days before the event start date.


_7_DAY

public static final RoomPickUpGroup.PickUpParameter _7_DAY
7 days before the event start date.


CUTOFF

public static final RoomPickUpGroup.PickUpParameter CUTOFF
At the cutoff date.


ACTUAL

public static final RoomPickUpGroup.PickUpParameter ACTUAL
At the close-out of the event.

Method Detail

values

public static RoomPickUpGroup.PickUpParameter[] 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 (RoomPickUpGroup.PickUpParameter c : RoomPickUpGroup.PickUpParameter.values())
    System.out.println(c);

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

valueOf

public static RoomPickUpGroup.PickUpParameter 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<RoomPickUpGroup.PickUpParameter>

convert

public static RoomPickUpGroup.PickUpParameter convert(java.lang.String value)