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

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

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

Information pertaining to a room block for this event. 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="RoomBlock" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ReservationMethod" minOccurs="0" maxOccurs="5">
         <!-- Reference to inner class ReservationMethod -->
       </xs:element>
       <xs:element name="StayDays" minOccurs="0">
         <!-- Reference to inner class StayDays -->
       </xs:element>
       <xs:element name="TotalRoomPickUp" minOccurs="0" maxOccurs="8">
         <xs:complexType>
           <xs:attributeGroup ref="ns:RoomPickUpGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:int" use="optional" name="TotalRoomNightQuantity"/>
     <xs:attribute type="xs:int" use="optional" name="PeakRoomNightQuantity"/>
     <xs:attribute type="xs:string" use="optional" name="HousingProviderName"/>
     <xs:attribute type="xs:string" use="optional" name="InvBlockCode"/>
     <xs:attribute type="xs:int" use="optional" name="CompRoomQuantity"/>
     <xs:attribute type="xs:int" use="optional" name="StaffRoomQuantity"/>
     <xs:attribute type="xs:string" use="optional" name="ContractedDate"/>
     <xs:attribute type="xs:string" use="optional" name="CutoffDate"/>
     <xs:attribute type="xs:boolean" use="optional" name="CutoffDateExercisedIndicator"/>
     <xs:attribute type="xs:float" use="optional" name="RequestedOversellPercentage"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod
          Information regarding the reservation method.
static class EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays
          A collection of stay days.
 
Constructor Summary
EventReport.EventSites.EventSite.RoomBlocks.RoomBlock()
           
 
Method Summary
 void addReservationMethod(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod item)
          Add a 'ReservationMethod' element item.
 void addTotalRoomPickUp(RoomPickUpGroup item)
          Add a 'TotalRoomPickUp' element item.
 void clearReservationMethods()
          Remove all 'ReservationMethod' element items.
 void clearTotalRoomPickUps()
          Remove all 'TotalRoomPickUp' element items.
 java.lang.Integer getCompRoomQuantity()
          Get the 'CompRoomQuantity' attribute value.
 java.lang.String getContractedDate()
          Get the 'ContractedDate' attribute value.
 java.lang.String getCutoffDate()
          Get the 'CutoffDate' attribute value.
 java.lang.Boolean getCutoffDateExercisedIndicator()
          Get the 'CutoffDateExercisedIndicator' attribute value.
 java.lang.String getHousingProviderName()
          Get the 'HousingProviderName' attribute value.
 java.lang.String getInvBlockCode()
          Get the 'InvBlockCode' attribute value.
 java.lang.Integer getPeakRoomNightQuantity()
          Get the 'PeakRoomNightQuantity' attribute value.
 java.lang.Float getRequestedOversellPercentage()
          Get the 'RequestedOversellPercentage' attribute value.
 EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod getReservationMethod(int index)
          Get 'ReservationMethod' element item by position.
 java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod> getReservationMethods()
          Get the list of 'ReservationMethod' element items.
 java.lang.Integer getStaffRoomQuantity()
          Get the 'StaffRoomQuantity' attribute value.
 EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays getStayDays()
          Get the 'StayDays' element value.
 java.lang.Integer getTotalRoomNightQuantity()
          Get the 'TotalRoomNightQuantity' attribute value.
 RoomPickUpGroup getTotalRoomPickUp(int index)
          Get 'TotalRoomPickUp' element item by position.
 java.util.List<RoomPickUpGroup> getTotalRoomPickUps()
          Get the list of 'TotalRoomPickUp' element items.
 void setCompRoomQuantity(java.lang.Integer compRoomQuantity)
          Set the 'CompRoomQuantity' attribute value.
 void setContractedDate(java.lang.String contractedDate)
          Set the 'ContractedDate' attribute value.
 void setCutoffDate(java.lang.String cutoffDate)
          Set the 'CutoffDate' attribute value.
 void setCutoffDateExercisedIndicator(java.lang.Boolean cutoffDateExercisedIndicator)
          Set the 'CutoffDateExercisedIndicator' attribute value.
 void setHousingProviderName(java.lang.String housingProviderName)
          Set the 'HousingProviderName' attribute value.
 void setInvBlockCode(java.lang.String invBlockCode)
          Set the 'InvBlockCode' attribute value.
 void setPeakRoomNightQuantity(java.lang.Integer peakRoomNightQuantity)
          Set the 'PeakRoomNightQuantity' attribute value.
 void setRequestedOversellPercentage(java.lang.Float requestedOversellPercentage)
          Set the 'RequestedOversellPercentage' attribute value.
 void setReservationMethods(java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod> list)
          Set the list of 'ReservationMethod' element items.
 void setStaffRoomQuantity(java.lang.Integer staffRoomQuantity)
          Set the 'StaffRoomQuantity' attribute value.
 void setStayDays(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays stayDays)
          Set the 'StayDays' element value.
 void setTotalRoomNightQuantity(java.lang.Integer totalRoomNightQuantity)
          Set the 'TotalRoomNightQuantity' attribute value.
 void setTotalRoomPickUps(java.util.List<RoomPickUpGroup> list)
          Set the list of 'TotalRoomPickUp' element items.
 int sizeReservationMethods()
          Get the number of 'ReservationMethod' element items.
 int sizeTotalRoomPickUps()
          Get the number of 'TotalRoomPickUp' 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

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

