org.ota.hotel
Enum AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner

java.lang.Object
  extended by java.lang.Enum<AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner>
      extended by org.ota.hotel.AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner>
Enclosing class:
AvailRS.HotelStays.HotelStay.Availability.Restriction

public static enum AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner
extends java.lang.Enum<AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="MinLOS"/>
     <xs:enumeration value="MaxLOS"/>
     <xs:enumeration value="FixedLOS"/>
     <xs:enumeration value="MinAdvanceBook"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
FIXED_LOS
          Indicates the time unit is for the fixed length of stay restriction.
MAX_LOS
          Indicates the time unit is for the maximum length of stay restriction.
MIN_ADVANCE_BOOK
          Indicates the time unit is for the minimum advanced booking restriction.
MIN_LOS
          Indicates the time unit is for the minimum length of stay restriction.
 
Method Summary
static AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner convert(java.lang.String value)
           
 java.lang.String toString()
           
static AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner[] 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

MIN_LOS

public static final AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner MIN_LOS
Indicates the time unit is for the minimum length of stay restriction.


MAX_LOS

public static final AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner MAX_LOS
Indicates the time unit is for the maximum length of stay restriction.


FIXED_LOS

public static final AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner FIXED_LOS
Indicates the time unit is for the fixed length of stay restriction.


MIN_ADVANCE_BOOK

public static final AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner MIN_ADVANCE_BOOK
Indicates the time unit is for the minimum advanced booking restriction.

Method Detail

values

public static AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner[] 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 (AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner c : AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner.values())
    System.out.println(c);

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

valueOf

public static AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner 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<AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner>

convert

public static AvailRS.HotelStays.HotelStay.Availability.Restriction.RestrictionInner convert(java.lang.String value)