|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.SellableProducts.SellableProduct
public static class SellableProducts.SellableProduct
The individual sellable product. A sellable product may be a guest room, a meeting room or an inventory block. Attributes of SellableProduct are the inventory codes, information on the use, application and sequencing of the inventory information. Schema fragment(s) for this class:
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SellableProduct" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="DestinationSystemCodes" minOccurs="0"> <!-- Reference to inner class DestinationSystemCodes --> </xs:element> <xs:choice> <xs:element type="ns:GuestRoomType" name="GuestRoom"> <!-- Reference to inner class GuestRoom --> </xs:element> <xs:element type="ns:MeetingRoomsType" name="MeetingRooms"/> <xs:element name="InventoryBlock"> <xs:complexType> <xs:attributeGroup ref="ns:InvBlockCodeGroup"/> </xs:complexType> </xs:element> </xs:choice> <xs:element type="ns:ParagraphType" name="Description" minOccurs="0"/> <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="RPH"/> <xs:attributeGroup ref="ns:InventoryGroup"/> <xs:attribute use="optional" name="InvNotifType"> <xs:simpleType> <!-- Reference to inner class InvNotif --> </xs:simpleType> </xs:attribute> <xs:attribute use="optional" name="InvStatusType"> <xs:simpleType> <!-- Reference to inner class InvStatus --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" use="optional" name="InvGroupingCode"/> <xs:attribute type="xs:int" use="optional" name="OrderSequence"/> <xs:attributeGroup ref="ns:DateTimeSpanGroup"/> </xs:complexType> </xs:element> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="InvBlockCodeGroup"> <xs:attribute type="xs:string" name="Code"/> </xs:attributeGroup>
Nested Class Summary | |
---|---|
static class |
SellableProducts.SellableProduct.DestinationSystemCodes
A collection of destination system codes. |
static class |
SellableProducts.SellableProduct.GuestRoom
Guest room information if this sellable product is a guest room. |
static class |
SellableProducts.SellableProduct.InvNotif
Schema fragment(s) for this class: |
static class |
SellableProducts.SellableProduct.InvStatus
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
SellableProducts.SellableProduct()
|
Method Summary | |
---|---|
void |
clearChoiceSelect()
Clear the choice selection. |
java.lang.String |
getCode()
Get the 'Code' attribute value. |
DateTimeSpanGroup |
getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
Paragraph |
getDescription()
Get the 'Description' element value. |
SellableProducts.SellableProduct.DestinationSystemCodes |
getDestinationSystemCodes()
Get the 'DestinationSystemCodes' element value. |
SellableProducts.SellableProduct.GuestRoom |
getGuestRoom()
Get the 'GuestRoom' element value. |
InventoryGroup |
getInventoryGroup()
Get the 'InventoryGroup' attributeGroup value. |
java.lang.String |
getInvGroupingCode()
Get the 'InvGroupingCode' attribute value. |
SellableProducts.SellableProduct.InvNotif |
getInvNotif()
Get the 'InvNotifType' attribute value. |
SellableProducts.SellableProduct.InvStatus |
getInvStatus()
Get the 'InvStatusType' attribute value. |
MeetingRooms |
getMeetingRooms()
Get the 'MeetingRooms' element value. |
java.lang.Integer |
getOrderSequence()
Get the 'OrderSequence' attribute value. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
UniqueID |
getUniqueID()
Get the 'UniqueID' element value. |
boolean |
ifGuestRoom()
Check if GuestRoom is current selection for choice. |
boolean |
ifInventoryBlock()
Check if InventoryBlock is current selection for choice. |
boolean |
ifMeetingRooms()
Check if MeetingRooms is current selection for choice. |
void |
setCode(java.lang.String code)
Set the 'Code' attribute value. |
void |
setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setDescription(Paragraph description)
Set the 'Description' element value. |
void |
setDestinationSystemCodes(SellableProducts.SellableProduct.DestinationSystemCodes destinationSystemCodes)
Set the 'DestinationSystemCodes' element value. |
void |
setGuestRoom(SellableProducts.SellableProduct.GuestRoom guestRoom)
Set the 'GuestRoom' element value. |
void |
setInventoryGroup(InventoryGroup inventoryGroup)
Set the 'InventoryGroup' attributeGroup value. |
void |
setInvGroupingCode(java.lang.String invGroupingCode)
Set the 'InvGroupingCode' attribute value. |
void |
setInvNotif(SellableProducts.SellableProduct.InvNotif invNotif)
Set the 'InvNotifType' attribute value. |
void |
setInvStatus(SellableProducts.SellableProduct.InvStatus invStatus)
Set the 'InvStatusType' attribute value. |
void |
setMeetingRooms(MeetingRooms meetingRooms)
Set the 'MeetingRooms' element value. |
void |
setOrderSequence(java.lang.Integer orderSequence)
Set the 'OrderSequence' attribute value. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SellableProducts.SellableProduct()
Method Detail |
---|
public SellableProducts.SellableProduct.DestinationSystemCodes getDestinationSystemCodes()
public void setDestinationSystemCodes(SellableProducts.SellableProduct.DestinationSystemCodes destinationSystemCodes)
destinationSystemCodes
- public void clearChoiceSelect()
public boolean ifGuestRoom()
true
if selection, false
if notpublic SellableProducts.SellableProduct.GuestRoom getGuestRoom()
public void setGuestRoom(SellableProducts.SellableProduct.GuestRoom guestRoom)
guestRoom
- public boolean ifMeetingRooms()
true
if selection, false
if notpublic MeetingRooms getMeetingRooms()
public void setMeetingRooms(MeetingRooms meetingRooms)
meetingRooms
- public boolean ifInventoryBlock()
true
if selection, false
if notpublic java.lang.String getCode()
public void setCode(java.lang.String code)
code
- public Paragraph getDescription()
public void setDescription(Paragraph description)
description
- public UniqueID getUniqueID()
public void setUniqueID(UniqueID uniqueID)
uniqueID
- public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
- public InventoryGroup getInventoryGroup()
public void setInventoryGroup(InventoryGroup inventoryGroup)
inventoryGroup
- public SellableProducts.SellableProduct.InvNotif getInvNotif()
public void setInvNotif(SellableProducts.SellableProduct.InvNotif invNotif)
invNotif
- public SellableProducts.SellableProduct.InvStatus getInvStatus()
public void setInvStatus(SellableProducts.SellableProduct.InvStatus invStatus)
invStatus
- public java.lang.String getInvGroupingCode()
public void setInvGroupingCode(java.lang.String invGroupingCode)
invGroupingCode
- public java.lang.Integer getOrderSequence()
public void setOrderSequence(java.lang.Integer orderSequence)
orderSequence
- public DateTimeSpanGroup getDateTimeSpanGroup()
public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
dateTimeSpanGroup
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |