org.ota.cruise
Class ShorexAvailRS.ShorexPackages.ShorexPackage

java.lang.Object
  extended by org.ota.cruise.CruisePackage
      extended by org.ota.cruise.ShorexAvailRS.ShorexPackages.ShorexPackage
Enclosing class:
ShorexAvailRS.ShorexPackages

public static class ShorexAvailRS.ShorexPackages.ShorexPackage
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="ShorexPackage" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:CruisePackageType">
         <xs:sequence>
           <xs:element name="PriceInfo" 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="SelectionAllowedIndicator"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo
          Provides price information associated with a shore excursion.
 
Nested classes/interfaces inherited from class org.ota.cruise.CruisePackage
CruisePackage.Location
 
Constructor Summary
ShorexAvailRS.ShorexPackages.ShorexPackage()
           
 
Method Summary
 void addPriceInfo(ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo item)
          Add a 'PriceInfo' element item.
 void clearPriceInfos()
          Remove all 'PriceInfo' element items.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo getPriceInfo(int index)
          Get 'PriceInfo' element item by position.
 java.util.List<ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo> getPriceInfos()
          Get the list of 'PriceInfo' element items.
 java.lang.Boolean getSelectionAllowedIndicator()
          Get the 'SelectionAllowedIndicator' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setPriceInfos(java.util.List<ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo> list)
          Set the list of 'PriceInfo' element items.
 void setSelectionAllowedIndicator(java.lang.Boolean selectionAllowedIndicator)
          Set the 'SelectionAllowedIndicator' 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

ShorexAvailRS.ShorexPackages.ShorexPackage

public ShorexAvailRS.ShorexPackages.ShorexPackage()
Method Detail

getPriceInfos

public java.util.List<ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo> getPriceInfos()
Get the list of 'PriceInfo' element items.

Returns:
list

setPriceInfos

public void setPriceInfos(java.util.List<ShorexAvailRS.ShorexPackages.ShorexPackage.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(ShorexAvailRS.ShorexPackages.ShorexPackage.PriceInfo item)
Add a 'PriceInfo' element item.

Parameters:
item -

getPriceInfo

public ShorexAvailRS.ShorexPackages.ShorexPackage.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 -

getSelectionAllowedIndicator

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

Returns:
value

setSelectionAllowedIndicator

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

Parameters:
selectionAllowedIndicator -