org.ota.hotel
Class HotelRatePlan.DestinationSystemsCode

java.lang.Object
  extended by org.ota.hotel.HotelRatePlan.DestinationSystemsCode
Enclosing class:
HotelRatePlan

public static class HotelRatePlan.DestinationSystemsCode
extends java.lang.Object

A collection of destination system codes. These are systems for which this RatePlan is targeted. 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="DestinationSystemsCode" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="DestinationSystemCode" maxOccurs="unbounded">
         <!-- Reference to inner class DestinationSystemCode -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelRatePlan.DestinationSystemsCode.DestinationSystemCode
          The destination system code defines a system to which information is to be provided.
 
Constructor Summary
HotelRatePlan.DestinationSystemsCode()
           
 
Method Summary
 void addDestinationSystemCode(HotelRatePlan.DestinationSystemsCode.DestinationSystemCode item)
          Add a 'DestinationSystemCode' element item.
 void clearDestinationSystemCodes()
          Remove all 'DestinationSystemCode' element items.
 HotelRatePlan.DestinationSystemsCode.DestinationSystemCode getDestinationSystemCode(int index)
          Get 'DestinationSystemCode' element item by position.
 java.util.List<HotelRatePlan.DestinationSystemsCode.DestinationSystemCode> getDestinationSystemCodes()
          Get the list of 'DestinationSystemCode' element items.
 void setDestinationSystemCodes(java.util.List<HotelRatePlan.DestinationSystemsCode.DestinationSystemCode> list)
          Set the list of 'DestinationSystemCode' element items.
 int sizeDestinationSystemCodes()
          Get the number of 'DestinationSystemCode' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRatePlan.DestinationSystemsCode

public HotelRatePlan.DestinationSystemsCode()
Method Detail

getDestinationSystemCodes

public java.util.List<HotelRatePlan.DestinationSystemsCode.DestinationSystemCode> getDestinationSystemCodes()
Get the list of 'DestinationSystemCode' element items.

Returns:
list

setDestinationSystemCodes

public void setDestinationSystemCodes(java.util.List<HotelRatePlan.DestinationSystemsCode.DestinationSystemCode> list)
Set the list of 'DestinationSystemCode' element items.

Parameters:
list -

sizeDestinationSystemCodes

public int sizeDestinationSystemCodes()
Get the number of 'DestinationSystemCode' element items.

Returns:
count

addDestinationSystemCode

public void addDestinationSystemCode(HotelRatePlan.DestinationSystemsCode.DestinationSystemCode item)
Add a 'DestinationSystemCode' element item.

Parameters:
item -

getDestinationSystemCode

public HotelRatePlan.DestinationSystemsCode.DestinationSystemCode getDestinationSystemCode(int index)
Get 'DestinationSystemCode' element item by position.

Parameters:
index -
Returns:
item

clearDestinationSystemCodes

public void clearDestinationSystemCodes()
Remove all 'DestinationSystemCode' element items.