org.ota.vehicle
Class VehicleRetrieveResRQAdditionalInfo

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

public class VehicleRetrieveResRQAdditionalInfo
extends java.lang.Object

The VehicleRetrieveInfoRQType complex type defines the supplemental data by which an existing reservation can be identified for retrieval 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="VehicleRetrieveResRQAdditionalInfoType">
   <xs:sequence>
     <xs:element type="ns:LocationType" name="PickUpLocation" minOccurs="0"/>
     <xs:element type="ns:LocationType" name="ReturnLocation" minOccurs="0"/>
     <xs:element name="Telephone" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:TelephoneGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:CompanyNameType" name="Vendor" minOccurs="0"/>
     <xs:element type="ns:VehiclePrefType" name="VehPref" minOccurs="0"/>
     <xs:element type="ns:EmailType" name="Email" minOccurs="0"/>
     <xs:element type="ns:ParagraphType" name="Remark" minOccurs="0" maxOccurs="5"/>
     <xs:element name="SearchDateRange" minOccurs="0" maxOccurs="3">
       <!-- Reference to inner class SearchDateRange -->
     </xs:element>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:dateTime" use="optional" name="PickUpDateTime"/>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class VehicleRetrieveResRQAdditionalInfo.SearchDateRange
          Defines a date type and a date or date range for searching.
 
Constructor Summary
VehicleRetrieveResRQAdditionalInfo()
           
 
Method Summary
 void addRemark(Paragraph item)
          Add a 'Remark' element item.
 void addSearchDateRange(VehicleRetrieveResRQAdditionalInfo.SearchDateRange item)
          Add a 'SearchDateRange' element item.
 void clearRemarks()
          Remove all 'Remark' element items.
 void clearSearchDateRanges()
          Remove all 'SearchDateRange' element items.
 Email getEmail()
          Get the 'Email' element value.
 java.util.Date getPickUpDateTime()
          Get the 'PickUpDateTime' attribute value.
 Location getPickUpLocation()
          Get the 'PickUpLocation' element value.
 Paragraph getRemark(int index)
          Get 'Remark' element item by position.
 java.util.List<Paragraph> getRemarks()
          Get the list of 'Remark' element items.
 Location getReturnLocation()
          Get the 'ReturnLocation' element value.
 VehicleRetrieveResRQAdditionalInfo.SearchDateRange getSearchDateRange(int index)
          Get 'SearchDateRange' element item by position.
 java.util.List<VehicleRetrieveResRQAdditionalInfo.SearchDateRange> getSearchDateRanges()
          Get the list of 'SearchDateRange' element items.
 TelephoneGroup getTelephone()
          Get the 'TelephoneGroup' attributeGroup value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 VehiclePref getVehPref()
          Get the 'VehPref' element value.
 CompanyName getVendor()
          Get the 'Vendor' element value.
 void setEmail(Email email)
          Set the 'Email' element value.
 void setPickUpDateTime(java.util.Date pickUpDateTime)
          Set the 'PickUpDateTime' attribute value.
 void setPickUpLocation(Location pickUpLocation)
          Set the 'PickUpLocation' element value.
 void setRemarks(java.util.List<Paragraph> list)
          Set the list of 'Remark' element items.
 void setReturnLocation(Location returnLocation)
          Set the 'ReturnLocation' element value.
 void setSearchDateRanges(java.util.List<VehicleRetrieveResRQAdditionalInfo.SearchDateRange> list)
          Set the list of 'SearchDateRange' element items.
 void setTelephone(TelephoneGroup telephone)
          Set the 'TelephoneGroup' attributeGroup value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVehPref(VehiclePref vehPref)
          Set the 'VehPref' element value.
 void setVendor(CompanyName vendor)
          Set the 'Vendor' element value.
 int sizeRemarks()
          Get the number of 'Remark' element items.
 int sizeSearchDateRanges()
          Get the number of 'SearchDateRange' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleRetrieveResRQAdditionalInfo

public VehicleRetrieveResRQAdditionalInfo()
Method Detail

getPickUpLocation

