|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.InvBlock.RoomTypes.Room
public static class InvBlock.RoomTypes.Room
This is a specific room type defined within an inventory block. 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" type="ns:InvBlockRoomType" name="RoomType" maxOccurs="99"/>
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="InvBlockRoomType">
<xs:sequence>
<xs:element name="RoomTypeAllocations" minOccurs="0" maxOccurs="10">
<!-- Reference to inner class RoomTypeAllocations -->
</xs:element>
<xs:element name="RatePlans" minOccurs="0">
<!-- Reference to inner class RatePlans -->
</xs:element>
<xs:element name="DaysOfWeeks" minOccurs="0">
<!-- Reference to inner class DaysOfWeeks -->
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
<xs:attribute type="xs:string" use="optional" name="RoomTypeCode"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
InvBlock.RoomTypes.Room.DaysOfWeeks
This is available so multiple rules or multiple date ranges may be applied. |
static class |
InvBlock.RoomTypes.Room.RatePlans
This allows for multiple rate plans for a specific room type. |
static class |
InvBlock.RoomTypes.Room.RoomTypeAllocations
This allows for multiple allocations to be blocked for a specific room type. |
| Constructor Summary | |
|---|---|
InvBlock.RoomTypes.Room()
|
|
| Method Summary | |
|---|---|
void |
addRoomTypeAllocation(InvBlock.RoomTypes.Room.RoomTypeAllocations item)
Add a 'RoomTypeAllocations' element item. |
void |
clearRoomTypeAllocations()
Remove all 'RoomTypeAllocations' element items. |
DateTimeSpanGroup |
getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
InvBlock.RoomTypes.Room.DaysOfWeeks |
getDaysOfWeeks()
Get the 'DaysOfWeeks' element value. |
InvBlock.RoomTypes.Room.RatePlans |
getRatePlans()
Get the 'RatePlans' element value. |
InvBlock.RoomTypes.Room.RoomTypeAllocations |
getRoomTypeAllocation(int index)
Get 'RoomTypeAllocations' element item by position. |
java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations> |
getRoomTypeAllocations()
Get the list of 'RoomTypeAllocations' element items. |
java.lang.String |
getRoomTypeCode()
Get the 'RoomTypeCode' attribute value. |
void |
setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setDaysOfWeeks(InvBlock.RoomTypes.Room.DaysOfWeeks daysOfWeeks)
Set the 'DaysOfWeeks' element value. |
void |
setRatePlans(InvBlock.RoomTypes.Room.RatePlans ratePlans)
Set the 'RatePlans' element value. |
void |
setRoomTypeAllocations(java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations> list)
Set the list of 'RoomTypeAllocations' element items. |
void |
setRoomTypeCode(java.lang.String roomTypeCode)
Set the 'RoomTypeCode' attribute value. |
int |
sizeRoomTypeAllocations()
Get the number of 'RoomTypeAllocations' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvBlock.RoomTypes.Room()
| Method Detail |
|---|
public java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations> getRoomTypeAllocations()
public void setRoomTypeAllocations(java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations> list)
list - public int sizeRoomTypeAllocations()
public void addRoomTypeAllocation(InvBlock.RoomTypes.Room.RoomTypeAllocations item)
item - public InvBlock.RoomTypes.Room.RoomTypeAllocations getRoomTypeAllocation(int index)
index -
public void clearRoomTypeAllocations()
public InvBlock.RoomTypes.Room.RatePlans getRatePlans()
public void setRatePlans(InvBlock.RoomTypes.Room.RatePlans ratePlans)
ratePlans - public InvBlock.RoomTypes.Room.DaysOfWeeks getDaysOfWeeks()
public void setDaysOfWeeks(InvBlock.RoomTypes.Room.DaysOfWeeks daysOfWeeks)
daysOfWeeks - public DateTimeSpanGroup getDateTimeSpanGroup()
public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
dateTimeSpanGroup - public java.lang.String getRoomTypeCode()
public void setRoomTypeCode(java.lang.String roomTypeCode)
roomTypeCode -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||