org.ota.vehicle
Class VehicleLocationVehicles

java.lang.Object
  extended by org.ota.vehicle.VehicleLocationVehicles
Direct Known Subclasses:
LocDetailsNotifRQ.LocationDetail.Vehicles

public class VehicleLocationVehicles
extends java.lang.Object

The Vehicle Location Vehicles Type is used to define information on the vehicles that are offered for rental at this facility. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VehicleLocationVehiclesType">
   <xs:sequence>
     <xs:element name="VehicleInfos" minOccurs="0">
       <!-- Reference to inner class VehicleInfos -->
     </xs:element>
     <xs:element name="Vehicle" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class Vehicle -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class VehicleLocationVehicles.Vehicle
          Specific information about a vehicle that is offered for rental at this facility.
static class VehicleLocationVehicles.VehicleInfos
          Collection of descriptions about various aspects of the vehicles.
 
Constructor Summary
VehicleLocationVehicles()
           
 
Method Summary
 void addVehicle(VehicleLocationVehicles.Vehicle item)
          Add a 'Vehicle' element item.
 void clearVehicles()
          Remove all 'Vehicle' element items.
 VehicleLocationVehicles.Vehicle getVehicle(int index)
          Get 'Vehicle' element item by position.
 VehicleLocationVehicles.VehicleInfos getVehicleInfos()
          Get the 'VehicleInfos' element value.
 java.util.List<VehicleLocationVehicles.Vehicle> getVehicles()
          Get the list of 'Vehicle' element items.
 void setVehicleInfos(VehicleLocationVehicles.VehicleInfos vehicleInfos)
          Set the 'VehicleInfos' element value.
 void setVehicles(java.util.List<VehicleLocationVehicles.Vehicle> list)
          Set the list of 'Vehicle' element items.
 int sizeVehicles()
          Get the number of 'Vehicle' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleLocationVehicles

public VehicleLocationVehicles()
Method Detail

getVehicleInfos

public VehicleLocationVehicles.VehicleInfos getVehicleInfos()
Get the 'VehicleInfos' element value.

Returns:
value

setVehicleInfos

public void setVehicleInfos(VehicleLocationVehicles.VehicleInfos vehicleInfos)
Set the 'VehicleInfos' element value.

Parameters:
vehicleInfos -

getVehicles

public java.util.List<VehicleLocationVehicles.Vehicle> getVehicles()
Get the list of 'Vehicle' element items.

Returns:
list

setVehicles

public void setVehicles(java.util.List<VehicleLocationVehicles.Vehicle> list)
Set the list of 'Vehicle' element items.

Parameters:
list -

sizeVehicles

public int sizeVehicles()
Get the number of 'Vehicle' element items.

Returns:
count

addVehicle

public void addVehicle(VehicleLocationVehicles.Vehicle item)
Add a 'Vehicle' element item.

Parameters:
item -

getVehicle

public VehicleLocationVehicles.Vehicle getVehicle(int index)
Get 'Vehicle' element item by position.

Parameters:
index -
Returns:
item

clearVehicles

public void clearVehicles()
Remove all 'Vehicle' element items.