org.ota.vehicle
Class VehicleAvailRQCore.VendorPrefs

java.lang.Object
  extended by org.ota.vehicle.VehicleAvailRQCore.VendorPrefs
Enclosing class:
VehicleAvailRQCore

public static class VehicleAvailRQCore.VendorPrefs
extends java.lang.Object

A collection of vendor preferences. 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="VendorPrefs" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="VendorPref" maxOccurs="20">
         <!-- Reference to inner class VendorPref -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="ParticipationLevelCode"/>
     <xs:attribute type="xs:string" use="optional" name="LocationCategory"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleAvailRQCore.VendorPrefs.VendorPref
          Indicates the preferred Vendor Company for the vehicle rental.
 
Constructor Summary
VehicleAvailRQCore.VendorPrefs()
           
 
Method Summary
 void addVendorPref(VehicleAvailRQCore.VendorPrefs.VendorPref item)
          Add a 'VendorPref' element item.
 void clearVendorPrefs()
          Remove all 'VendorPref' element items.
 java.lang.String getLocationCategory()
          Get the 'LocationCategory' attribute value.
 java.lang.String getParticipationLevelCode()
          Get the 'ParticipationLevelCode' attribute value.
 VehicleAvailRQCore.VendorPrefs.VendorPref getVendorPref(int index)
          Get 'VendorPref' element item by position.
 java.util.List<VehicleAvailRQCore.VendorPrefs.VendorPref> getVendorPrefs()
          Get the list of 'VendorPref' element items.
 void setLocationCategory(java.lang.String locationCategory)
          Set the 'LocationCategory' attribute value.
 void setParticipationLevelCode(java.lang.String participationLevelCode)
          Set the 'ParticipationLevelCode' attribute value.
 void setVendorPrefs(java.util.List<VehicleAvailRQCore.VendorPrefs.VendorPref> list)
          Set the list of 'VendorPref' element items.
 int sizeVendorPrefs()
          Get the number of 'VendorPref' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAvailRQCore.VendorPrefs

public VehicleAvailRQCore.VendorPrefs()
Method Detail

getVendorPrefs

public java.util.List<VehicleAvailRQCore.VendorPrefs.VendorPref> getVendorPrefs()
Get the list of 'VendorPref' element items.

Returns:
list

setVendorPrefs

public void setVendorPrefs(java.util.List<VehicleAvailRQCore.VendorPrefs.VendorPref> list)
Set the list of 'VendorPref' element items.

Parameters:
list -

sizeVendorPrefs

public int sizeVendorPrefs()
Get the number of 'VendorPref' element items.

Returns:
count

addVendorPref

public void addVendorPref(VehicleAvailRQCore.VendorPrefs.VendorPref item)
Add a 'VendorPref' element item.

Parameters:
item -

getVendorPref

public VehicleAvailRQCore.VendorPrefs.VendorPref getVendorPref(int index)
Get 'VendorPref' element item by position.

Parameters:
index -
Returns:
item

clearVendorPrefs

public void clearVendorPrefs()
Remove all 'VendorPref' element items.


getParticipationLevelCode

public java.lang.String getParticipationLevelCode()
Get the 'ParticipationLevelCode' attribute value. To specify vendors with a certain level of participation in a system. Refer to OpenTravel Code List Participation Level (PLC).

Returns:
value

setParticipationLevelCode

public void setParticipationLevelCode(java.lang.String participationLevelCode)
Set the 'ParticipationLevelCode' attribute value. To specify vendors with a certain level of participation in a system. Refer to OpenTravel Code List Participation Level (PLC).

Parameters:
participationLevelCode -

getLocationCategory

public java.lang.String getLocationCategory()
Get the 'LocationCategory' attribute value. The type of location being requested. Refer to OpenTravel Code List Vehicle Where at Facility (VWF).

Returns:
value

setLocationCategory

public void setLocationCategory(java.lang.String locationCategory)
Set the 'LocationCategory' attribute value. The type of location being requested. Refer to OpenTravel Code List Vehicle Where at Facility (VWF).

Parameters:
locationCategory -