public Location getPickUpLocation()
Get the 'PickUpLocation' element value. A code to identify the pick up location, along with an optional code context.

Returns:
value

setPickUpLocation

public void setPickUpLocation(Location pickUpLocation)
Set the 'PickUpLocation' element value. A code to identify the pick up location, along with an optional code context.

Parameters:
pickUpLocation -

getReturnLocation

public Location getReturnLocation()
Get the 'ReturnLocation' element value. A code to identify the return location, along with an optional code context.

Returns:
value

setReturnLocation

public void setReturnLocation(Location returnLocation)
Set the 'ReturnLocation' element value. A code to identify the return location, along with an optional code context.

Parameters:
returnLocation -

getTelephone

public TelephoneGroup getTelephone()
Get the 'TelephoneGroup' attributeGroup value. A telephone number associated with the reservation.

Returns:
value

setTelephone

public void setTelephone(TelephoneGroup telephone)
Set the 'TelephoneGroup' attributeGroup value. A telephone number associated with the reservation.

Parameters:
telephone -

getVendor

public CompanyName getVendor()
Get the 'Vendor' element value. The vendor with whom the reservation has been made.

Returns:
value

setVendor

public void setVendor(CompanyName vendor)
Set the 'Vendor' element value. The vendor with whom the reservation has been made.

Parameters:
vendor -

getVehPref

public VehiclePref getVehPref()
Get the 'VehPref' element value. Indicates any preferences for the vehicle, such as type, class, transmission, air conditioning.

Returns:
value

setVehPref

public void setVehPref(VehiclePref vehPref)
Set the 'VehPref' element value. Indicates any preferences for the vehicle, such as type, class, transmission, air conditioning.

Parameters:
vehPref -

getEmail

public Email getEmail()
Get the 'Email' element value. An email address associated with the reservation to be retrieved.

Returns:
value

setEmail

public void setEmail(Email email)
Set the 'Email' element value. An email address associated with the reservation to be retrieved.

Parameters:
email -

getRemarks

public java.util.List<Paragraph> getRemarks()
Get the list of 'Remark' element items. Free text description regarding the rental to be retrieved.

Returns:
list

setRemarks

public void setRemarks(java.util.List<Paragraph> list)
Set the list of 'Remark' element items. Free text description regarding the rental to be retrieved.

Parameters:
list -

sizeRemarks

public int sizeRemarks()
Get the number of 'Remark' element items.

Returns:
count

addRemark

public void addRemark(Paragraph item)
Add a 'Remark' element item.

Parameters:
item -

getRemark

public Paragraph getRemark(int index)
Get 'Remark' element item by position.

Parameters:
index -
Returns:
item

clearRemarks

public void clearRemarks()
Remove all 'Remark' element items.


getSearchDateRanges

public java.util.List<VehicleRetrieveResRQAdditionalInfo.SearchDateRange> getSearchDateRanges()
Get the list of 'SearchDateRange' element items.

Returns:
list

setSearchDateRanges

public void setSearchDateRanges(java.util.List<VehicleRetrieveResRQAdditionalInfo.SearchDateRange> list)
Set the list of 'SearchDateRange' element items.

Parameters:
list -

sizeSearchDateRanges

public int sizeSearchDateRanges()
Get the number of 'SearchDateRange' element items.

Returns:
count

addSearchDateRange

public void addSearchDateRange(VehicleRetrieveResRQAdditionalInfo.SearchDateRange item)
Add a 'SearchDateRange' element item.

Parameters:
item -

getSearchDateRange

public VehicleRetrieveResRQAdditionalInfo.SearchDateRange getSearchDateRange(int index)
Get 'SearchDateRange' element item by position.

Parameters:
index -
Returns:
item

clearSearchDateRanges

public void clearSearchDateRanges()
Remove all 'SearchDateRange' element items.


getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getPickUpDateTime

public java.util.Date getPickUpDateTime()
Get the 'PickUpDateTime' attribute value.

Returns:
value

setPickUpDateTime

public void setPickUpDateTime(java.util.Date pickUpDateTime)
Set the 'PickUpDateTime' attribute value.

Parameters:
pickUpDateTime -