|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.tour.SearchRQ
public class SearchRQ
Allows a customer to search for tours matching specified criteria. 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_TourSearchRQ">
<xs:complexType>
<xs:sequence>
<xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
<xs:element name="SearchCriteria">
<xs:complexType>
<xs:sequence>
<xs:element name="SearchDateRange" minOccurs="0">
<!-- Reference to inner class SearchDateRange -->
</xs:element>
<xs:element name="DestinationPref" minOccurs="0" maxOccurs="9">
<!-- Reference to inner class DestinationPref -->
</xs:element>
<xs:element name="CategoryPref" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class CategoryPref -->
</xs:element>
<xs:element name="KeywordPref" minOccurs="0" maxOccurs="6">
<!-- Reference to inner class KeywordPref -->
</xs:element>
<xs:element type="ns:CompanyNamePrefType" name="SupplierPref" minOccurs="0" maxOccurs="6"/>
<xs:element name="CustomerCounts" minOccurs="0" maxOccurs="6">
<xs:complexType>
<xs:attributeGroup ref="ns:TravelerCountGroup"/>
</xs:complexType>
</xs:element>
<xs:element name="PricePref" minOccurs="0">
<!-- Reference to inner class PricePref -->
</xs:element>
<xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
</xs:sequence>
<xs:attribute type="xs:string" use="optional" name="MoreDataEchoToken"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
<xs:attributeGroup ref="ns:MaxResponsesGroup"/>
</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>
| Nested Class Summary | |
|---|---|
static class |
SearchRQ.CategoryPref
Inidicates a preference for a category of tour. |
static class |
SearchRQ.DestinationPref
Up to 9 destinations to be included in or excluded from the search Schema fragment(s) for this class: |
static class |
SearchRQ.KeywordPref
Allows the inclusion or exclusion of keywords to be matched. |
static class |
SearchRQ.PricePref
Range or limit of budget. |
static class |
SearchRQ.SearchDateRange
The preferred start date and allowable time window for the search. |
| Constructor Summary | |
|---|---|
SearchRQ()
|
|
| Method Summary | |
|---|---|
void |
addCategoryPref(SearchRQ.CategoryPref item)
Add a 'CategoryPref' element item. |
void |
addDestinationPref(SearchRQ.DestinationPref item)
Add a 'DestinationPref' element item. |
void |
addKeywordPref(SearchRQ.KeywordPref item)
Add a 'KeywordPref' element item. |
void |
addSearchCriteriaCustomerCount(TravelerCountGroup item)
Add a 'CustomerCounts' element item. |
void |
addSearchCriteriaSupplierPref(CompanyNamePref item)
Add a 'SupplierPref' element item. |
void |
clearCategoryPrefs()
Remove all 'CategoryPref' element items. |
void |
clearDestinationPrefs()
Remove all 'DestinationPref' element items. |
void |
clearKeywordPrefs()
Remove all 'KeywordPref' element items. |
void |
clearSearchCriteriaCustomerCounts()
Remove all 'CustomerCounts' element items. |
void |
clearSearchCriteriaSupplierPrefs()
Remove all 'SupplierPref' element items. |
SearchRQ.CategoryPref |
getCategoryPref(int index)
Get 'CategoryPref' element item by position. |
java.util.List<SearchRQ.CategoryPref> |
getCategoryPrefs()
Get the list of 'CategoryPref' element items. |
SearchRQ.DestinationPref |
getDestinationPref(int index)
Get 'DestinationPref' element item by position. |
java.util.List<SearchRQ.DestinationPref> |
getDestinationPrefs()
Get the list of 'DestinationPref' element items. |
SearchRQ.KeywordPref |
getKeywordPref(int index)
Get 'KeywordPref' element item by position. |
java.util.List<SearchRQ.KeywordPref> |
getKeywordPrefs()
Get the list of 'KeywordPref' element items. |
java.lang.String |
getMaxResponses()
Get the 'MaxResponses' attribute value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
POS |
getPOS()
Get the 'POS' element value. |
SearchRQ.PricePref |
getPricePref()
Get the 'PricePref' element value. |
TravelerCountGroup |
getSearchCriteriaCustomerCount(int index)
Get 'CustomerCounts' element item by position. |
java.util.List<TravelerCountGroup> |
getSearchCriteriaCustomerCounts()
Get the list of 'CustomerCounts' element items. |
java.lang.String |
getSearchCriteriaMoreDataEchoToken()
Get the 'MoreDataEchoToken' attribute value. |
CompanyNamePref |
getSearchCriteriaSupplierPref(int index)
Get 'SupplierPref' element item by position. |
java.util.List<CompanyNamePref> |
getSearchCriteriaSupplierPrefs()
Get the list of 'SupplierPref' element items. |
TPAExtensions |
getSearchCriteriaTPAExtensions()
Get the 'TPA_Extensions' element value. |
SearchRQ.SearchDateRange |
getSearchDateRange()
Get the 'SearchDateRange' element value. |
void |
setCategoryPrefs(java.util.List<SearchRQ.CategoryPref> list)
Set the list of 'CategoryPref' element items. |
void |
setDestinationPrefs(java.util.List<SearchRQ.DestinationPref> list)
Set the list of 'DestinationPref' element items. |
void |
setKeywordPrefs(java.util.List<SearchRQ.KeywordPref> list)
Set the list of 'KeywordPref' element items. |
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 |
setPricePref(SearchRQ.PricePref pricePref)
Set the 'PricePref' element value. |
void |
setSearchCriteriaCustomerCounts(java.util.List<TravelerCountGroup> list)
Set the list of 'CustomerCounts' element items. |
void |
setSearchCriteriaMoreDataEchoToken(java.lang.String searchCriteriaMoreDataEchoToken)
Set the 'MoreDataEchoToken' attribute value. |
void |
setSearchCriteriaSupplierPrefs(java.util.List<CompanyNamePref> list)
Set the list of 'SupplierPref' element items. |
void |
setSearchCriteriaTPAExtensions(TPAExtensions searchCriteriaTPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setSearchDateRange(SearchRQ.SearchDateRange searchDateRange)
Set the 'SearchDateRange' element value. |
int |
sizeCategoryPrefs()
Get the number of 'CategoryPref' element items. |
int |
sizeDestinationPrefs()
Get the number of 'DestinationPref' element items. |
int |
sizeKeywordPrefs()
Get the number of 'KeywordPref' element items. |
int |
sizeSearchCriteriaCustomerCounts()
Get the number of 'CustomerCounts' element items. |
int |
sizeSearchCriteriaSupplierPrefs()
Get the number of 'SupplierPref' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchRQ()
| Method Detail |
|---|
public POS getPOS()
public void setPOS(POS POS)
POS - public SearchRQ.SearchDateRange getSearchDateRange()
public void setSearchDateRange(SearchRQ.SearchDateRange searchDateRange)
searchDateRange - public java.util.List<SearchRQ.DestinationPref> getDestinationPrefs()
public void setDestinationPrefs(java.util.List<SearchRQ.DestinationPref> list)
list - public int sizeDestinationPrefs()
public void addDestinationPref(SearchRQ.DestinationPref item)
item - public SearchRQ.DestinationPref getDestinationPref(int index)
index -
public void clearDestinationPrefs()
public java.util.List<SearchRQ.CategoryPref> getCategoryPrefs()
public void setCategoryPrefs(java.util.List<SearchRQ.CategoryPref> list)
list - public int sizeCategoryPrefs()
public void addCategoryPref(SearchRQ.CategoryPref item)
item - public SearchRQ.CategoryPref getCategoryPref(int index)
index -
public void clearCategoryPrefs()
public java.util.List<SearchRQ.KeywordPref> getKeywordPrefs()
public void setKeywordPrefs(java.util.List<SearchRQ.KeywordPref> list)
list - public int sizeKeywordPrefs()
public void addKeywordPref(SearchRQ.KeywordPref item)
item - public SearchRQ.KeywordPref getKeywordPref(int index)
index -
public void clearKeywordPrefs()
public java.util.List<CompanyNamePref> getSearchCriteriaSupplierPrefs()
public void setSearchCriteriaSupplierPrefs(java.util.List<CompanyNamePref> list)
list - public int sizeSearchCriteriaSupplierPrefs()
public void addSearchCriteriaSupplierPref(CompanyNamePref item)
item - public CompanyNamePref getSearchCriteriaSupplierPref(int index)
index -
public void clearSearchCriteriaSupplierPrefs()
public java.util.List<TravelerCountGroup> getSearchCriteriaCustomerCounts()
public void setSearchCriteriaCustomerCounts(java.util.List<TravelerCountGroup> list)
list - public int sizeSearchCriteriaCustomerCounts()
public void addSearchCriteriaCustomerCount(TravelerCountGroup item)
item - public TravelerCountGroup getSearchCriteriaCustomerCount(int index)
index -
public void clearSearchCriteriaCustomerCounts()
public SearchRQ.PricePref getPricePref()
public void setPricePref(SearchRQ.PricePref pricePref)
pricePref - public TPAExtensions getSearchCriteriaTPAExtensions()
public void setSearchCriteriaTPAExtensions(TPAExtensions searchCriteriaTPAExtensions)
searchCriteriaTPAExtensions - public java.lang.String getSearchCriteriaMoreDataEchoToken()
public void setSearchCriteriaMoreDataEchoToken(java.lang.String searchCriteriaMoreDataEchoToken)
searchCriteriaMoreDataEchoToken - public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes - public java.lang.String getMaxResponses()
public void setMaxResponses(java.lang.String maxResponses)
maxResponses -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||