org.ota.vehicle
Class LocDetailsNotifRQ.LocationDetail.VehicleVendorSupplier

java.lang.Object
  extended by org.ota.vehicle.LocDetailsNotifRQ.LocationDetail.VehicleVendorSupplier
Enclosing class:
LocDetailsNotifRQ.LocationDetail

public static class LocDetailsNotifRQ.LocationDetail.VehicleVendorSupplier
extends java.lang.Object

The vehicle provider (e.g., Hertz, National) when different from the car rental location vendor. 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="VehicleVendorSupplier" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Vehicles">
         <xs:complexType>
           <xs:sequence>
             <xs:element type="ns:VehicleCoreType" name="Vehicle" maxOccurs="99"/>
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CompanyID_AttributesGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
LocDetailsNotifRQ.LocationDetail.VehicleVendorSupplier()
           
 
Method Summary
 void addVehicle(VehicleCore item)
          Add a 'Vehicle' element item.
 void clearVehicles()
          Remove all 'Vehicle' element items.
 CompanyIDAttributesGroup getCompanyIDAttributesGroup()
          Get the 'CompanyID_AttributesGroup' attributeGroup value.
 VehicleCore getVehicle(int index)
          Get 'Vehicle' element item by position.
 java.util.List<VehicleCore> getVehicles()
          Get the list of 'Vehicle' element items.
 void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
          Set the 'CompanyID_AttributesGroup' attributeGroup value.
 void setVehicles(java.util.List<VehicleCore> 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

LocDetailsNotifRQ.LocationDetail.VehicleVendorSupplier

public LocDetailsNotifRQ.LocationDetail.VehicleVendorSupplier()
Method Detail

getVehicles

public java.util.List<VehicleCore> getVehicles()
Get the list of 'Vehicle' element items. A collection of vehicles.

Returns:
list

setVehicles

public void setVehicles(java.util.List<VehicleCore> list)
Set the list of 'Vehicle' element items. A collection of vehicles.

Parameters:
list -

sizeVehicles

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

Returns:
count

addVehicle

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

Parameters:
item -

getVehicle

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

Parameters:
index -
Returns:
item

clearVehicles

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


getCompanyIDAttributesGroup

public CompanyIDAttributesGroup getCompanyIDAttributesGroup()
Get the 'CompanyID_AttributesGroup' attributeGroup value. The vehicle provider (e.g., Hertz, National) when different from the car rental location vendor.

Returns:
value

setCompanyIDAttributesGroup

public void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
Set the 'CompanyID_AttributesGroup' attributeGroup value. The vehicle provider (e.g., Hertz, National) when different from the car rental location vendor.

Parameters:
companyIDAttributesGroup -