org.ota.hotel
Class RFPMeetingRQ.RFPRequestSegment.RoomBlock

java.lang.Object
  extended by org.ota.hotel.RFPMeetingRQ.RFPRequestSegment.RoomBlock
Enclosing class:
RFPMeetingRQ.RFPRequestSegment

public static class RFPMeetingRQ.RFPRequestSegment.RoomBlock
extends java.lang.Object

This is information pertaining to room requirements for this request. 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" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="BudgetedRoomRate" minOccurs="0" maxOccurs="5">
         <!-- Reference to inner class BudgetedRoomRate -->
       </xs:element>
       <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 type="ns:ParagraphType" name="Comments" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:int" use="optional" name="TotalRoomNightQuantity"/>
     <xs:attribute type="xs:int" use="optional" name="PeakRoomNightQuantity"/>
     <xs:attribute type="xs:boolean" use="optional" name="ConcessionsIndicator"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate
          A general indication of the planner's budget for individual room nights and/or delegate rates.
static class RFPMeetingRQ.RFPRequestSegment.RoomBlock.ReservationMethod
          Contains information regarding the reservation method.
static class RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays
          A collection of multiple StayDays.
 
Constructor Summary
RFPMeetingRQ.RFPRequestSegment.RoomBlock()
           
 
Method Summary
 void addBudgetedRoomRate(RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate item)
          Add a 'BudgetedRoomRate' element item.
 void addReservationMethod(RFPMeetingRQ.RFPRequestSegment.RoomBlock.ReservationMethod item)
          Add a 'ReservationMethod' element item.
 void clearBudgetedRoomRates()
          Remove all 'BudgetedRoomRate' element items.
 void clearReservationMethods()
          Remove all 'ReservationMethod' element items.
 RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate getBudgetedRoomRate(int index)
          Get 'BudgetedRoomRate' element item by position.
 java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate> getBudgetedRoomRates()
          Get the list of 'BudgetedRoomRate' element items.
 Paragraph getComments()
          Get the 'Comments' element value.
 java.lang.Boolean getConcessionsIndicator()
          Get the 'ConcessionsIndicator' attribute value.
 java.lang.Integer getPeakRoomNightQuantity()
          Get the 'PeakRoomNightQuantity' attribute value.
 RFPMeetingRQ.RFPRequestSegment.RoomBlock.ReservationMethod getReservationMethod(int index)
          Get 'ReservationMethod' element item by position.
 java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.ReservationMethod> getReservationMethods()
          Get the list of 'ReservationMethod' element items.
 RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays getStayDays()
          Get the 'StayDays' element value.
 java.lang.Integer getTotalRoomNightQuantity()
          Get the 'TotalRoomNightQuantity' attribute value.
 void setBudgetedRoomRates(java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate> list)
          Set the list of 'BudgetedRoomRate' element items.
 void setComments(Paragraph comments)
          Set the 'Comments' element value.
 void setConcessionsIndicator(java.lang.Boolean concessionsIndicator)
          Set the 'ConcessionsIndicator' attribute value.
 void setPeakRoomNightQuantity(java.lang.Integer peakRoomNightQuantity)
          Set the 'PeakRoomNightQuantity' attribute value.
 void setReservationMethods(java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.ReservationMethod> list)
          Set the list of 'ReservationMethod' element items.
 void setStayDays(RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays stayDays)
          Set the 'StayDays' element value.
 void setTotalRoomNightQuantity(java.lang.Integer totalRoomNightQuantity)
          Set the 'TotalRoomNightQuantity' attribute value.
 int sizeBudgetedRoomRates()
          Get the number of 'BudgetedRoomRate' element items.
 int sizeReservationMethods()
          Get the number of 'ReservationMethod' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFPMeetingRQ.RFPRequestSegment.RoomBlock

public RFPMeetingRQ.RFPRequestSegment.RoomBlock()
Method Detail

getBudgetedRoomRates

public java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate> getBudgetedRoomRates()
Get the list of 'BudgetedRoomRate' element items.

Returns:
list

setBudgetedRoomRates

public void setBudgetedRoomRates(java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate> list)
Set the list of 'BudgetedRoomRate' element items.

Parameters:
list -

sizeBudgetedRoomRates

public int sizeBudgetedRoomRates()
Get the number of 'BudgetedRoomRate' element items.

Returns:
count

addBudgetedRoomRate

public void addBudgetedRoomRate(RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate item)
Add a 'BudgetedRoomRate' element item.

Parameters:
item -

getBudgetedRoomRate

public RFPMeetingRQ.RFPRequestSegment.RoomBlock.BudgetedRoomRate getBudgetedRoomRate(int index)
Get 'BudgetedRoomRate' element item by position.

Parameters:
index -
Returns:
item

clearBudgetedRoomRates

public void clearBudgetedRoomRates()
Remove all 'BudgetedRoomRate' element items.


getReservationMethods

public java.util.List<RFPMeetingRQ.RFPRequestSegment.RoomBlock.ReservationMethod> getReservationMethods()
Get the list of 'ReservationMethod' element items.

Returns:
list

setReservationMethods

public void setReservationMethods(java.util.List<RFPMeetingRQ.RFPRequestSegment.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(RFPMeetingRQ.RFPRequestSegment.RoomBlock.ReservationMethod item)
Add a 'ReservationMethod' element item.

Parameters:
item -

getReservationMethod

public RFPMeetingRQ.RFPRequestSegment.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 RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays getStayDays()
Get the 'StayDays' element value.

Returns:
value

setStayDays

public void setStayDays(RFPMeetingRQ.RFPRequestSegment.RoomBlock.StayDays stayDays)
Set the 'StayDays' element value.

Parameters:
stayDays -

getComments

public Paragraph getComments()
Get the 'Comments' element value. An open field to comment on the room block.

Returns:
value

setComments

public void setComments(Paragraph comments)
Set the 'Comments' element value. An open field to comment on the room block.

Parameters:
comments -

getTotalRoomNightQuantity

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

Returns:
value

setTotalRoomNightQuantity

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

Parameters:
totalRoomNightQuantity -

getPeakRoomNightQuantity

public java.lang.Integer getPeakRoomNightQuantity()
Get the 'PeakRoomNightQuantity' attribute value. Total number of rooms needed on the peak night. APEX add. Sandy to look for potential reuse.

Returns:
value

setPeakRoomNightQuantity

public void setPeakRoomNightQuantity(java.lang.Integer peakRoomNightQuantity)
Set the 'PeakRoomNightQuantity' attribute value. Total number of rooms needed on the peak night. APEX add. Sandy to look for potential reuse.

Parameters:
peakRoomNightQuantity -

getConcessionsIndicator

public java.lang.Boolean getConcessionsIndicator()
Get the 'ConcessionsIndicator' attribute value. If true, used to indicate a rebate, assessment or commision exists. If false, rebates, assessments or commissions do not exist for this RFP.

Returns:
value

setConcessionsIndicator

public void setConcessionsIndicator(java.lang.Boolean concessionsIndicator)
Set the 'ConcessionsIndicator' attribute value. If true, used to indicate a rebate, assessment or commision exists. If false, rebates, assessments or commissions do not exist for this RFP.

Parameters:
concessionsIndicator -