org.ota.vehicle
Class VehicleReservationRQCore.SpecialEquipPrefs

java.lang.Object
  extended by org.ota.vehicle.VehicleReservationRQCore.SpecialEquipPrefs
Enclosing class:
VehicleReservationRQCore

public static class VehicleReservationRQCore.SpecialEquipPrefs
extends java.lang.Object

Indicates the preferences for one or more specific items of additional equipment, such as ski racks, child seats, etc. 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="SpecialEquipPrefs" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="SpecialEquipPref" maxOccurs="15">
         <xs:complexType>
           <xs:attributeGroup ref="ns:VehicleEquipmentPrefGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:VehicleChargeType" name="Charge" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
VehicleReservationRQCore.SpecialEquipPrefs()
           
 
Method Summary
 void addSpecialEquipPref(VehicleEquipmentPrefGroup item)
          Add a 'SpecialEquipPref' element item.
 void clearSpecialEquipPrefs()
          Remove all 'SpecialEquipPref' element items.
 VehicleCharge getCharge()
          Get the 'Charge' element value.
 VehicleEquipmentPrefGroup getSpecialEquipPref(int index)
          Get 'SpecialEquipPref' element item by position.
 java.util.List<VehicleEquipmentPrefGroup> getSpecialEquipPrefs()
          Get the list of 'SpecialEquipPref' element items.
 void setCharge(VehicleCharge charge)
          Set the 'Charge' element value.
 void setSpecialEquipPrefs(java.util.List<VehicleEquipmentPrefGroup> list)
          Set the list of 'SpecialEquipPref' element items.
 int sizeSpecialEquipPrefs()
          Get the number of 'SpecialEquipPref' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleReservationRQCore.SpecialEquipPrefs

public VehicleReservationRQCore.SpecialEquipPrefs()
Method Detail

getSpecialEquipPrefs

public java.util.List<VehicleEquipmentPrefGroup> getSpecialEquipPrefs()
Get the list of 'SpecialEquipPref' element items.

Returns:
list

setSpecialEquipPrefs

public void setSpecialEquipPrefs(java.util.List<VehicleEquipmentPrefGroup> list)
Set the list of 'SpecialEquipPref' element items.

Parameters:
list -

sizeSpecialEquipPrefs

public int sizeSpecialEquipPrefs()
Get the number of 'SpecialEquipPref' element items.

Returns:
count

addSpecialEquipPref

public void addSpecialEquipPref(VehicleEquipmentPrefGroup item)
Add a 'SpecialEquipPref' element item.

Parameters:
item -

getSpecialEquipPref

public VehicleEquipmentPrefGroup getSpecialEquipPref(int index)
Get 'SpecialEquipPref' element item by position.

Parameters:
index -
Returns:
item

clearSpecialEquipPrefs

public void clearSpecialEquipPrefs()
Remove all 'SpecialEquipPref' element items.


getCharge

public VehicleCharge getCharge()
Get the 'Charge' element value. Used when the customer was previously quoted a rate for the equipment in an availability search response.

Returns:
value

setCharge

public void setCharge(VehicleCharge charge)
Set the 'Charge' element value. Used when the customer was previously quoted a rate for the equipment in an availability search response.

Parameters:
charge -