org.ota.cruise
Class ShorexAvailRS.ShorexPackages

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

public static class ShorexAvailRS.ShorexPackages
extends java.lang.Object

Contains the list of shore excursion packages. 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="ShorexPackages" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ShorexPackage" maxOccurs="99">
         <!-- Reference to inner class ShorexPackage -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class ShorexAvailRS.ShorexPackages.ShorexPackage
          Specifies the type of package options to query for, that the cruise might offer with the sailing.
 
Constructor Summary
ShorexAvailRS.ShorexPackages()
           
 
Method Summary
 void addShorexPackage(ShorexAvailRS.ShorexPackages.ShorexPackage item)
          Add a 'ShorexPackage' element item.
 void clearShorexPackages()
          Remove all 'ShorexPackage' element items.
 ShorexAvailRS.ShorexPackages.ShorexPackage getShorexPackage(int index)
          Get 'ShorexPackage' element item by position.
 java.util.List<ShorexAvailRS.ShorexPackages.ShorexPackage> getShorexPackages()
          Get the list of 'ShorexPackage' element items.
 void setShorexPackages(java.util.List<ShorexAvailRS.ShorexPackages.ShorexPackage> list)
          Set the list of 'ShorexPackage' element items.
 int sizeShorexPackages()
          Get the number of 'ShorexPackage' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShorexAvailRS.ShorexPackages

public ShorexAvailRS.ShorexPackages()
Method Detail

getShorexPackages

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

Returns:
list

setShorexPackages

public void setShorexPackages(java.util.List<ShorexAvailRS.ShorexPackages.ShorexPackage> list)
Set the list of 'ShorexPackage' element items.

Parameters:
list -

sizeShorexPackages

public int sizeShorexPackages()
Get the number of 'ShorexPackage' element items.

Returns:
count

addShorexPackage

public void addShorexPackage(ShorexAvailRS.ShorexPackages.ShorexPackage item)
Add a 'ShorexPackage' element item.

Parameters:
item -

getShorexPackage

public ShorexAvailRS.ShorexPackages.ShorexPackage getShorexPackage(int index)
Get 'ShorexPackage' element item by position.

Parameters:
index -
Returns:
item

clearShorexPackages

public void clearShorexPackages()
Remove all 'ShorexPackage' element items.