org.ota.vehicle
Class LocDetailRQ

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

public class LocDetailRQ
extends java.lang.Object

Vehicle Location Detail request will allow car rental customers to request information about the car rental location. These are items that will assist the customer in basic information about the location. 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="OTA_VehLocDetailRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element name="Location">
         <xs:complexType>
           <xs:simpleContent>
             <xs:extension base="ns:LocationType">
               <xs:attribute type="xs:string" use="optional" name="ExtendedLocationCode"/>
               <xs:attribute type="xs:string" use="optional" name="CounterLocation"/>
             </xs:extension>
           </xs:simpleContent>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:CompanyNameType" name="Vendor" minOccurs="0"/>
       <xs:element name="ResponseFilter" minOccurs="0">
         <!-- Reference to inner class ResponseFilter -->
       </xs:element>
       <xs:element name="Date" minOccurs="0">
         <!-- Reference to inner class Date -->
       </xs:element>
       <xs:element name="Keyword" minOccurs="0" maxOccurs="25">
         <!-- Reference to inner class Keyword -->
       </xs:element>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ReqRespVersion"/>
   </xs:complexType>
 </xs:element>
 
 <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"/>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReqRespVersion">
   <xs:attribute type="xs:string" use="optional" name="ReqRespVersion"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class LocDetailRQ.Date
          The pick-up and return dates for the location information requested.
static class LocDetailRQ.Keyword
          A keyword for which location detail information is requested.
static class LocDetailRQ.ResponseFilter
          This is used to limit the reponse information to certain criteria.
 
Constructor Summary
LocDetailRQ()
           
 
Method Summary
 void addKeyword(LocDetailRQ.Keyword item)
          Add a 'Keyword' element item.
 void clearKeywords()
          Remove all 'Keyword' element items.
 LocDetailRQ.Date getDate()
          Get the 'Date' element value.
 LocDetailRQ.Keyword getKeyword(int index)
          Get 'Keyword' element item by position.
 java.util.List<LocDetailRQ.Keyword> getKeywords()
          Get the list of 'Keyword' element items.
 java.lang.String getLocationCounterLocation()
          Get the 'CounterLocation' attribute value.
 java.lang.String getLocationExtendedLocationCode()
          Get the 'ExtendedLocationCode' attribute value.
 Location getLocationLocation()
          Get the extension value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 LocDetailRQ.ResponseFilter getResponseFilter()
          Get the 'ResponseFilter' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 CompanyName getVendor()
          Get the 'Vendor' element value.
 void setDate(LocDetailRQ.Date date)
          Set the 'Date' element value.
 void setKeywords(java.util.List<LocDetailRQ.Keyword> list)
          Set the list of 'Keyword' element items.
 void setLocationCounterLocation(java.lang.String locationCounterLocation)
          Set the 'CounterLocation' attribute value.
 void setLocationExtendedLocationCode(java.lang.String locationExtendedLocationCode)
          Set the 'ExtendedLocationCode' attribute value.
 void setLocationLocation(Location locationLocation)
          Set the extension value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setReqRespVersion(java.lang.String reqRespVersion)
          Set the 'ReqRespVersion' attribute value.
 void setResponseFilter(LocDetailRQ.ResponseFilter responseFilter)
          Set the 'ResponseFilter' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVendor(CompanyName vendor)
          Set the 'Vendor' element value.
 int sizeKeywords()
          Get the number of 'Keyword' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocDetailRQ

public LocDetailRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of Sale Identification. Identification number of the vendor that has made the location details request and agency number assigned by IATA, ARC, ESRP or TID.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of Sale Identification. Identification number of the vendor that has made the location details request and agency number assigned by IATA, ARC, ESRP or TID.

Parameters:
POS -

getLocationLocation

public Location getLocationLocation()
Get the extension value.

Returns:
value

setLocationLocation

public void setLocationLocation(Location locationLocation)
Set the extension value.

Parameters:
locationLocation -

getLocationExtendedLocationCode

public java.lang.String getLocationExtendedLocationCode()
Get the 'ExtendedLocationCode' attribute value. Used for extended OAG (Official Airline Guide) code in conjunction with the OAG code which is sent in Code.

Returns:
value

setLocationExtendedLocationCode

public void setLocationExtendedLocationCode(java.lang.String locationExtendedLocationCode)
Set the 'ExtendedLocationCode' attribute value. Used for extended OAG (Official Airline Guide) code in conjunction with the OAG code which is sent in Code.

Parameters:
locationExtendedLocationCode -

getLocationCounterLocation

public java.lang.String getLocationCounterLocation()
Get the 'CounterLocation' attribute value. Identifies the location of a car rental site for an airport/city code. Refer to OpenTravel Code List Vehicle Where At Facility (VWF).

Returns:
value

setLocationCounterLocation

public void setLocationCounterLocation(java.lang.String locationCounterLocation)
Set the 'CounterLocation' attribute value. Identifies the location of a car rental site for an airport/city code. Refer to OpenTravel Code List Vehicle Where At Facility (VWF).

Parameters:
locationCounterLocation -

getVendor

public CompanyName getVendor()
Get the 'Vendor' element value. Information on the vendor associated with this rental location.

Returns:
value

setVendor

public void setVendor(CompanyName vendor)
Set the 'Vendor' element value. Information on the vendor associated with this rental location.

Parameters:
vendor -

getResponseFilter

public LocDetailRQ.ResponseFilter getResponseFilter()
Get the 'ResponseFilter' element value.

Returns:
value

setResponseFilter

public void setResponseFilter(LocDetailRQ.ResponseFilter responseFilter)
Set the 'ResponseFilter' element value.

Parameters:
responseFilter -

getDate

public LocDetailRQ.Date getDate()
Get the 'Date' element value.

Returns:
value

setDate

public void setDate(LocDetailRQ.Date date)
Set the 'Date' element value.

Parameters:
date -

getKeywords

public java.util.List<LocDetailRQ.Keyword> getKeywords()
Get the list of 'Keyword' element items.

Returns:
list

setKeywords

public void setKeywords(java.util.List<LocDetailRQ.Keyword> list)
Set the list of 'Keyword' element items.

Parameters:
list -

sizeKeywords

public int sizeKeywords()
Get the number of 'Keyword' element items.

Returns:
count

addKeyword

public void addKeyword(LocDetailRQ.Keyword item)
Add a 'Keyword' element item.

Parameters:
item -

getKeyword

public LocDetailRQ.Keyword getKeyword(int index)
Get 'Keyword' element item by position.

Parameters:
index -
Returns:
item

clearKeywords

public void clearKeywords()
Remove all 'Keyword' 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 -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getReqRespVersion

public java.lang.String getReqRespVersion()
Get the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Returns:
value

setReqRespVersion

public void setReqRespVersion(java.lang.String reqRespVersion)
Set the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Parameters:
reqRespVersion -