org.ota.hotel
Class Event.EventInner.Sites.Site.RoomBlock

java.lang.Object
  extended by org.ota.hotel.Event.EventInner.Sites.Site.RoomBlock
Enclosing class:
Event.EventInner.Sites.Site

public static class Event.EventInner.Sites.Site.RoomBlock
extends java.lang.Object

Information pertaining to room requirements 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" minOccurs="0" 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: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:attribute type="xs:string" use="optional" name="HousingProviderName"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Event.EventInner.Sites.Site.RoomBlock.ReservationMethod
          Information regarding the reservation method.
static class Event.EventInner.Sites.Site.RoomBlock.StayDays
          A collection of stay days.
 
Constructor Summary
Event.EventInner.Sites.Site.RoomBlock()
           
 
Method Summary
 void addReservationMethod(Event.EventInner.Sites.Site.RoomBlock.ReservationMethod item)
          Add a 'ReservationMethod' element item.
 void clearReservationMethods()
          Remove all 'ReservationMethod' element items.
 java.lang.Boolean getConcessionsIndicator()
          Get the 'ConcessionsIndicator' attribute value.
 java.lang.String getHousingProviderName()
          Get the 'HousingProviderName' attribute value.
 java.lang.Integer getPeakRoomNightQuantity()
          Get the 'PeakRoomNightQuantity' attribute value.
 Event.EventInner.Sites.Site.RoomBlock.ReservationMethod getReservationMethod(int index)
          Get 'ReservationMethod' element item by position.
 java.util.List<Event.EventInner.Sites.Site.RoomBlock.ReservationMethod> getReservationMethods()
          Get the list of 'ReservationMethod' element items.
 Event.EventInner.Sites.Site.RoomBlock.StayDays getStayDays()
          Get the 'StayDays' element value.
 java.lang.Integer getTotalRoomNightQuantity()
          Get the 'TotalRoomNightQuantity' attribute value.
 void setConcessionsIndicator(java.lang.Boolean concessionsIndicator)
          Set the 'ConcessionsIndicator' attribute value.
 void setHousingProviderName(java.lang.String housingProviderName)
          Set the 'HousingProviderName' attribute value.
 void setPeakRoomNightQuantity(java.lang.Integer peakRoomNightQuantity)
          Set the 'PeakRoomNightQuantity' attribute value.
 void setReservationMethods(java.util.List<Event.EventInner.Sites.Site.RoomBlock.ReservationMethod> list)
          Set the list of 'ReservationMethod' element items.
 void setStayDays(Event.EventInner.Sites.Site.RoomBlock.StayDays stayDays)
          Set the 'StayDays' element value.
 void setTotalRoomNightQuantity(java.lang.Integer totalRoomNightQuantity)
          Set the 'TotalRoomNightQuantity' attribute value.
 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

Event.EventInner.Sites.Site.RoomBlock

public Event.EventInner.Sites.Site.RoomBlock()
Method Detail

getReservationMethods

public java.util.List<Event.EventInner.Sites.Site.RoomBlock.ReservationMethod> getReservationMethods()
Get the list of 'ReservationMethod' element items.

Returns:
list

setReservationMethods

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

Parameters:
item -

getReservationMethod

public Event.EventInner.Sites.Site.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 Event.EventInner.Sites.Site.RoomBlock.StayDays getStayDays()
Get the 'StayDays' element value.

Returns:
value

setStayDays

public void setStayDays(Event.EventInner.Sites.Site.RoomBlock.StayDays stayDays)
Set the 'StayDays' element value.

Parameters:
stayDays -

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 -

getConcessionsIndicator

public java.lang.Boolean getConcessionsIndicator()
Get the 'ConcessionsIndicator' attribute value. When true, indicates that a rebate, assessment or commission exists. When false, rebates, assessments or commissions do not exist.

Returns:
value

setConcessionsIndicator

public void setConcessionsIndicator(java.lang.Boolean concessionsIndicator)
Set the 'ConcessionsIndicator' attribute value. When true, indicates that a rebate, assessment or commission exists. When false, rebates, assessments or commissions do not exist.

Parameters:
concessionsIndicator -

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 -