org.ota.hotel
Class InvBlock.RoomTypes.Room.RoomTypeAllocations

java.lang.Object
  extended by org.ota.hotel.InvBlock.RoomTypes.Room.RoomTypeAllocations
Enclosing class:
InvBlock.RoomTypes.Room

public static class InvBlock.RoomTypes.Room.RoomTypeAllocations
extends java.lang.Object

This allows for multiple allocations to be blocked for a specific room type. 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="RoomTypeAllocations" minOccurs="0" maxOccurs="10">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RoomTypeAllocation" maxOccurs="unbounded">
         <!-- Reference to inner class RoomTypeAllocation -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="RoomTypePickUpStatus"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation
          This is the number of rooms blocked for a specific room type for specific dates.
 
Constructor Summary
InvBlock.RoomTypes.Room.RoomTypeAllocations()
           
 
Method Summary
 void addRoomTypeAllocation(InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation item)
          Add a 'RoomTypeAllocation' element item.
 void clearRoomTypeAllocations()
          Remove all 'RoomTypeAllocation' element items.
 InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation getRoomTypeAllocation(int index)
          Get 'RoomTypeAllocation' element item by position.
 java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation> getRoomTypeAllocations()
          Get the list of 'RoomTypeAllocation' element items.
 java.lang.String getRoomTypePickUpStatus()
          Get the 'RoomTypePickUpStatus' attribute value.
 void setRoomTypeAllocations(java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation> list)
          Set the list of 'RoomTypeAllocation' element items.
 void setRoomTypePickUpStatus(java.lang.String roomTypePickUpStatus)
          Set the 'RoomTypePickUpStatus' attribute value.
 int sizeRoomTypeAllocations()
          Get the number of 'RoomTypeAllocation' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvBlock.RoomTypes.Room.RoomTypeAllocations

public InvBlock.RoomTypes.Room.RoomTypeAllocations()
Method Detail

getRoomTypeAllocations

public java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation> getRoomTypeAllocations()
Get the list of 'RoomTypeAllocation' element items.

Returns:
list

setRoomTypeAllocations

public void setRoomTypeAllocations(java.util.List<InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation> list)
Set the list of 'RoomTypeAllocation' element items.

Parameters:
list -

sizeRoomTypeAllocations

public int sizeRoomTypeAllocations()
Get the number of 'RoomTypeAllocation' element items.

Returns:
count

addRoomTypeAllocation

public void addRoomTypeAllocation(InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation item)
Add a 'RoomTypeAllocation' element item.

Parameters:
item -

getRoomTypeAllocation

public InvBlock.RoomTypes.Room.RoomTypeAllocations.RoomTypeAllocation getRoomTypeAllocation(int index)
Get 'RoomTypeAllocation' element item by position.

Parameters:
index -
Returns:
item

clearRoomTypeAllocations

public void clearRoomTypeAllocations()
Remove all 'RoomTypeAllocation' element items.


getRoomTypePickUpStatus

public java.lang.String getRoomTypePickUpStatus()
Get the 'RoomTypePickUpStatus' attribute value. Refer to OpenTravel Code list (INV) Inventory Count Type.

Returns:
value

setRoomTypePickUpStatus

public void setRoomTypePickUpStatus(java.lang.String roomTypePickUpStatus)
Set the 'RoomTypePickUpStatus' attribute value. Refer to OpenTravel Code list (INV) Inventory Count Type.

Parameters:
roomTypePickUpStatus -