org.ota.hotel
Class HotelDescriptiveContent.AffiliationInfo.PartnerInfos

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

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

Collection of PartnerInfo. 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="PartnerInfos" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="PartnerInfo" maxOccurs="99">
         <!-- Reference to inner class PartnerInfo -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo
          Provides information on marketing and service partnerships (e.g., a theme park that offers discounts if you book this hotel).
 
Constructor Summary
HotelDescriptiveContent.AffiliationInfo.PartnerInfos()
           
 
Method Summary
 void addPartnerInfo(HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo item)
          Add a 'PartnerInfo' element item.
 void clearPartnerInfos()
          Remove all 'PartnerInfo' element items.
 HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo getPartnerInfo(int index)
          Get 'PartnerInfo' element item by position.
 java.util.List<HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo> getPartnerInfos()
          Get the list of 'PartnerInfo' element items.
 void setPartnerInfos(java.util.List<HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo> list)
          Set the list of 'PartnerInfo' element items.
 int sizePartnerInfos()
          Get the number of 'PartnerInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.AffiliationInfo.PartnerInfos

public HotelDescriptiveContent.AffiliationInfo.PartnerInfos()
Method Detail

getPartnerInfos

public java.util.List<HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo> getPartnerInfos()
Get the list of 'PartnerInfo' element items.

Returns:
list

setPartnerInfos

public void setPartnerInfos(java.util.List<HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo> list)
Set the list of 'PartnerInfo' element items.

Parameters:
list -

sizePartnerInfos

public int sizePartnerInfos()
Get the number of 'PartnerInfo' element items.

Returns:
count

addPartnerInfo

public void addPartnerInfo(HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo item)
Add a 'PartnerInfo' element item.

Parameters:
item -

getPartnerInfo

public HotelDescriptiveContent.AffiliationInfo.PartnerInfos.PartnerInfo getPartnerInfo(int index)
Get 'PartnerInfo' element item by position.

Parameters:
index -
Returns:
item

clearPartnerInfos

public void clearPartnerInfos()
Remove all 'PartnerInfo' element items.