org.ota.hotel
Class HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode

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

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

Provides detailed information regarding the specified 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_Code" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="GDS_CodeDetails" minOccurs="0">
         <!-- Reference to inner class GDSCodeDetails -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="ChainCode"/>
     <xs:attribute type="xs:string" use="optional" name="GDS_PropertyCode"/>
     <xs:attribute use="required" name="GDS_Name">
       <xs:simpleType>
         <!-- Reference to inner class GDSName -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:boolean" use="optional" name="LoadGDSIndicator"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSCodeDetails
          Collection of GDS_CodeDetails.
static class HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSName
          Schema fragment(s) for this class:
 
Constructor Summary
HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode()
           
 
Method Summary
 java.lang.String getChainCode()
          Get the 'ChainCode' attribute value.
 HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSCodeDetails getGDSCodeDetails1()
          Get the 'GDS_CodeDetails' element value.
 HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSName getGDSName1()
          Get the 'GDS_Name' attribute value.
 java.lang.String getGDSPropertyCode()
          Get the 'GDS_PropertyCode' attribute value.
 java.lang.Boolean getLoadGDSIndicator()
          Get the 'LoadGDSIndicator' attribute value.
 void setChainCode(java.lang.String chainCode)
          Set the 'ChainCode' attribute value.
 void setGDSCodeDetails1(HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSCodeDetails GDSCodeDetails1)
          Set the 'GDS_CodeDetails' element value.
 void setGDSName1(HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSName GDSName1)
          Set the 'GDS_Name' attribute value.
 void setGDSPropertyCode(java.lang.String GDSPropertyCode)
          Set the 'GDS_PropertyCode' attribute value.
 void setLoadGDSIndicator(java.lang.Boolean loadGDSIndicator)
          Set the 'LoadGDSIndicator' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode

public HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode()
Method Detail

getGDSCodeDetails1

public HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSCodeDetails getGDSCodeDetails1()
Get the 'GDS_CodeDetails' element value.

Returns:
value

setGDSCodeDetails1

public void setGDSCodeDetails1(HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSCodeDetails GDSCodeDetails1)
Set the 'GDS_CodeDetails' element value.

Parameters:
GDSCodeDetails1 -

getChainCode

public java.lang.String getChainCode()
Get the 'ChainCode' attribute value. This is the 2 character GDS Chain Code used to identify a specific chain.

Returns:
value

setChainCode

public void setChainCode(java.lang.String chainCode)
Set the 'ChainCode' attribute value. This is the 2 character GDS Chain Code used to identify a specific chain.

Parameters:
chainCode -

getGDSPropertyCode

public java.lang.String getGDSPropertyCode()
Get the 'GDS_PropertyCode' attribute value. This is the GDS Property Code used to identify a specific hotel.

Returns:
value

setGDSPropertyCode

public void setGDSPropertyCode(java.lang.String GDSPropertyCode)
Set the 'GDS_PropertyCode' attribute value. This is the GDS Property Code used to identify a specific hotel.

Parameters:
GDSPropertyCode -

getGDSName1

public HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSName getGDSName1()
Get the 'GDS_Name' attribute value. Type of GDS for hotel such as Apollo, Amadeus, Sabre, Worldspan etc. Refer to OpenTravel Code List Global Distribution System type (GDS).

Returns:
value

setGDSName1

public void setGDSName1(HotelDescriptiveContent.GDSInfo.GDSCodes.GDSCode.GDSName GDSName1)
Set the 'GDS_Name' attribute value. Type of GDS for hotel such as Apollo, Amadeus, Sabre, Worldspan etc. Refer to OpenTravel Code List Global Distribution System type (GDS).

Parameters:
GDSName1 -

getLoadGDSIndicator

public java.lang.Boolean getLoadGDSIndicator()
Get the 'LoadGDSIndicator' attribute value. This attribute is used in conjunction with the GDS_Name. When true, this indicates rates will be loaded to the GDS specified by the GDS_Name.

Returns:
value

setLoadGDSIndicator

public void setLoadGDSIndicator(java.lang.Boolean loadGDSIndicator)
Set the 'LoadGDSIndicator' attribute value. This attribute is used in conjunction with the GDS_Name. When true, this indicates rates will be loaded to the GDS specified by the GDS_Name.

Parameters:
loadGDSIndicator -