|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Services.Service.PMSResStatus>
org.ota.hotel.Services.Service.PMSResStatus
public static 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 |
---|
public static final Services.Service.PMSResStatus RESERVED
public static final Services.Service.PMSResStatus REQUESTED
public static final Services.Service.PMSResStatus REQUESTDENIED
public static final Services.Service.PMSResStatus NOSHOW
public static final Services.Service.PMSResStatus CANCELLED
public static final Services.Service.PMSResStatus INHOUSE
public static final Services.Service.PMSResStatus CHECKEDOUT
public static final Services.Service.PMSResStatus WAITLISTED
Method Detail |
---|
public static Services.Service.PMSResStatus[] values()
for (Services.Service.PMSResStatus c : Services.Service.PMSResStatus.values()) System.out.println(c);
public static Services.Service.PMSResStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Services.Service.PMSResStatus>
public static Services.Service.PMSResStatus convert(java.lang.String value)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |