org.ota.hotel
Class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay

java.lang.Object
  extended by org.ota.hotel.EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay
Enclosing class:
EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays

public static class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay
extends java.lang.Object

A particular stay day. 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="StayDay" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Rates" minOccurs="0">
         <!-- Reference to inner class Rates -->
       </xs:element>
       <xs:element name="RoomPickUp" minOccurs="0" maxOccurs="8">
         <xs:complexType>
           <xs:attributeGroup ref="ns:RoomPickUpGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="required" name="DayNumber"/>
     <xs:attribute type="ns:EventDayType" use="optional" name="DayType"/>
     <xs:attribute type="xs:int" use="optional" name="GuestQuantity"/>
     <xs:attribute type="xs:int" use="optional" name="TotalNumberOfUnits"/>
     <xs:attribute type="xs:string" use="optional" name="RoomTypeCode"/>
     <xs:attribute type="xs:string" use="optional" name="RoomTypeName"/>
     <xs:attribute type="xs:string" use="optional" name="RoomType"/>
     <xs:attribute type="xs:int" use="optional" name="ContractedRoomBlock"/>
     <xs:attribute type="xs:int" use="optional" name="FinalRoomBlock"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay.Rates
          Collection of rates for a particular room type.
 
Constructor Summary
EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay()
           
 
Method Summary
 void addRoomPickUp(RoomPickUpGroup item)
          Add a 'RoomPickUp' element item.
 void clearRoomPickUps()
          Remove all 'RoomPickUp' element items.
 java.lang.Integer getContractedRoomBlock()
          Get the 'ContractedRoomBlock' attribute value.
 EventDay getDay()
          Get the 'DayType' attribute value.
 java.lang.String getDayNumber()
          Get the 'DayNumber' attribute value.
 java.lang.Integer getFinalRoomBlock()
          Get the 'FinalRoomBlock' attribute value.
 java.lang.Integer getGuestQuantity()
          Get the 'GuestQuantity' attribute value.
 EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay.Rates getRates()
          Get the 'Rates' element value.
 java.lang.String getRoom()
          Get the 'RoomType' attribute value.
 RoomPickUpGroup getRoomPickUp(int index)
          Get 'RoomPickUp' element item by position.
 java.util.List<RoomPickUpGroup> getRoomPickUps()
          Get the list of 'RoomPickUp' element items.
 java.lang.String getRoomTypeCode()
          Get the 'RoomTypeCode' attribute value.
 java.lang.String getRoomTypeName()
          Get the 'RoomTypeName' attribute value.
 java.lang.Integer getTotalNumberOfUnits()
          Get the 'TotalNumberOfUnits' attribute value.
 void setContractedRoomBlock(java.lang.Integer contractedRoomBlock)
          Set the 'ContractedRoomBlock' attribute value.
 void setDay(EventDay day)
          Set the 'DayType' attribute value.
 void setDayNumber(java.lang.String dayNumber)
          Set the 'DayNumber' attribute value.
 void setFinalRoomBlock(java.lang.Integer finalRoomBlock)
          Set the 'FinalRoomBlock' attribute value.
 void setGuestQuantity(java.lang.Integer guestQuantity)
          Set the 'GuestQuantity' attribute value.
 void setRates(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay.Rates rates)
          Set the 'Rates' element value.
 void setRoom(java.lang.String room)
          Set the 'RoomType' attribute value.
 void setRoomPickUps(java.util.List<RoomPickUpGroup> list)
          Set the list of 'RoomPickUp' element items.
 void setRoomTypeCode(java.lang.String roomTypeCode)
          Set the 'RoomTypeCode' attribute value.
 void setRoomTypeName(java.lang.String roomTypeName)
          Set the 'RoomTypeName' attribute value.
 void setTotalNumberOfUnits(java.lang.Integer totalNumberOfUnits)
          Set the 'TotalNumberOfUnits' attribute value.
 int sizeRoomPickUps()
          Get the number of 'RoomPickUp' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay

public EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay()
Method Detail

getRates

public EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay.Rates getRates()
Get the 'Rates' element value.

Returns:
value

setRates

public void setRates(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays.StayDay.Rates rates)
Set the 'Rates' element value.

Parameters:
rates -

getRoomPickUps

public java.util.List<RoomPickUpGroup> getRoomPickUps()
Get the list of 'RoomPickUp' element items. Individual room pick-up by day or by day and room type.

Returns:
list

setRoomPickUps

