org.ota.vehicle
Class CheckInRQ.PricedEquips.PricedEquip

java.lang.Object
  extended by org.ota.vehicle.CheckInRQ.PricedEquips.PricedEquip
Enclosing class:
CheckInRQ.PricedEquips

public static class CheckInRQ.PricedEquips.PricedEquip
extends java.lang.Object

Used to indicate special equipment is returned. 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="PricedEquip" maxOccurs="25">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Equipment" maxOccurs="2">
         <!-- Reference to inner class Equipment -->
       </xs:element>
       <xs:element type="ns:VehicleChargeType" name="Charge" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class CheckInRQ.PricedEquips.PricedEquip.Equipment
          Describes the equipment being returned.
 
Constructor Summary
CheckInRQ.PricedEquips.PricedEquip()
           
 
Method Summary
 void addEquipment(CheckInRQ.PricedEquips.PricedEquip.Equipment item)
          Add a 'Equipment' element item.
 void clearEquipments()
          Remove all 'Equipment' element items.
 VehicleCharge getCharge()
          Get the 'Charge' element value.
 CheckInRQ.PricedEquips.PricedEquip.Equipment getEquipment(int index)
          Get 'Equipment' element item by position.
 java.util.List<CheckInRQ.PricedEquips.PricedEquip.Equipment> getEquipments()
          Get the list of 'Equipment' element items.
 void setCharge(VehicleCharge charge)
          Set the 'Charge' element value.
 void setEquipments(java.util.List<CheckInRQ.PricedEquips.PricedEquip.Equipment> list)
          Set the list of 'Equipment' element items.
 int sizeEquipments()
          Get the number of 'Equipment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckInRQ.PricedEquips.PricedEquip

public CheckInRQ.PricedEquips.PricedEquip()
Method Detail

getEquipments

public java.util.List<CheckInRQ.PricedEquips.PricedEquip.Equipment> getEquipments()
Get the list of 'Equipment' element items.

Returns:
list

setEquipments

public void setEquipments(java.util.List<CheckInRQ.PricedEquips.PricedEquip.Equipment> list)
Set the list of 'Equipment' element items.

Parameters:
list -

sizeEquipments

public int sizeEquipments()
Get the number of 'Equipment' element items.

Returns:
count

addEquipment

public void addEquipment(CheckInRQ.PricedEquips.PricedEquip.Equipment item)
Add a 'Equipment' element item.

Parameters:
item -

getEquipment

public CheckInRQ.PricedEquips.PricedEquip.Equipment getEquipment(int index)
Get 'Equipment' element item by position.

Parameters:
index -
Returns:
item

clearEquipments

public void clearEquipments()
Remove all 'Equipment' element items.


getCharge

public VehicleCharge getCharge()
Get the 'Charge' element value. This provides the ability to add charges for missing or damaged equipment or to make necessary adjustments.

Returns:
value

setCharge

public void setCharge(VehicleCharge charge)
Set the 'Charge' element value. This provides the ability to add charges for missing or damaged equipment or to make necessary adjustments.

Parameters:
charge -