org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature
Enclosing class:
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo

public static class HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature
extends java.lang.Object

Provides average temperatures and the unit in which they are measured for a Period. 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="Temperature" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:attribute type="xs:int" use="optional" name="AverageHighTemp"/>
     <xs:attribute type="xs:int" use="optional" name="AverageLowTemp"/>
     <xs:attribute use="optional" name="TempUnit">
       <xs:simpleType>
         <!-- Reference to inner class TempUnit -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature.TempUnit
          Schema fragment(s) for this class:
 
Constructor Summary
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature()
           
 
Method Summary
 java.lang.Integer getAverageHighTemp()
          Get the 'AverageHighTemp' attribute value.
 java.lang.Integer getAverageLowTemp()
          Get the 'AverageLowTemp' attribute value.
 HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature.TempUnit getTempUnit()
          Get the 'TempUnit' attribute value.
 void setAverageHighTemp(java.lang.Integer averageHighTemp)
          Set the 'AverageHighTemp' attribute value.
 void setAverageLowTemp(java.lang.Integer averageLowTemp)
          Set the 'AverageLowTemp' attribute value.
 void setTempUnit(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature.TempUnit tempUnit)
          Set the 'TempUnit' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature

public HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature()
Method Detail

getAverageHighTemp

public java.lang.Integer getAverageHighTemp()
Get the 'AverageHighTemp' attribute value. Defines the average high tempature for the time as designated in Period and is qualified by the TempUnit.

Returns:
value

setAverageHighTemp

public void setAverageHighTemp(java.lang.Integer averageHighTemp)
Set the 'AverageHighTemp' attribute value. Defines the average high tempature for the time as designated in Period and is qualified by the TempUnit.

Parameters:
averageHighTemp -

getAverageLowTemp

public java.lang.Integer getAverageLowTemp()
Get the 'AverageLowTemp' attribute value. Defines the average low tempature for the time as designated in Period and is qualified by the TempUnit.

Returns:
value

setAverageLowTemp

public void setAverageLowTemp(java.lang.Integer averageLowTemp)
Set the 'AverageLowTemp' attribute value. Defines the average low tempature for the time as designated in Period and is qualified by the TempUnit.

Parameters:
averageLowTemp -

getTempUnit

public HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature.TempUnit getTempUnit()
Get the 'TempUnit' attribute value. Provides the units in which the AverageHighTemp and AverageLowTemp are defined (i.e. Celsius or Fahrenheit).

Returns:
value

setTempUnit

public void setTempUnit(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature.TempUnit tempUnit)
Set the 'TempUnit' attribute value. Provides the units in which the AverageHighTemp and AverageLowTemp are defined (i.e. Celsius or Fahrenheit).

Parameters:
tempUnit -