public void setRoomPickUps(java.util.List<RoomPickUpGroup> list)
Set the list of 'RoomPickUp' element items. Individual room pick-up by day or by day and room type.

Parameters:
list -

sizeRoomPickUps

public int sizeRoomPickUps()
Get the number of 'RoomPickUp' element items.

Returns:
count

addRoomPickUp

public void addRoomPickUp(RoomPickUpGroup item)
Add a 'RoomPickUp' element item.

Parameters:
item -

getRoomPickUp

public RoomPickUpGroup getRoomPickUp(int index)
Get 'RoomPickUp' element item by position.

Parameters:
index -
Returns:
item

clearRoomPickUps

public void clearRoomPickUps()
Remove all 'RoomPickUp' element items.


getDayNumber

public java.lang.String getDayNumber()
Get the 'DayNumber' attribute value. The number which indicates the day of the stay (e.g. 1, 2, 3). This is relative to the Start attribute in the Date element.

Returns:
value

setDayNumber

public void setDayNumber(java.lang.String dayNumber)
Set the 'DayNumber' attribute value. The number which indicates the day of the stay (e.g. 1, 2, 3). This is relative to the Start attribute in the Date element.

Parameters:
dayNumber -

getDay

public EventDay getDay()
Get the 'DayType' attribute value. Indicates the day is a pre-event day, a post event day or a published event day.

Returns:
value

setDay

public void setDay(EventDay day)
Set the 'DayType' attribute value. Indicates the day is a pre-event day, a post event day or a published event day.

Parameters:
day -

getGuestQuantity

public java.lang.Integer getGuestQuantity()
Get the 'GuestQuantity' attribute value. Total number of guests for this day.

Returns:
value

setGuestQuantity

public void setGuestQuantity(java.lang.Integer guestQuantity)
Set the 'GuestQuantity' attribute value. Total number of guests for this day.

Parameters:
guestQuantity -

getTotalNumberOfUnits

public java.lang.Integer getTotalNumberOfUnits()
Get the 'TotalNumberOfUnits' attribute value. Total number of rooms needed for this day.

Returns:
value

setTotalNumberOfUnits

public void setTotalNumberOfUnits(java.lang.Integer totalNumberOfUnits)
Set the 'TotalNumberOfUnits' attribute value. Total number of rooms needed for this day.

Parameters:
totalNumberOfUnits -

getRoomTypeCode

public java.lang.String getRoomTypeCode()
Get the 'RoomTypeCode' attribute value. A hotel code that indicates the type of room.

Returns:
value

setRoomTypeCode

public void setRoomTypeCode(java.lang.String roomTypeCode)
Set the 'RoomTypeCode' attribute value. A hotel code that indicates the type of room.

Parameters:
roomTypeCode -

getRoomTypeName

public java.lang.String getRoomTypeName()
Get the 'RoomTypeName' attribute value. Provides the name for the room type or the room type code.

Returns:
value

setRoomTypeName

public void setRoomTypeName(java.lang.String roomTypeName)
Set the 'RoomTypeName' attribute value. Provides the name for the room type or the room type code.

Parameters:
roomTypeName -

getRoom

public java.lang.String getRoom()
Get the 'RoomType' attribute value. A general room type classification for types of rooms sold (e.g., single, concierge, suite) rather than a hotel specific room type code.

Returns:
value

setRoom

public void setRoom(java.lang.String room)
Set the 'RoomType' attribute value. A general room type classification for types of rooms sold (e.g., single, concierge, suite) rather than a hotel specific room type code.

Parameters:
room -

getContractedRoomBlock

public java.lang.Integer getContractedRoomBlock()
Get the 'ContractedRoomBlock' attribute value. The total number of contracted rooms.

Returns:
value

setContractedRoomBlock

public void setContractedRoomBlock(java.lang.Integer contractedRoomBlock)
Set the 'ContractedRoomBlock' attribute value. The total number of contracted rooms.

Parameters:
contractedRoomBlock -

getFinalRoomBlock

public java.lang.Integer getFinalRoomBlock()
Get the 'FinalRoomBlock' attribute value. The final number of rooms blocked for this event. This may be revised from the original contracted number of rooms.

Returns:
value

setFinalRoomBlock

public void setFinalRoomBlock(java.lang.Integer finalRoomBlock)
Set the 'FinalRoomBlock' attribute value. The final number of rooms blocked for this event. This may be revised from the original contracted number of rooms.

Parameters:
finalRoomBlock -