org.ota.hotel
Class HotelDescriptiveContent.AffiliationInfo.Awards

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.AffiliationInfo.Awards
Enclosing class:
HotelDescriptiveContent.AffiliationInfo

public static class HotelDescriptiveContent.AffiliationInfo.Awards
extends java.lang.Object

A collection of Award elements. 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="Awards" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Award" maxOccurs="unbounded">
         <!-- Reference to inner class Award -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.AffiliationInfo.Awards.Award
          Provides detailed information regarding each award for this hotel.
 
Constructor Summary
HotelDescriptiveContent.AffiliationInfo.Awards()
           
 
Method Summary
 void addAward(HotelDescriptiveContent.AffiliationInfo.Awards.Award item)
          Add a 'Award' element item.
 void clearAwards()
          Remove all 'Award' element items.
 HotelDescriptiveContent.AffiliationInfo.Awards.Award getAward(int index)
          Get 'Award' element item by position.
 java.util.List<HotelDescriptiveContent.AffiliationInfo.Awards.Award> getAwards()
          Get the list of 'Award' element items.
 void setAwards(java.util.List<HotelDescriptiveContent.AffiliationInfo.Awards.Award> list)
          Set the list of 'Award' element items.
 int sizeAwards()
          Get the number of 'Award' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.AffiliationInfo.Awards

public HotelDescriptiveContent.AffiliationInfo.Awards()
Method Detail

getAwards

public java.util.List<HotelDescriptiveContent.AffiliationInfo.Awards.Award> getAwards()
Get the list of 'Award' element items.

Returns:
list

setAwards

public void setAwards(java.util.List<HotelDescriptiveContent.AffiliationInfo.Awards.Award> list)
Set the list of 'Award' element items.

Parameters:
list -

sizeAwards

public int sizeAwards()
Get the number of 'Award' element items.

Returns:
count

addAward

public void addAward(HotelDescriptiveContent.AffiliationInfo.Awards.Award item)
Add a 'Award' element item.

Parameters:
item -

getAward

public HotelDescriptiveContent.AffiliationInfo.Awards.Award getAward(int index)
Get 'Award' element item by position.

Parameters:
index -
Returns:
item

clearAwards

public void clearAwards()
Remove all 'Award' element items.