|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.InvBlock.RoomTypes
public static class InvBlock.RoomTypes
This allows for multiple room types to be defined within an inventory block. Schema fragment(s) for this class:
<xs:element xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomTypes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element type="InvBlockRoomType" name="RoomType" maxOccurs="99">
<!-- Reference to inner class Room -->
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
| Nested Class Summary | |
|---|---|
static class |
InvBlock.RoomTypes.Room
This is a specific room type defined within an inventory block. |
| Constructor Summary | |
|---|---|
InvBlock.RoomTypes()
|
|
| Method Summary | |
|---|---|
void |
addRoom(InvBlock.RoomTypes.Room item)
Add a 'RoomType' element item. |
void |
clearRooms()
Remove all 'RoomType' element items. |
InvBlock.RoomTypes.Room |
getRoom(int index)
Get 'RoomType' element item by position. |
java.util.List<InvBlock.RoomTypes.Room> |
getRooms()
Get the list of 'RoomType' element items. |
void |
setRooms(java.util.List<InvBlock.RoomTypes.Room> list)
Set the list of 'RoomType' element items. |
int |
sizeRooms()
Get the number of 'RoomType' 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()
| Method Detail |
|---|
public java.util.List<InvBlock.RoomTypes.Room> getRooms()
public void setRooms(java.util.List<InvBlock.RoomTypes.Room> list)
list - public int sizeRooms()
public void addRoom(InvBlock.RoomTypes.Room item)
item - public InvBlock.RoomTypes.Room getRoom(int index)
index -
public void clearRooms()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||