org.ota.hotel
Class HotelDescriptiveContent.AreaInfo.OtherHotels

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.AreaInfo.OtherHotels
Enclosing class:
HotelDescriptiveContent.AreaInfo

public static class HotelDescriptiveContent.AreaInfo.OtherHotels
extends java.lang.Object

Collection of other area hotels. 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="OtherHotels" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="OtherHotel" maxOccurs="99">
         <!-- Reference to inner class OtherHotel -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:dateTime" use="optional" name="LastUpdated"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel
          Provides information on other area hotels.
 
Constructor Summary
HotelDescriptiveContent.AreaInfo.OtherHotels()
           
 
Method Summary
 void addOtherHotel(HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel item)
          Add a 'OtherHotel' element item.
 void clearOtherHotels()
          Remove all 'OtherHotel' element items.
 java.util.Date getLastUpdated()
          Get the 'LastUpdated' attribute value.
 HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel getOtherHotel(int index)
          Get 'OtherHotel' element item by position.
 java.util.List<HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel> getOtherHotels()
          Get the list of 'OtherHotel' element items.
 void setLastUpdated(java.util.Date lastUpdated)
          Set the 'LastUpdated' attribute value.
 void setOtherHotels(java.util.List<HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel> list)
          Set the list of 'OtherHotel' element items.
 int sizeOtherHotels()
          Get the number of 'OtherHotel' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.AreaInfo.OtherHotels

public HotelDescriptiveContent.AreaInfo.OtherHotels()
Method Detail

getOtherHotels

public java.util.List<HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel> getOtherHotels()
Get the list of 'OtherHotel' element items.

Returns:
list

setOtherHotels

public void setOtherHotels(java.util.List<HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel> list)
Set the list of 'OtherHotel' element items.

Parameters:
list -

sizeOtherHotels

public int sizeOtherHotels()
Get the number of 'OtherHotel' element items.

Returns:
count

addOtherHotel

public void addOtherHotel(HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel item)
Add a 'OtherHotel' element item.

Parameters:
item -

getOtherHotel

public HotelDescriptiveContent.AreaInfo.OtherHotels.OtherHotel getOtherHotel(int index)
Get 'OtherHotel' element item by position.

Parameters:
index -
Returns:
item

clearOtherHotels

public void clearOtherHotels()
Remove all 'OtherHotel' element items.


getLastUpdated

public java.util.Date getLastUpdated()
Get the 'LastUpdated' attribute value. The date and time when OtherHotels was last updated.

Returns:
value

setLastUpdated

public void setLastUpdated(java.util.Date lastUpdated)
Set the 'LastUpdated' attribute value. The date and time when OtherHotels was last updated.

Parameters:
lastUpdated -