org.ota.pkg
Class ExtrasInfoRS.Extras

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

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

A collection of extra facilities available with the package 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:ExtrasInfoType" name="Extra" maxOccurs="99"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ExtrasInfoRS.Extras()
           
 
Method Summary
 void addExtra(ExtrasInfo item)
          Add a 'Extra' element item.
 void clearExtras()
          Remove all 'Extra' element items.
 ExtrasInfo getExtra(int index)
          Get 'Extra' element item by position.
 java.util.List<ExtrasInfo> getExtras()
          Get the list of 'Extra' element items.
 void setExtras(java.util.List<ExtrasInfo> 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

ExtrasInfoRS.Extras

public ExtrasInfoRS.Extras()
Method Detail

getExtras

public java.util.List<ExtrasInfo> 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<ExtrasInfo> 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(ExtrasInfo item)
Add a 'Extra' element item.

Parameters:
item -

getExtra

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

Parameters:
index -
Returns:
item

clearExtras

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