getReservationMethods

public java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod> getReservationMethods()
Get the list of 'ReservationMethod' element items.

Returns:
list

setReservationMethods

public void setReservationMethods(java.util.List<EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod> list)
Set the list of 'ReservationMethod' element items.

Parameters:
list -

sizeReservationMethods

public int sizeReservationMethods()
Get the number of 'ReservationMethod' element items.

Returns:
count

addReservationMethod

public void addReservationMethod(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod item)
Add a 'ReservationMethod' element item.

Parameters:
item -

getReservationMethod

public EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.ReservationMethod getReservationMethod(int index)
Get 'ReservationMethod' element item by position.

Parameters:
index -
Returns:
item

clearReservationMethods

public void clearReservationMethods()
Remove all 'ReservationMethod' element items.


getStayDays

public EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays getStayDays()
Get the 'StayDays' element value.

Returns:
value

setStayDays

public void setStayDays(EventReport.EventSites.EventSite.RoomBlocks.RoomBlock.StayDays stayDays)
Set the 'StayDays' element value.

Parameters:
stayDays -

getTotalRoomPickUps

public java.util.List<RoomPickUpGroup> getTotalRoomPickUps()
Get the list of 'TotalRoomPickUp' element items. Total room pick-up for the room block for a specific time parameter.

Returns:
list

setTotalRoomPickUps

public void setTotalRoomPickUps(java.util.List<RoomPickUpGroup> list)
Set the list of 'TotalRoomPickUp' element items. Total room pick-up for the room block for a specific time parameter.

Parameters:
list -

sizeTotalRoomPickUps

public int sizeTotalRoomPickUps()
Get the number of 'TotalRoomPickUp' element items.

Returns:
count

addTotalRoomPickUp

public void addTotalRoomPickUp(RoomPickUpGroup item)
Add a 'TotalRoomPickUp' element item.

Parameters:
item -

getTotalRoomPickUp

public RoomPickUpGroup getTotalRoomPickUp(int index)
Get 'TotalRoomPickUp' element item by position.

Parameters:
index -
Returns:
item

clearTotalRoomPickUps

public void clearTotalRoomPickUps()
Remove all 'TotalRoomPickUp' element items.


getTotalRoomNightQuantity

public java.lang.Integer getTotalRoomNightQuantity()
Get the 'TotalRoomNightQuantity' attribute value. Total number of room nights needed.

Returns:
value

setTotalRoomNightQuantity

