|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo
public static class HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo
Provides detailed information regarding weather. 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" type="ns:WeatherInfoType" name="WeatherInfo" maxOccurs="unbounded"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="WeatherInfoType"> <xs:sequence> <xs:element name="Precipitation" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class Precipitation --> </xs:element> <xs:element name="Temperature" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class Temperature --> </xs:element> </xs:sequence> <xs:attribute type="xs:string" use="optional" name="Period"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation
Provides average precipitation and the unit in which it is measured for a Period. |
static class |
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature
Provides average temperatures and the unit in which they are measured for a Period. |
Constructor Summary | |
---|---|
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo()
|
Method Summary | |
---|---|
void |
addPrecipitation(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation item)
Add a 'Precipitation' element item. |
void |
addTemperature(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature item)
Add a 'Temperature' element item. |
void |
clearPrecipitations()
Remove all 'Precipitation' element items. |
void |
clearTemperatures()
Remove all 'Temperature' element items. |
java.lang.String |
getPeriod()
Get the 'Period' attribute value. |
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation |
getPrecipitation(int index)
Get 'Precipitation' element item by position. |
java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation> |
getPrecipitations()
Get the list of 'Precipitation' element items. |
HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature |
getTemperature(int index)
Get 'Temperature' element item by position. |
java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature> |
getTemperatures()
Get the list of 'Temperature' element items. |
void |
setPeriod(java.lang.String period)
Set the 'Period' attribute value. |
void |
setPrecipitations(java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation> list)
Set the list of 'Precipitation' element items. |
void |
setTemperatures(java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature> list)
Set the list of 'Temperature' element items. |
int |
sizePrecipitations()
Get the number of 'Precipitation' element items. |
int |
sizeTemperatures()
Get the number of 'Temperature' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo()
Method Detail |
---|
public java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation> getPrecipitations()
public void setPrecipitations(java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation> list)
list
- public int sizePrecipitations()
public void addPrecipitation(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation item)
item
- public HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Precipitation getPrecipitation(int index)
index
-
public void clearPrecipitations()
public java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature> getTemperatures()
public void setTemperatures(java.util.List<HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature> list)
list
- public int sizeTemperatures()
public void addTemperature(HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature item)
item
- public HotelDescriptiveContent.HotelInfo.WeatherInfos.WeatherInfo.Temperature getTemperature(int index)
index
-
public void clearTemperatures()
public java.lang.String getPeriod()
public void setPeriod(java.lang.String period)
period
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |