org.ota.cruise
Class PkgAvailRS.CruisePackages.CruisePackage

java.lang.Object
  extended by org.ota.cruise.CruisePackage
      extended by org.ota.cruise.PkgAvailRS.CruisePackages.CruisePackage
Enclosing class:
PkgAvailRS.CruisePackages

public static class PkgAvailRS.CruisePackages.CruisePackage
extends CruisePackage

Specifies the type of package options to query for, that the cruise might offer with the sailing. 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="CruisePackage" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:CruisePackageType">
         <xs:sequence>
           <xs:element name="PriceInfo" minOccurs="0" maxOccurs="10">
             <!-- Reference to inner class PriceInfo -->
           </xs:element>
         </xs:sequence>
         <xs:attribute type="xs:string" use="optional" name="Description"/>
         <xs:attribute type="xs:boolean" use="optional" name="TransferIncludedIndicator"/>
         <xs:attribute type="xs:boolean" use="optional" name="SelectionAllowedIndicator"/>
         <xs:attribute type="xs:boolean" use="optional" name="FlightInfoRequiredInd"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PkgAvailRS.CruisePackages.CruisePackage.PriceInfo
          Provides price information regarding a package.
 
Nested classes/interfaces inherited from class org.ota.cruise.CruisePackage
CruisePackage.Location
 
Constructor Summary
PkgAvailRS.CruisePackages.CruisePackage()
           
 
Method Summary
 void addPriceInfo(PkgAvailRS.CruisePackages.CruisePackage.PriceInfo item)
          Add a 'PriceInfo' element item.
 void clearPriceInfos()
          Remove all 'PriceInfo' element items.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.Boolean getFlightInfoRequiredInd()
          Get the 'FlightInfoRequiredInd' attribute value.
 PkgAvailRS.CruisePackages.CruisePackage.PriceInfo getPriceInfo(int index)
          Get 'PriceInfo' element item by position.
 java.util.List<PkgAvailRS.CruisePackages.CruisePackage.PriceInfo> getPriceInfos()
          Get the list of 'PriceInfo' element items.
 java.lang.Boolean getSelectionAllowedIndicator()
          Get the 'SelectionAllowedIndicator' attribute value.
 java.lang.Boolean getTransferIncludedIndicator()
          Get the 'TransferIncludedIndicator' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setFlightInfoRequiredInd(java.lang.Boolean flightInfoRequiredInd)
          Set the 'FlightInfoRequiredInd' attribute value.
 void setPriceInfos(java.util.List<PkgAvailRS.CruisePackages.CruisePackage.PriceInfo> list)
          Set the list of 'PriceInfo' element items.
 void setSelectionAllowedIndicator(java.lang.Boolean selectionAllowedIndicator)
          Set the 'SelectionAllowedIndicator' attribute value.
 void setTransferIncludedIndicator(java.lang.Boolean transferIncludedIndicator)
          Set the 'TransferIncludedIndicator' attribute value.
 int sizePriceInfos()
          Get the number of 'PriceInfo' element items.
 
Methods inherited from class org.ota.cruise.CruisePackage
addLocation, clearLocations, getCruisePackageGroup, getLocation, getLocations, getPackageTypeCode, getStatus, setCruisePackageGroup, setLocations, setPackageTypeCode, setStatus, sizeLocations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PkgAvailRS.CruisePackages.CruisePackage

public PkgAvailRS.CruisePackages.CruisePackage()
Method Detail

getPriceInfos

public java.util.List<PkgAvailRS.CruisePackages.CruisePackage.PriceInfo> getPriceInfos()
Get the list of 'PriceInfo' element items.

Returns:
list

setPriceInfos

public void setPriceInfos(java.util.List<PkgAvailRS.CruisePackages.CruisePackage.PriceInfo> list)
Set the list of 'PriceInfo' element items.

Parameters:
list -

sizePriceInfos

public int sizePriceInfos()
Get the number of 'PriceInfo' element items.

Returns:
count

addPriceInfo

public void addPriceInfo(PkgAvailRS.CruisePackages.CruisePackage.PriceInfo item)
Add a 'PriceInfo' element item.

Parameters:
item -

getPriceInfo

public PkgAvailRS.CruisePackages.CruisePackage.PriceInfo getPriceInfo(int index)
Get 'PriceInfo' element item by position.

Parameters:
index -
Returns:
item

clearPriceInfos

public void clearPriceInfos()
Remove all 'PriceInfo' element items.


getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. Short text description of the package.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. Short text description of the package.

Parameters:
description -

getTransferIncludedIndicator

public java.lang.Boolean getTransferIncludedIndicator()
Get the 'TransferIncludedIndicator' attribute value. When true, a transfer is included in the package. When false, a transfer is not included in the package.

Returns:
value

setTransferIncludedIndicator

public void setTransferIncludedIndicator(java.lang.Boolean transferIncludedIndicator)
Set the 'TransferIncludedIndicator' attribute value. When true, a transfer is included in the package. When false, a transfer is not included in the package.

Parameters:
transferIncludedIndicator -

getSelectionAllowedIndicator

public java.lang.Boolean getSelectionAllowedIndicator()
Get the 'SelectionAllowedIndicator' attribute value. When true, this option may be selected. When false, the option may not be selected. true

Returns:
value

setSelectionAllowedIndicator

public void setSelectionAllowedIndicator(java.lang.Boolean selectionAllowedIndicator)
Set the 'SelectionAllowedIndicator' attribute value. When true, this option may be selected. When false, the option may not be selected. true

Parameters:
selectionAllowedIndicator -

getFlightInfoRequiredInd

public java.lang.Boolean getFlightInfoRequiredInd()
Get the 'FlightInfoRequiredInd' attribute value. When true, indicates that a flight is required.

Returns:
value

setFlightInfoRequiredInd

public void setFlightInfoRequiredInd(java.lang.Boolean flightInfoRequiredInd)
Set the 'FlightInfoRequiredInd' attribute value. When true, indicates that a flight is required.

Parameters:
flightInfoRequiredInd -