org.ota.hotel
Enum Services.Service.PMSResStatus

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

public static enum Services.Service.PMSResStatus
extends java.lang.Enum<Services.Service.PMSResStatus>

Statuses that exist in a property management system (PMS). Schema fragment(s) for this class:

 <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PMS_ResStatusType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Reserved"/>
     <xs:enumeration value="Requested"/>
     <xs:enumeration value="Request denied"/>
     <xs:enumeration value="No-show"/>
     <xs:enumeration value="Cancelled"/>
     <xs:enumeration value="In-house"/>
     <xs:enumeration value="Checked out"/>
     <xs:enumeration value="Waitlisted"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
CANCELLED
          This reservation has been cancelled.
CHECKEDOUT
          The guest has checked out and the reservation has been changed to "Checked out" status
INHOUSE
          This reservation has been check in, and is in "in-house" status.
NOSHOW
          This reservation is in "no show" status.
REQUESTDENIED
          The request for the reservation has been denied.
REQUESTED
          The reservation has been requested but has not yet been reserved.
RESERVED
          The reservation has been reserved.
WAITLISTED
          This reservation is in waitlist status and the reservation has not been confirmed.
 
Method Summary
static Services.Service.PMSResStatus convert(java.lang.String value)
           
 java.lang.String toString()
           
static Services.Service.PMSResStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Services.Service.PMSResStatus[] 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

RESERVED

public static final Services.Service.PMSResStatus RESERVED
The reservation has been reserved.


REQUESTED

public static final Services.Service.PMSResStatus REQUESTED
The reservation has been requested but has not yet been reserved.


REQUESTDENIED

public static final Services.Service.PMSResStatus REQUESTDENIED
The request for the reservation has been denied.


NOSHOW

public static final Services.Service.PMSResStatus NOSHOW
This reservation is in "no show" status. Typically this means the person for whom this reservation belonged did not check in and the reservation was moved to "no show" status.


CANCELLED

public static final Services.Service.PMSResStatus CANCELLED
This reservation has been cancelled.


INHOUSE

public static final Services.Service.PMSResStatus INHOUSE
This reservation has been check in, and is in "in-house" status.


CHECKEDOUT

public static final Services.Service.PMSResStatus CHECKEDOUT
The guest has checked out and the reservation has been changed to "Checked out" status


WAITLISTED

public static final Services.Service.PMSResStatus WAITLISTED
This reservation is in waitlist status and the reservation has not been confirmed.

Method Detail

values

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

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

valueOf

public static Services.Service.PMSResStatus 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<Services.Service.PMSResStatus>

convert

public static Services.Service.PMSResStatus convert(java.lang.String value)