org.ota.hotel
Class Viewerships.Viewership.BookingChannelCodes

java.lang.Object
  extended by org.ota.hotel.Viewerships.Viewership.BookingChannelCodes
Enclosing class:
Viewerships.Viewership

public static class Viewerships.Viewership.BookingChannelCodes
extends java.lang.Object

A collections of strings that identify booking channels, such as GDSs or Internet sites, etc., associated with this viewership record. 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="BookingChannelCodes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="BookingChannelCode" maxOccurs="unbounded">
         <!-- Reference to inner class BookingChannelCode -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="ChannelCodesInclusive"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Viewerships.Viewership.BookingChannelCodes.BookingChannelCode
          Specific code in relation to POS booking source (e.g.
 
Constructor Summary
Viewerships.Viewership.BookingChannelCodes()
           
 
Method Summary
 void addBookingChannelCode(Viewerships.Viewership.BookingChannelCodes.BookingChannelCode item)
          Add a 'BookingChannelCode' element item.
 void clearBookingChannelCodes()
          Remove all 'BookingChannelCode' element items.
 Viewerships.Viewership.BookingChannelCodes.BookingChannelCode getBookingChannelCode(int index)
          Get 'BookingChannelCode' element item by position.
 java.util.List<Viewerships.Viewership.BookingChannelCodes.BookingChannelCode> getBookingChannelCodes()
          Get the list of 'BookingChannelCode' element items.
 java.lang.Boolean getChannelCodesInclusive()
          Get the 'ChannelCodesInclusive' attribute value.
 void setBookingChannelCodes(java.util.List<Viewerships.Viewership.BookingChannelCodes.BookingChannelCode> list)
          Set the list of 'BookingChannelCode' element items.
 void setChannelCodesInclusive(java.lang.Boolean channelCodesInclusive)
          Set the 'ChannelCodesInclusive' attribute value.
 int sizeBookingChannelCodes()
          Get the number of 'BookingChannelCode' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Viewerships.Viewership.BookingChannelCodes

public Viewerships.Viewership.BookingChannelCodes()
Method Detail

getBookingChannelCodes

public java.util.List<Viewerships.Viewership.BookingChannelCodes.BookingChannelCode> getBookingChannelCodes()
Get the list of 'BookingChannelCode' element items.

Returns:
list

setBookingChannelCodes

public void setBookingChannelCodes(java.util.List<Viewerships.Viewership.BookingChannelCodes.BookingChannelCode> list)
Set the list of 'BookingChannelCode' element items.

Parameters:
list -

sizeBookingChannelCodes

public int sizeBookingChannelCodes()
Get the number of 'BookingChannelCode' element items.

Returns:
count

addBookingChannelCode

public void addBookingChannelCode(Viewerships.Viewership.BookingChannelCodes.BookingChannelCode item)
Add a 'BookingChannelCode' element item.

Parameters:
item -

getBookingChannelCode

public Viewerships.Viewership.BookingChannelCodes.BookingChannelCode getBookingChannelCode(int index)
Get 'BookingChannelCode' element item by position.

Parameters:
index -
Returns:
item

clearBookingChannelCodes

public void clearBookingChannelCodes()
Remove all 'BookingChannelCode' element items.


getChannelCodesInclusive

public java.lang.Boolean getChannelCodesInclusive()
Get the 'ChannelCodesInclusive' attribute value. Indicates whether the collection of Channel Codes for booking channels is inclusive or exclusive.Values: false=Exclusive, true=Inclusive.

Returns:
value

setChannelCodesInclusive

public void setChannelCodesInclusive(java.lang.Boolean channelCodesInclusive)
Set the 'ChannelCodesInclusive' attribute value. Indicates whether the collection of Channel Codes for booking channels is inclusive or exclusive.Values: false=Exclusive, true=Inclusive.

Parameters:
channelCodesInclusive -