org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.Services

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

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

Collection of hotel services and/or amenities available to the guest. 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="Services" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Service" maxOccurs="unbounded">
         <!-- Reference to inner class Service -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.HotelInfo.Services.Service
          A hotel service or amenity available to the guest such as a business center, concierge, valet parking, massage, newspapers, etc.
 
Constructor Summary
HotelDescriptiveContent.HotelInfo.Services()
           
 
Method Summary
 void addService(HotelDescriptiveContent.HotelInfo.Services.Service item)
          Add a 'Service' element item.
 void clearServices()
          Remove all 'Service' element items.
 HotelDescriptiveContent.HotelInfo.Services.Service getService(int index)
          Get 'Service' element item by position.
 java.util.List<HotelDescriptiveContent.HotelInfo.Services.Service> getServices()
          Get the list of 'Service' element items.
 void setServices(java.util.List<HotelDescriptiveContent.HotelInfo.Services.Service> list)
          Set the list of 'Service' element items.
 int sizeServices()
          Get the number of 'Service' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.Services

public HotelDescriptiveContent.HotelInfo.Services()
Method Detail

getServices

public java.util.List<HotelDescriptiveContent.HotelInfo.Services.Service> getServices()
Get the list of 'Service' element items.

Returns:
list

setServices

public void setServices(java.util.List<HotelDescriptiveContent.HotelInfo.Services.Service> list)
Set the list of 'Service' element items.

Parameters:
list -

sizeServices

public int sizeServices()
Get the number of 'Service' element items.

Returns:
count

addService

public void addService(HotelDescriptiveContent.HotelInfo.Services.Service item)
Add a 'Service' element item.

Parameters:
item -

getService

public HotelDescriptiveContent.HotelInfo.Services.Service getService(int index)
Get 'Service' element item by position.

Parameters:
index -
Returns:
item

clearServices

public void clearServices()
Remove all 'Service' element items.