org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.WeatherInfos

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

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

Collection of WeatherInfo elements. This may be used to provide information for multiple time periods. Schema fragment(s) for this class:

 <xs:element xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="WeatherInfos" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="WeatherInfoType" name="WeatherInfo" maxOccurs="unbounded">
         <!-- Reference to inner class WeatherInfo -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo
          Provides detailed information regarding weather.
 
Constructor Summary
HotelDescriptiveContent.HotelInfo.WeatherInfos()
           
 
Method Summary
 void addWeatherInfo(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo item)
          Add a 'WeatherInfo' element item.
 void clearWeatherInfos()
          Remove all 'WeatherInfo' element items.
 HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo getWeatherInfo(int index)
          Get 'WeatherInfo' element item by position.
 java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo> getWeatherInfos()
          Get the list of 'WeatherInfo' element items.
 void setWeatherInfos(java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo> list)
          Set the list of 'WeatherInfo' element items.
 int sizeWeatherInfos()
          Get the number of 'WeatherInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.WeatherInfos

public HotelDescriptiveContent.HotelInfo.WeatherInfos()
Method Detail

getWeatherInfos

public java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo> getWeatherInfos()
Get the list of 'WeatherInfo' element items.

Returns:
list

setWeatherInfos

public void setWeatherInfos(java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo> list)
Set the list of 'WeatherInfo' element items.

Parameters:
list -

sizeWeatherInfos

public int sizeWeatherInfos()
Get the number of 'WeatherInfo' element items.

Returns:
count

addWeatherInfo

public void addWeatherInfo(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo item)
Add a 'WeatherInfo' element item.

Parameters:
item -

getWeatherInfo

public HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo getWeatherInfo(int index)
Get 'WeatherInfo' element item by position.

Parameters:
index -
Returns:
item

clearWeatherInfos

public void clearWeatherInfos()
Remove all 'WeatherInfo' element items.