org.ota.hotel
Class HotelDescriptiveContent.GDSInfo.GDSCodes

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.GDSInfo.GDSCodes
Enclosing class:
HotelDescriptiveContent.GDSInfo

public static class HotelDescriptiveContent.GDSInfo.GDSCodes
extends java.lang.Object

The element acts as a container for GDS_Code. It is used to send item for each GDS. 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="GDS_Codes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="GDS_Code" minOccurs="0" maxOccurs="unbounded">
         <!-- Reference to inner class GDSCode -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="LoadGDSIndicator"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode
          Provides detailed information regarding the specified GDS.
 
Constructor Summary
HotelDescriptiveContent.GDSInfo.GDSCodes()
           
 
Method Summary
 void addGDSCode(HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode item)
          Add a 'GDS_Code' element item.
 void clearGDSCodes()
          Remove all 'GDS_Code' element items.
 HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode getGDSCode(int index)
          Get 'GDS_Code' element item by position.
 java.util.List<HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode> getGDSCodes()
          Get the list of 'GDS_Code' element items.
 java.lang.Boolean getLoadGDSIndicator()
          Get the 'LoadGDSIndicator' attribute value.
 void setGDSCodes(java.util.List<HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode> list)
          Set the list of 'GDS_Code' element items.
 void setLoadGDSIndicator(java.lang.Boolean loadGDSIndicator)
          Set the 'LoadGDSIndicator' attribute value.
 int sizeGDSCodes()
          Get the number of 'GDS_Code' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.GDSInfo.GDSCodes

public HotelDescriptiveContent.GDSInfo.GDSCodes()
Method Detail

getGDSCodes

public java.util.List<HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode> getGDSCodes()
Get the list of 'GDS_Code' element items.

Returns:
list

setGDSCodes

public void setGDSCodes(java.util.List<HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode> list)
Set the list of 'GDS_Code' element items.

Parameters:
list -

sizeGDSCodes

public int sizeGDSCodes()
Get the number of 'GDS_Code' element items.

Returns:
count

addGDSCode

public void addGDSCode(HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode item)
Add a 'GDS_Code' element item.

Parameters:
item -

getGDSCode

public HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode getGDSCode(int index)
Get 'GDS_Code' element item by position.

Parameters:
index -
Returns:
item

clearGDSCodes

public void clearGDSCodes()
Remove all 'GDS_Code' element items.


getLoadGDSIndicator

public java.lang.Boolean getLoadGDSIndicator()
Get the 'LoadGDSIndicator' attribute value. When true, this indicates rates will be loaded to specified GDSs. This attribute is also under GDS_Code to associate the rate load for an individual GDS. (This may also be used to idicate the willingness to upload rates to GDSs even if not specified in the request message.)

Returns:
value

setLoadGDSIndicator

public void setLoadGDSIndicator(java.lang.Boolean loadGDSIndicator)
Set the 'LoadGDSIndicator' attribute value. When true, this indicates rates will be loaded to specified GDSs. This attribute is also under GDS_Code to associate the rate load for an individual GDS. (This may also be used to idicate the willingness to upload rates to GDSs even if not specified in the request message.)

Parameters:
loadGDSIndicator -