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

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

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

Provides average precipitation and the unit in which it is 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="Precipitation" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:attribute type="xs:float" use="optional" name="AveragePrecipitation"/>
     <xs:attribute type="xs:string" use="optional" name="UnitOfMeasure"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation()
           
 
Method Summary
 java.lang.Float getAveragePrecipitation()
          Get the 'AveragePrecipitation' attribute value.
 java.lang.String getUnitOfMeasure()
          Get the 'UnitOfMeasure' attribute value.
 void setAveragePrecipitation(java.lang.Float averagePrecipitation)
          Set the 'AveragePrecipitation' attribute value.
 void setUnitOfMeasure(java.lang.String unitOfMeasure)
          Set the 'UnitOfMeasure' 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.Precipitation

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

getAveragePrecipitation

public java.lang.Float getAveragePrecipitation()
Get the 'AveragePrecipitation' attribute value. Defines the average precipitation for the time as designated in Period and is qualified by the UnitOfMeasure.

Returns:
value

setAveragePrecipitation

public void setAveragePrecipitation(java.lang.Float averagePrecipitation)
Set the 'AveragePrecipitation' attribute value. Defines the average precipitation for the time as designated in Period and is qualified by the UnitOfMeasure.

Parameters:
averagePrecipitation -

getUnitOfMeasure

public java.lang.String getUnitOfMeasure()
Get the 'UnitOfMeasure' attribute value. This is the unit of measure as it applies to AveragePercipitation (e.g.inches or centimeters).

Returns:
value

setUnitOfMeasure

public void setUnitOfMeasure(java.lang.String unitOfMeasure)
Set the 'UnitOfMeasure' attribute value. This is the unit of measure as it applies to AveragePercipitation (e.g.inches or centimeters).

Parameters:
unitOfMeasure -