|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.shared.ItemSearchCriterion
public class ItemSearchCriterion
Identifies the criterion for a search. 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="ItemSearchCriterionType">
<xs:sequence>
<xs:element name="Position" minOccurs="0">
<xs:complexType>
<xs:attributeGroup ref="ns:PositionGroup"/>
</xs:complexType>
</xs:element>
<xs:element name="Address" minOccurs="0">
<!-- Reference to inner class Address -->
</xs:element>
<xs:element name="Telephone" minOccurs="0">
<xs:complexType>
<xs:attributeGroup ref="ns:TelephoneGroup"/>
</xs:complexType>
</xs:element>
<xs:element name="RefPoint" minOccurs="0" maxOccurs="999">
<!-- Reference to inner class RefPoint -->
</xs:element>
<xs:element name="CodeRef" minOccurs="0">
<!-- Reference to inner class CodeRef -->
</xs:element>
<xs:element name="HotelRef" minOccurs="0" maxOccurs="99">
<!-- Reference to inner class HotelRef -->
</xs:element>
<xs:element name="Radius" minOccurs="0">
<!-- Reference to inner class Radius -->
</xs:element>
<xs:element name="MapArea" minOccurs="0">
<!-- Reference to inner class MapArea -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:boolean" use="optional" name="ExactMatch"/>
<xs:attribute use="optional" name="ImportanceType">
<xs:simpleType>
<!-- Reference to inner class Importance -->
</xs:simpleType>
</xs:attribute>
<xs:attribute type="xs:int" use="optional" name="Ranking"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
ItemSearchCriterion.Address
Uses any part of address information, such as street name, postal code, or country code. |
static class |
ItemSearchCriterion.CodeRef
Indicates the location of points of interest. |
static class |
ItemSearchCriterion.HotelRef
Indicates the detail of hotel reference information. |
static class |
ItemSearchCriterion.Importance
Schema fragment(s) for this class: |
static class |
ItemSearchCriterion.MapArea
Provides coordinates used to define the area of a map. |
static class |
ItemSearchCriterion.Radius
Used to specify the extent of a search area. |
static class |
ItemSearchCriterion.RefPoint
The Reference Point element allows for a search by proximity to a designated reference point by name. |
| Constructor Summary | |
|---|---|
ItemSearchCriterion()
|
|
| Method Summary | |
|---|---|
void |
addHotelRef(ItemSearchCriterion.HotelRef item)
Add a 'HotelRef' element item. |
void |
addRefPoint(ItemSearchCriterion.RefPoint item)
Add a 'RefPoint' element item. |
void |
clearHotelRefs()
Remove all 'HotelRef' element items. |
void |
clearRefPoints()
Remove all 'RefPoint' element items. |
ItemSearchCriterion.Address |
getAddress()
Get the 'Address' element value. |
ItemSearchCriterion.CodeRef |
getCodeRef()
Get the 'CodeRef' element value. |
java.lang.Boolean |
getExactMatch()
Get the 'ExactMatch' attribute value. |
ItemSearchCriterion.HotelRef |
getHotelRef(int index)
Get 'HotelRef' element item by position. |
java.util.List<ItemSearchCriterion.HotelRef> |
getHotelRefs()
Get the list of 'HotelRef' element items. |
ItemSearchCriterion.Importance |
getImportance()
Get the 'ImportanceType' attribute value. |
ItemSearchCriterion.MapArea |
getMapArea()
Get the 'MapArea' element value. |
PositionGroup |
getPosition()
Get the 'PositionGroup' attributeGroup value. |
ItemSearchCriterion.Radius |
getRadius()
Get the 'Radius' element value. |
java.lang.Integer |
getRanking()
Get the 'Ranking' attribute value. |
ItemSearchCriterion.RefPoint |
getRefPoint(int index)
Get 'RefPoint' element item by position. |
java.util.List<ItemSearchCriterion.RefPoint> |
getRefPoints()
Get the list of 'RefPoint' element items. |
TelephoneGroup |
getTelephone()
Get the 'TelephoneGroup' attributeGroup value. |
void |
setAddress(ItemSearchCriterion.Address address)
Set the 'Address' element value. |
void |
setCodeRef(ItemSearchCriterion.CodeRef codeRef)
Set the 'CodeRef' element value. |
void |
setExactMatch(java.lang.Boolean exactMatch)
Set the 'ExactMatch' attribute value. |
void |
setHotelRefs(java.util.List<ItemSearchCriterion.HotelRef> list)
Set the list of 'HotelRef' element items. |
void |
setImportance(ItemSearchCriterion.Importance importance)
Set the 'ImportanceType' attribute value. |
void |
setMapArea(ItemSearchCriterion.MapArea mapArea)
Set the 'MapArea' element value. |
void |
setPosition(PositionGroup position)
Set the 'PositionGroup' attributeGroup value. |
void |
setRadius(ItemSearchCriterion.Radius radius)
Set the 'Radius' element value. |
void |
setRanking(java.lang.Integer ranking)
Set the 'Ranking' attribute value. |
void |
setRefPoints(java.util.List<ItemSearchCriterion.RefPoint> list)
Set the list of 'RefPoint' element items. |
void |
setTelephone(TelephoneGroup telephone)
Set the 'TelephoneGroup' attributeGroup value. |
int |
sizeHotelRefs()
Get the number of 'HotelRef' element items. |
int |
sizeRefPoints()
Get the number of 'RefPoint' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemSearchCriterion()
| Method Detail |
|---|
public PositionGroup getPosition()
public void setPosition(PositionGroup position)
position - public ItemSearchCriterion.Address getAddress()
public void setAddress(ItemSearchCriterion.Address address)
address - public TelephoneGroup getTelephone()
public void setTelephone(TelephoneGroup telephone)
telephone - public java.util.List<ItemSearchCriterion.RefPoint> getRefPoints()
public void setRefPoints(java.util.List<ItemSearchCriterion.RefPoint> list)
list - public int sizeRefPoints()
public void addRefPoint(ItemSearchCriterion.RefPoint item)
item - public ItemSearchCriterion.RefPoint getRefPoint(int index)
index -
public void clearRefPoints()
public ItemSearchCriterion.CodeRef getCodeRef()
public void setCodeRef(ItemSearchCriterion.CodeRef codeRef)
codeRef - public java.util.List<ItemSearchCriterion.HotelRef> getHotelRefs()
public void setHotelRefs(java.util.List<ItemSearchCriterion.HotelRef> list)
list - public int sizeHotelRefs()
public void addHotelRef(ItemSearchCriterion.HotelRef item)
item - public ItemSearchCriterion.HotelRef getHotelRef(int index)
index -
public void clearHotelRefs()
public ItemSearchCriterion.Radius getRadius()
public void setRadius(ItemSearchCriterion.Radius radius)
radius - public ItemSearchCriterion.MapArea getMapArea()
public void setMapArea(ItemSearchCriterion.MapArea mapArea)
mapArea - public java.lang.Boolean getExactMatch()
public void setExactMatch(java.lang.Boolean exactMatch)
exactMatch - public ItemSearchCriterion.Importance getImportance()
public void setImportance(ItemSearchCriterion.Importance importance)
importance - public java.lang.Integer getRanking()
public void setRanking(java.lang.Integer ranking)
ranking -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||