org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo
Enclosing class:
HotelDescriptiveContent.HotelInfo.CategoryCodes

public static class HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo
extends java.lang.Object

The types and quantities of guest rooms at a hotel. 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="GuestRoomInfo" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RateRanges" minOccurs="0">
         <!-- Reference to inner class RateRanges -->
       </xs:element>
       <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
       <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:int" use="optional" name="Quantity"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges
          A collection of rate range information.
 
Constructor Summary
HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges getRateRanges()
          Get the 'RateRanges' element value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setRateRanges(HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges rateRanges)
          Set the 'RateRanges' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo

public HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo()
Method Detail

getRateRanges

public HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges getRateRanges()
Get the 'RateRanges' element value.

Returns:
value

setRateRanges

public void setRateRanges(HotelDescriptiveContent.HotelInfo.CategoryCodes.GuestRoomInfo.RateRanges rateRanges)
Set the 'RateRanges' element value.

Parameters:
rateRanges -

getMultimediaDescriptions

public MultimediaDescriptions getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value. Multimedia information about the guest room.

Returns:
value

setMultimediaDescriptions

public void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value. Multimedia information about the guest room.

Parameters:
multimediaDescriptions -

getDescriptiveText

public java.lang.String getDescriptiveText()
Get the 'DescriptiveText' element value. Descriptive text that describes the guest room.

Returns:
value

setDescriptiveText

public void setDescriptiveText(java.lang.String descriptiveText)
Set the 'DescriptiveText' element value. Descriptive text that describes the guest room.

Parameters:
descriptiveText -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Guest Room Info (GRI).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Guest Room Info (GRI).

Parameters:
code -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code (e.g. if the code refers to the number of free standing units, information about the free standing units may be passed such as cabins, cottages, etc.) or to remove an obsolete item.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code (e.g. if the code refers to the number of free standing units, information about the free standing units may be passed such as cabins, cottages, etc.) or to remove an obsolete item.

Parameters:
codeInfoGroup -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value.

Parameters:
quantity -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the Code applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the Code applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Parameters:
existsCode -