org.ota.hotel
Class HotelSummaryMessages.HotelSummaryMessage

java.lang.Object
  extended by org.ota.hotel.HotelSummaryMessages.HotelSummaryMessage
Enclosing class:
HotelSummaryMessages

public static class HotelSummaryMessages.HotelSummaryMessage
extends java.lang.Object

The HotelSummaryMessage is the message that is used to provide a notification of the general status of availability of the hotel, and its minimum and maximum rates. 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="HotelSummaryMessage" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="RateMin" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="RateMax" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
     <xs:attributeGroup ref="ns:DOW_PatternGroup"/>
     <xs:attribute use="optional" name="StatusType">
       <xs:simpleType>
         <!-- Reference to inner class Status -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:boolean" use="optional" name="ArrivalsOnlyFlag"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelSummaryMessages.HotelSummaryMessage.Status
          Schema fragment(s) for this class:
 
Constructor Summary
HotelSummaryMessages.HotelSummaryMessage()
           
 
Method Summary
 java.lang.Boolean getArrivalsOnlyFlag()
          Get the 'ArrivalsOnlyFlag' attribute value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 DOWPatternGroup getDOWPatternGroup()
          Get the 'DOW_PatternGroup' attributeGroup value.
 CurrencyAmountGroup getRateMax()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 CurrencyAmountGroup getRateMin()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 HotelSummaryMessages.HotelSummaryMessage.Status getStatus()
          Get the 'StatusType' attribute value.
 void setArrivalsOnlyFlag(java.lang.Boolean arrivalsOnlyFlag)
          Set the 'ArrivalsOnlyFlag' attribute value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
          Set the 'DOW_PatternGroup' attributeGroup value.
 void setRateMax(CurrencyAmountGroup rateMax)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setRateMin(CurrencyAmountGroup rateMin)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setStatus(HotelSummaryMessages.HotelSummaryMessage.Status status)
          Set the 'StatusType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelSummaryMessages.HotelSummaryMessage

public HotelSummaryMessages.HotelSummaryMessage()
Method Detail

getRateMin

public CurrencyAmountGroup getRateMin()
Get the 'CurrencyAmountGroup' attributeGroup value. The minimum rate that may be available at the hotel.

Returns:
value

setRateMin

public void setRateMin(CurrencyAmountGroup rateMin)
Set the 'CurrencyAmountGroup' attributeGroup value. The minimum rate that may be available at the hotel.

Parameters:
rateMin -

getRateMax

public CurrencyAmountGroup getRateMax()
Get the 'CurrencyAmountGroup' attributeGroup value. The maximum rate that may be available at the hotel.

Returns:
value

setRateMax

public void setRateMax(CurrencyAmountGroup rateMax)
Set the 'CurrencyAmountGroup' attributeGroup value. The maximum rate that may be available at the hotel.

Parameters:
rateMax -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value.

Parameters:
dateTimeSpanGroup -

getDOWPatternGroup

public DOWPatternGroup getDOWPatternGroup()
Get the 'DOW_PatternGroup' attributeGroup value.

Returns:
value

setDOWPatternGroup

public void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
Set the 'DOW_PatternGroup' attributeGroup value.

Parameters:
DOWPatternGroup -

getStatus

public HotelSummaryMessages.HotelSummaryMessage.Status getStatus()
Get the 'StatusType' attribute value. Descibes the status of the inventory (Closed, Open or On Request).

Returns:
value

setStatus

public void setStatus(HotelSummaryMessages.HotelSummaryMessage.Status status)
Set the 'StatusType' attribute value. Descibes the status of the inventory (Closed, Open or On Request).

Parameters:
status -

getArrivalsOnlyFlag

public java.lang.Boolean getArrivalsOnlyFlag()
Get the 'ArrivalsOnlyFlag' attribute value. Used in conjuction with the "closed" enumeration of the StatusType attribute to indicate "Closed to arrival" state. The StatusType should be "Closed" and the boolean should be set to true to indicate the closed to arrival condition.

Returns:
value

setArrivalsOnlyFlag

public void setArrivalsOnlyFlag(java.lang.Boolean arrivalsOnlyFlag)
Set the 'ArrivalsOnlyFlag' attribute value. Used in conjuction with the "closed" enumeration of the StatusType attribute to indicate "Closed to arrival" state. The StatusType should be "Closed" and the boolean should be set to true to indicate the closed to arrival condition.

Parameters:
arrivalsOnlyFlag -