|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.vehicle.LocSearchRQ
public class LocSearchRQ
Vehicle Location Search request will allow car rental customers to request car rental provider(s) to return location(s) available. The search will be based on longitude/latitude of the location. Requests can be based on providing one or many of the following: longitude/latitude, address, telephone number, reference point, the actual code of the location, hotel, and/or radius. 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_VehLocSearchRQ"> <xs:complexType> <xs:sequence> <xs:element type="ns:POS_Type" name="POS"/> <xs:element type="ns:ItemSearchCriterionType" name="VehLocSearchCriterion" maxOccurs="5"/> <xs:element type="ns:CompanyNameType" name="Vendor" minOccurs="0"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attributeGroup ref="ns:MaxResponsesGroup"/> <xs:attributeGroup ref="ns:ReqRespVersion"/> <xs:attribute type="xs:boolean" use="optional" name="JustAddressPhone"/> </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="MaxResponsesGroup"> <xs:attribute type="xs:string" use="optional" name="MaxResponses"/> </xs:attributeGroup> <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>
Constructor Summary | |
---|---|
LocSearchRQ()
|
Method Summary | |
---|---|
void |
addVehLocSearchCriterion(ItemSearchCriterion item)
Add a 'VehLocSearchCriterion' element item. |
void |
clearVehLocSearchCriterions()
Remove all 'VehLocSearchCriterion' element items. |
java.lang.Boolean |
getJustAddressPhone()
Get the 'JustAddressPhone' attribute value. |
java.lang.String |
getMaxResponses()
Get the 'MaxResponses' attribute 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. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
ItemSearchCriterion |
getVehLocSearchCriterion(int index)
Get 'VehLocSearchCriterion' element item by position. |
java.util.List<ItemSearchCriterion> |
getVehLocSearchCriterions()
Get the list of 'VehLocSearchCriterion' element items. |
CompanyName |
getVendor()
Get the 'Vendor' element value. |
void |
setJustAddressPhone(java.lang.Boolean justAddressPhone)
Set the 'JustAddressPhone' attribute value. |
void |
setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute 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 |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setVehLocSearchCriterions(java.util.List<ItemSearchCriterion> list)
Set the list of 'VehLocSearchCriterion' element items. |
void |
setVendor(CompanyName vendor)
Set the 'Vendor' element value. |
int |
sizeVehLocSearchCriterions()
Get the number of 'VehLocSearchCriterion' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocSearchRQ()
Method Detail |
---|
public POS getPOS()
public void setPOS(POS POS)
POS
- public java.util.List<ItemSearchCriterion> getVehLocSearchCriterions()
public void setVehLocSearchCriterions(java.util.List<ItemSearchCriterion> list)
list
- public int sizeVehLocSearchCriterions()
public void addVehLocSearchCriterion(ItemSearchCriterion item)
item
- public ItemSearchCriterion getVehLocSearchCriterion(int index)
index
-
public void clearVehLocSearchCriterions()
public CompanyName getVendor()
public void setVendor(CompanyName vendor)
vendor
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
- public java.lang.String getMaxResponses()
public void setMaxResponses(java.lang.String maxResponses)
maxResponses
- public java.lang.String getReqRespVersion()
public void setReqRespVersion(java.lang.String reqRespVersion)
reqRespVersion
- public java.lang.Boolean getJustAddressPhone()
public void setJustAddressPhone(java.lang.Boolean justAddressPhone)
justAddressPhone
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |