org.ota.hotel
Enum AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage

java.lang.Object
  extended by java.lang.Enum<AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage>
      extended by org.ota.hotel.AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage>
Enclosing class:
AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate

public static enum AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage
extends java.lang.Enum<AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="SetMinLOS"/>
     <xs:enumeration value="RemoveMinLOS"/>
     <xs:enumeration value="SetMaxLOS"/>
     <xs:enumeration value="RemoveMaxLOS"/>
     <xs:enumeration value="SetForwardMinStay"/>
     <xs:enumeration value="RemoveForwardMinStay"/>
     <xs:enumeration value="SetForwardMaxStay"/>
     <xs:enumeration value="RemoveForwardMaxStay"/>
     <xs:enumeration value="FixedLOS"/>
     <xs:enumeration value="FullPatternLOS"/>
     <xs:enumeration value="MinLOS"/>
     <xs:enumeration value="MaxLOS"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
FIXED_LOS
          This indicates the required length of stay (LOS).
FULL_PATTERN_LOS
          This indicates allowable length of stay (LOS).
MAX_LOS
          Used to specify the maximum length of stay.
MIN_LOS
          Used to specify the minimum length of stay.
REMOVE_FORWARD_MAX_STAY
           
REMOVE_FORWARD_MIN_STAY
           
REMOVE_MAX_LOS
          Used to remove the maximum length of stay (LOS).
REMOVE_MIN_LOS
          Used to remove the minimum length of stay (LOS).
SET_FORWARD_MAX_STAY
           
SET_FORWARD_MIN_STAY
           
SET_MAX_LOS
          Used to set the maximum length of stay (LOS).
SET_MIN_LOS
          Used to set the minimum length of stay (LOS).
 
Method Summary
static AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage convert(java.lang.String value)
           
 java.lang.String toString()
           
static AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage[] 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

SET_MIN_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage SET_MIN_LOS
Used to set the minimum length of stay (LOS).


REMOVE_MIN_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage REMOVE_MIN_LOS
Used to remove the minimum length of stay (LOS).


SET_MAX_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage SET_MAX_LOS
Used to set the maximum length of stay (LOS).


REMOVE_MAX_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage REMOVE_MAX_LOS
Used to remove the maximum length of stay (LOS).


SET_FORWARD_MIN_STAY

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage SET_FORWARD_MIN_STAY

REMOVE_FORWARD_MIN_STAY

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage REMOVE_FORWARD_MIN_STAY

SET_FORWARD_MAX_STAY

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage SET_FORWARD_MAX_STAY

REMOVE_FORWARD_MAX_STAY

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage REMOVE_FORWARD_MAX_STAY

FIXED_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage FIXED_LOS
This indicates the required length of stay (LOS).


FULL_PATTERN_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage FULL_PATTERN_LOS
This indicates allowable length of stay (LOS). When used, there is an option to fully define the open and closed status with the attribute FullPatternLOS in the subelement LOS_Pattern.


MIN_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage MIN_LOS
Used to specify the minimum length of stay.


MAX_LOS

public static final AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage MAX_LOS
Used to specify the maximum length of stay.

Method Detail

values

public static AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage[] 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 (AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage c : AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage.values())
    System.out.println(c);

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

valueOf

public static AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage 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<AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage>

convert

public static AvailGetRQ.HotelAvailRequest.LengthsOfStayCandidates.LengthOfStayCandidate.MinMaxMessage convert(java.lang.String value)