public void setTotalRoomNightQuantity(java.lang.Integer totalRoomNightQuantity)
Set the 'TotalRoomNightQuantity' attribute value. Total number of room nights needed.

Parameters:
totalRoomNightQuantity -

getPeakRoomNightQuantity

public java.lang.Integer getPeakRoomNightQuantity()
Get the 'PeakRoomNightQuantity' attribute value. Total number of rooms needed on the peak night.

Returns:
value

setPeakRoomNightQuantity

public void setPeakRoomNightQuantity(java.lang.Integer peakRoomNightQuantity)
Set the 'PeakRoomNightQuantity' attribute value. Total number of rooms needed on the peak night.

Parameters:
peakRoomNightQuantity -

getHousingProviderName

public java.lang.String getHousingProviderName()
Get the 'HousingProviderName' attribute value. A third party housing providor name.

Returns:
value

setHousingProviderName

public void setHousingProviderName(java.lang.String housingProviderName)
Set the 'HousingProviderName' attribute value. A third party housing providor name.

Parameters:
housingProviderName -

getInvBlockCode

public java.lang.String getInvBlockCode()
Get the 'InvBlockCode' attribute value. The group id that identifies this event's room block within a specific hotel.

Returns:
value

setInvBlockCode

public void setInvBlockCode(java.lang.String invBlockCode)
Set the 'InvBlockCode' attribute value. The group id that identifies this event's room block within a specific hotel.

Parameters:
invBlockCode -

getCompRoomQuantity

public java.lang.Integer getCompRoomQuantity()
Get the 'CompRoomQuantity' attribute value. Total number of complimentary room nights used at this property.

Returns:
value

setCompRoomQuantity

public void setCompRoomQuantity(java.lang.Integer compRoomQuantity)
Set the 'CompRoomQuantity' attribute value. Total number of complimentary room nights used at this property.

Parameters:
compRoomQuantity -

getStaffRoomQuantity

public java.lang.Integer getStaffRoomQuantity()
Get the 'StaffRoomQuantity' attribute value. Total number of staff room nights used at this property.

Returns:
value

setStaffRoomQuantity

public void setStaffRoomQuantity(java.lang.Integer staffRoomQuantity)
Set the 'StaffRoomQuantity' attribute value. Total number of staff room nights used at this property.

Parameters:
staffRoomQuantity -

getContractedDate

public java.lang.String getContractedDate()
Get the 'ContractedDate' attribute value. The date the contract was signed for the room block.

Returns:
value

setContractedDate

public void setContractedDate(java.lang.String contractedDate)
Set the 'ContractedDate' attribute value. The date the contract was signed for the room block.

Parameters:
contractedDate -

getCutoffDate

public java.lang.String getCutoffDate()
Get the 'CutoffDate' attribute value. The date the room block was closed to booking.

Returns:
value

setCutoffDate

public void setCutoffDate(java.lang.String cutoffDate)
Set the 'CutoffDate' attribute value. The date the room block was closed to booking.

Parameters:
cutoffDate -

getCutoffDateExercisedIndicator

public java.lang.Boolean getCutoffDateExercisedIndicator()
Get the 'CutoffDateExercisedIndicator' attribute value. When true, the cutoff date was excercised.

Returns:
value

setCutoffDateExercisedIndicator

public void setCutoffDateExercisedIndicator(java.lang.Boolean cutoffDateExercisedIndicator)
Set the 'CutoffDateExercisedIndicator' attribute value. When true, the cutoff date was excercised.

Parameters:
cutoffDateExercisedIndicator -

getRequestedOversellPercentage

public java.lang.Float getRequestedOversellPercentage()
Get the 'RequestedOversellPercentage' attribute value. Percentage of rooms requested by the housing provider above the contracted room block.

Returns:
value

setRequestedOversellPercentage

public void setRequestedOversellPercentage(java.lang.Float requestedOversellPercentage)
Set the 'RequestedOversellPercentage' attribute value. Percentage of rooms requested by the housing provider above the contracted room block.

Parameters:
requestedOversellPercentage -