org.ota.vehicle
Class VehicleLocationVehicles.VehicleInfos

java.lang.Object
  extended by org.ota.vehicle.VehicleLocationVehicles.VehicleInfos
Enclosing class:
VehicleLocationVehicles

public static class VehicleLocationVehicles.VehicleInfos
extends java.lang.Object

Collection of descriptions about various aspects of the vehicles. 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="VehicleInfos" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="VehicleInfo" maxOccurs="99">
         <!-- Reference to inner class VehicleInfo -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleLocationVehicles.VehicleInfos.VehicleInfo
          Textual description about one specific aspect of the vehicles, for example, advanced booking needs, etc Schema fragment(s) for this class:
 
Constructor Summary
VehicleLocationVehicles.VehicleInfos()
           
 
Method Summary
 void addVehicleInfo(VehicleLocationVehicles.VehicleInfos.VehicleInfo item)
          Add a 'VehicleInfo' element item.
 void clearVehicleInfos()
          Remove all 'VehicleInfo' element items.
 VehicleLocationVehicles.VehicleInfos.VehicleInfo getVehicleInfo(int index)
          Get 'VehicleInfo' element item by position.
 java.util.List<VehicleLocationVehicles.VehicleInfos.VehicleInfo> getVehicleInfos()
          Get the list of 'VehicleInfo' element items.
 void setVehicleInfos(java.util.List<VehicleLocationVehicles.VehicleInfos.VehicleInfo> list)
          Set the list of 'VehicleInfo' element items.
 int sizeVehicleInfos()
          Get the number of 'VehicleInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleLocationVehicles.VehicleInfos

public VehicleLocationVehicles.VehicleInfos()
Method Detail

getVehicleInfos

public java.util.List<VehicleLocationVehicles.VehicleInfos.VehicleInfo> getVehicleInfos()
Get the list of 'VehicleInfo' element items.

Returns:
list

setVehicleInfos

public void setVehicleInfos(java.util.List<VehicleLocationVehicles.VehicleInfos.VehicleInfo> list)
Set the list of 'VehicleInfo' element items.

Parameters:
list -

sizeVehicleInfos

public int sizeVehicleInfos()
Get the number of 'VehicleInfo' element items.

Returns:
count

addVehicleInfo

public void addVehicleInfo(VehicleLocationVehicles.VehicleInfos.VehicleInfo item)
Add a 'VehicleInfo' element item.

Parameters:
item -

getVehicleInfo

public VehicleLocationVehicles.VehicleInfos.VehicleInfo getVehicleInfo(int index)
Get 'VehicleInfo' element item by position.

Parameters:
index -
Returns:
item

clearVehicleInfos

public void clearVehicleInfos()
Remove all 'VehicleInfo' element items.