org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.ClosedSeasons

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

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

A collection of date and time periods when the hotel facility is closed. 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="ClosedSeasons" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:DateTimeSpanType" name="ClosedSeason" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelDescriptiveContent.HotelInfo.ClosedSeasons()
           
 
Method Summary
 void addClosedSeason(DateTimeSpan item)
          Add a 'ClosedSeason' element item.
 void clearClosedSeasons()
          Remove all 'ClosedSeason' element items.
 DateTimeSpan getClosedSeason(int index)
          Get 'ClosedSeason' element item by position.
 java.util.List<DateTimeSpan> getClosedSeasons()
          Get the list of 'ClosedSeason' element items.
 void setClosedSeasons(java.util.List<DateTimeSpan> list)
          Set the list of 'ClosedSeason' element items.
 int sizeClosedSeasons()
          Get the number of 'ClosedSeason' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.ClosedSeasons

public HotelDescriptiveContent.HotelInfo.ClosedSeasons()
Method Detail

getClosedSeasons

public java.util.List<DateTimeSpan> getClosedSeasons()
Get the list of 'ClosedSeason' element items. A date and time period when a hotel facility is closed.

Returns:
list

setClosedSeasons

public void setClosedSeasons(java.util.List<DateTimeSpan> list)
Set the list of 'ClosedSeason' element items. A date and time period when a hotel facility is closed.

Parameters:
list -

sizeClosedSeasons

public int sizeClosedSeasons()
Get the number of 'ClosedSeason' element items.

Returns:
count

addClosedSeason

public void addClosedSeason(DateTimeSpan item)
Add a 'ClosedSeason' element item.

Parameters:
item -

getClosedSeason

public DateTimeSpan getClosedSeason(int index)
Get 'ClosedSeason' element item by position.

Parameters:
index -
Returns:
item

clearClosedSeasons

public void clearClosedSeasons()
Remove all 'ClosedSeason' element items.