org.ota.vehicle
Class VehicleAvailRSCore

java.lang.Object
  extended by org.ota.vehicle.VehicleAvailRSCore

public class VehicleAvailRSCore
extends java.lang.Object

The VehicleAvailRSType complex type identifies the data that is considered common when describing the availability and rates of rental vehicles. 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="VehicleAvailRSCoreType">
   <xs:sequence>
     <xs:element type="ns:VehicleRentalCoreType" name="VehRentalCore"/>
     <xs:element name="VehVendorAvails">
       <xs:complexType>
         <xs:sequence>
           <xs:element type="ns:VehicleVendorAvailabilityType" name="VehVendorAvail" maxOccurs="20"/>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
VehicleAvailRSCore()
           
 
Method Summary
 void addVehVendorAvail(VehicleVendorAvailability item)
          Add a 'VehVendorAvail' element item.
 void clearVehVendorAvails()
          Remove all 'VehVendorAvail' element items.
 VehicleRentalCore getVehRentalCore()
          Get the 'VehRentalCore' element value.
 VehicleVendorAvailability getVehVendorAvail(int index)
          Get 'VehVendorAvail' element item by position.
 java.util.List<VehicleVendorAvailability> getVehVendorAvails()
          Get the list of 'VehVendorAvail' element items.
 void setVehRentalCore(VehicleRentalCore vehRentalCore)
          Set the 'VehRentalCore' element value.
 void setVehVendorAvails(java.util.List<VehicleVendorAvailability> list)
          Set the list of 'VehVendorAvail' element items.
 int sizeVehVendorAvails()
          Get the number of 'VehVendorAvail' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAvailRSCore

public VehicleAvailRSCore()
Method Detail

getVehRentalCore

public VehicleRentalCore getVehRentalCore()
Get the 'VehRentalCore' element value. Information that is common, or core, to all requests and responses associated with the reservation of a vehicle.

Returns:
value

setVehRentalCore

public void setVehRentalCore(VehicleRentalCore vehRentalCore)
Set the 'VehRentalCore' element value. Information that is common, or core, to all requests and responses associated with the reservation of a vehicle.

Parameters:
vehRentalCore -

getVehVendorAvails

public java.util.List<VehicleVendorAvailability> getVehVendorAvails()
Get the list of 'VehVendorAvail' element items. A collection of vendors for which vehicle availability is available.

Returns:
list

setVehVendorAvails

public void setVehVendorAvails(java.util.List<VehicleVendorAvailability> list)
Set the list of 'VehVendorAvail' element items. A collection of vendors for which vehicle availability is available.

Parameters:
list -

sizeVehVendorAvails

public int sizeVehVendorAvails()
Get the number of 'VehVendorAvail' element items.

Returns:
count

addVehVendorAvail

public void addVehVendorAvail(VehicleVendorAvailability item)
Add a 'VehVendorAvail' element item.

Parameters:
item -

getVehVendorAvail

public VehicleVendorAvailability getVehVendorAvail(int index)
Get 'VehVendorAvail' element item by position.

Parameters:
index -
Returns:
item

clearVehVendorAvails

public void clearVehVendorAvails()
Remove all 'VehVendorAvail' element items.