org.ota.shared
Class Source.BookingChannel

java.lang.Object
  extended by org.ota.shared.Source.BookingChannel
Enclosing class:
Source

public static class Source.BookingChannel
extends java.lang.Object

Specifies the booking channel type and whether it is the primary means of connectivity of the source. 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="BookingChannel" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:CompanyNameType" name="CompanyName" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:BookingChannelGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BookingChannelGroup">
   <xs:attribute type="xs:string" use="required" name="Type"/>
   <xs:attribute type="xs:boolean" use="optional" name="Primary"/>
 </xs:attributeGroup>
 


Constructor Summary
Source.BookingChannel()
           
 
Method Summary
 CompanyName getCompanyName()
          Get the 'CompanyName' element value.
 java.lang.Boolean getPrimary()
          Get the 'Primary' attribute value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setCompanyName(CompanyName companyName)
          Set the 'CompanyName' element value.
 void setPrimary(java.lang.Boolean primary)
          Set the 'Primary' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Source.BookingChannel

public Source.BookingChannel()
Method Detail

getCompanyName

public CompanyName getCompanyName()
Get the 'CompanyName' element value. Identifies the company that is associated with the booking channel.

Returns:
value

setCompanyName

public void setCompanyName(CompanyName companyName)
Set the 'CompanyName' element value. Identifies the company that is associated with the booking channel.

Parameters:
companyName -

getType

public java.lang.String getType()
Get the 'Type' attribute value. The type of booking channel (e.g. Global Distribution System (GDS), Alternative Distribution System (ADS), Sales and Catering System (SCS), Property Management System (PMS), Central Reservation System (CRS), Tour Operator System (TOS), Internet and ALL). Refer to OpenTravel Code List Booking Channel Type (BCT).

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. The type of booking channel (e.g. Global Distribution System (GDS), Alternative Distribution System (ADS), Sales and Catering System (SCS), Property Management System (PMS), Central Reservation System (CRS), Tour Operator System (TOS), Internet and ALL). Refer to OpenTravel Code List Booking Channel Type (BCT).

Parameters:
type -

getPrimary

public java.lang.Boolean getPrimary()
Get the 'Primary' attribute value. Indicates whether the enumerated booking channel is the primary means of connectivity used by the source.

Returns:
value

setPrimary

public void setPrimary(java.lang.Boolean primary)
Set the 'Primary' attribute value. Indicates whether the enumerated booking channel is the primary means of connectivity used by the source.

Parameters:
primary -