org.ota.hotel
Class EventReport.GeneralEventInfo.HousingInfo

java.lang.Object
  extended by org.ota.hotel.EventReport.GeneralEventInfo.HousingInfo
Enclosing class:
EventReport.GeneralEventInfo

public static class EventReport.GeneralEventInfo.HousingInfo
extends java.lang.Object

General hotel usage information. 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="HousingInfo" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Comments" minOccurs="0">
         <!-- Reference to inner class Comments -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="SleepingRoomsIndicator"/>
     <xs:attribute type="xs:int" use="optional" name="HotelQuantity"/>
     <xs:attribute type="xs:int" use="optional" name="PeakRoomNightQuantity"/>
     <xs:attribute type="xs:string" use="optional" name="HousingProviderCode"/>
     <xs:attribute type="xs:string" use="optional" name="HousingProviderName"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.GeneralEventInfo.HousingInfo.Comments
          A collection of comments regarding the general hotel usage.
 
Constructor Summary
EventReport.GeneralEventInfo.HousingInfo()
           
 
Method Summary
 EventReport.GeneralEventInfo.HousingInfo.Comments getComments()
          Get the 'Comments' element value.
 java.lang.Integer getHotelQuantity()
          Get the 'HotelQuantity' attribute value.
 java.lang.String getHousingProviderCode()
          Get the 'HousingProviderCode' attribute value.
 java.lang.String getHousingProviderName()
          Get the 'HousingProviderName' attribute value.
 java.lang.Integer getPeakRoomNightQuantity()
          Get the 'PeakRoomNightQuantity' attribute value.
 java.lang.Boolean getSleepingRoomsIndicator()
          Get the 'SleepingRoomsIndicator' attribute value.
 void setComments(EventReport.GeneralEventInfo.HousingInfo.Comments comments)
          Set the 'Comments' element value.
 void setHotelQuantity(java.lang.Integer hotelQuantity)
          Set the 'HotelQuantity' attribute value.
 void setHousingProviderCode(java.lang.String housingProviderCode)
          Set the 'HousingProviderCode' 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 setSleepingRoomsIndicator(java.lang.Boolean sleepingRoomsIndicator)
          Set the 'SleepingRoomsIndicator' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventReport.GeneralEventInfo.HousingInfo

public EventReport.GeneralEventInfo.HousingInfo()
Method Detail

getComments

public EventReport.GeneralEventInfo.HousingInfo.Comments getComments()
Get the 'Comments' element value.

Returns:
value

setComments

public void setComments(EventReport.GeneralEventInfo.HousingInfo.Comments comments)
Set the 'Comments' element value.

Parameters:
comments -

getSleepingRoomsIndicator

public java.lang.Boolean getSleepingRoomsIndicator()
Get the 'SleepingRoomsIndicator' attribute value. When true, indicates the event utilized sleeping rooms.

Returns:
value

setSleepingRoomsIndicator

public void setSleepingRoomsIndicator(java.lang.Boolean sleepingRoomsIndicator)
Set the 'SleepingRoomsIndicator' attribute value. When true, indicates the event utilized sleeping rooms.

Parameters:
sleepingRoomsIndicator -

getHotelQuantity

public java.lang.Integer getHotelQuantity()
Get the 'HotelQuantity' attribute value. Specifies the total number of hotels utilized by the event.

Returns:
value

setHotelQuantity

public void setHotelQuantity(java.lang.Integer hotelQuantity)
Set the 'HotelQuantity' attribute value. Specifies the total number of hotels utilized by the event.

Parameters:
hotelQuantity -

getPeakRoomNightQuantity

public java.lang.Integer getPeakRoomNightQuantity()
Get the 'PeakRoomNightQuantity' attribute value. Specifies the total number of sleeping rooms utilized on the peak night across all hotels.

Returns:
value

setPeakRoomNightQuantity

public void setPeakRoomNightQuantity(java.lang.Integer peakRoomNightQuantity)
Set the 'PeakRoomNightQuantity' attribute value. Specifies the total number of sleeping rooms utilized on the peak night across all hotels.

Parameters:
peakRoomNightQuantity -

getHousingProviderCode

public java.lang.String getHousingProviderCode()
Get the 'HousingProviderCode' attribute value. The type of housing service provider used for this event. Refer to OpenTravel Code list Destination Service Provider Type (DSP).

Returns:
value

setHousingProviderCode

public void setHousingProviderCode(java.lang.String housingProviderCode)
Set the 'HousingProviderCode' attribute value. The type of housing service provider used for this event. Refer to OpenTravel Code list Destination Service Provider Type (DSP).

Parameters:
housingProviderCode -

getHousingProviderName

public java.lang.String getHousingProviderName()
Get the 'HousingProviderName' attribute value. Name of the housing service provider used for this event.

Returns:
value

setHousingProviderName

public void setHousingProviderName(java.lang.String housingProviderName)
Set the 'HousingProviderName' attribute value. Name of the housing service provider used for this event.

Parameters:
housingProviderName -