org.ota.vehicle
Class VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges

java.lang.Object
  extended by org.ota.vehicle.VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges
Enclosing class:
VehicleLocationServicesOffered.OnLocationServices.OnLocationService

public static class VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges
extends java.lang.Object

A collection of charges associated with this on-location service. There may be multiple charges if the charge varies by vehicle type. 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="OnLocServiceCharges" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="OnLocServiceCharge" maxOccurs="99">
         <!-- Reference to inner class OnLocServiceCharge -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge
          One specific charge for this on-location service.
 
Constructor Summary
VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges()
           
 
Method Summary
 void addOnLocServiceCharge(VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge item)
          Add a 'OnLocServiceCharge' element item.
 void clearOnLocServiceCharges()
          Remove all 'OnLocServiceCharge' element items.
 VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge getOnLocServiceCharge(int index)
          Get 'OnLocServiceCharge' element item by position.
 java.util.List<VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge> getOnLocServiceCharges()
          Get the list of 'OnLocServiceCharge' element items.
 void setOnLocServiceCharges(java.util.List<VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge> list)
          Set the list of 'OnLocServiceCharge' element items.
 int sizeOnLocServiceCharges()
          Get the number of 'OnLocServiceCharge' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges

public VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges()
Method Detail

getOnLocServiceCharges

public java.util.List<VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge> getOnLocServiceCharges()
Get the list of 'OnLocServiceCharge' element items.

Returns:
list

setOnLocServiceCharges

public void setOnLocServiceCharges(java.util.List<VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge> list)
Set the list of 'OnLocServiceCharge' element items.

Parameters:
list -

sizeOnLocServiceCharges

public int sizeOnLocServiceCharges()
Get the number of 'OnLocServiceCharge' element items.

Returns:
count

addOnLocServiceCharge

public void addOnLocServiceCharge(VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge item)
Add a 'OnLocServiceCharge' element item.

Parameters:
item -

getOnLocServiceCharge

public VehicleLocationServicesOffered.OnLocationServices.OnLocationService.OnLocServiceCharges.OnLocServiceCharge getOnLocServiceCharge(int index)
Get 'OnLocServiceCharge' element item by position.

Parameters:
index -
Returns:
item

clearOnLocServiceCharges

public void clearOnLocServiceCharges()
Remove all 'OnLocServiceCharge' element items.