org.ota.pkg
Class _package.Extras

java.lang.Object
  extended by org.ota.pkg._package.Extras
Enclosing class:
_package

public static class _package.Extras
extends java.lang.Object

A collection of Extras requests. 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="Extras" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ExtrasType" name="Extra" maxOccurs="99"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
_package.Extras()
           
 
Method Summary
 void addExtra(Extras item)
          Add a 'Extra' element item.
 void clearExtras()
          Remove all 'Extra' element items.
 Extras getExtra(int index)
          Get 'Extra' element item by position.
 java.util.List<Extras> getExtras()
          Get the list of 'Extra' element items.
 void setExtras(java.util.List<Extras> list)
          Set the list of 'Extra' element items.
 int sizeExtras()
          Get the number of 'Extra' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

_package.Extras

public _package.Extras()
Method Detail

getExtras

public java.util.List<Extras> getExtras()
Get the list of 'Extra' element items. Describes an optional service which is not included in the standard package but may be booked in addition.

Returns:
list

setExtras

public void setExtras(java.util.List<Extras> list)
Set the list of 'Extra' element items. Describes an optional service which is not included in the standard package but may be booked in addition.

Parameters:
list -

sizeExtras

public int sizeExtras()
Get the number of 'Extra' element items.

Returns:
count

addExtra

public void addExtra(Extras item)
Add a 'Extra' element item.

Parameters:
item -

getExtra

public Extras getExtra(int index)
Get 'Extra' element item by position.

Parameters:
index -
Returns:
item

clearExtras

public void clearExtras()
Remove all 'Extra' element items.