|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.ItemSearchCriterion
org.ota.hotel.HotelSearchCriterion
public class HotelSearchCriterion
A collection of Profile objects or Unique IDs of Profiles. 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="HotelSearchCriterionType"> <xs:complexContent> <xs:extension base="ns:ItemSearchCriterionType"> <xs:sequence> <xs:element name="HotelAmenity" minOccurs="0" maxOccurs="10"> <!-- Reference to inner class HotelAmenity --> </xs:element> <xs:element type="ns:RoomAmenityPrefType" name="RoomAmenity" minOccurs="0" maxOccurs="5"/> <xs:element name="HotelFeature" minOccurs="0" maxOccurs="10"> <!-- Reference to inner class HotelFeature --> </xs:element> <xs:element name="Award" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Award --> </xs:element> <xs:element name="Recreation" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Recreation --> </xs:element> <xs:element name="Service" minOccurs="0" maxOccurs="99"> <!-- Reference to inner class Service --> </xs:element> <xs:element name="Transportation" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Transportation --> </xs:element> <xs:element type="ns:DateTimeSpanType" name="StayDateRange" minOccurs="0"/> <xs:element name="RateRange" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class RateRange --> </xs:element> <xs:element type="ns:RatePlanCandidatesType" name="RatePlanCandidates" minOccurs="0"/> <xs:element type="ns:ProfilesType" name="Profiles" minOccurs="0"/> <xs:element name="RoomStayCandidates" minOccurs="0"> <!-- Reference to inner class RoomStayCandidates --> </xs:element> <xs:element type="ns:AcceptedPaymentsType" name="AcceptedPayments" minOccurs="0"/> <xs:element name="Media" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Media --> </xs:element> <xs:element name="HotelMeetingFacility" minOccurs="0"> <!-- Reference to inner class HotelMeetingFacility --> </xs:element> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> </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 |
HotelSearchCriterion.Award
An element that identifies the hotel ratings. |
static class |
HotelSearchCriterion.HotelAmenity
Hotel level amenities for searches. |
static class |
HotelSearchCriterion.HotelFeature
Used to search for hotels based on hotel features. |
static class |
HotelSearchCriterion.HotelMeetingFacility
Used to search for hotels based on meeting facility requirements. |
static class |
HotelSearchCriterion.Media
Used to search for hotels based on available media content. |
static class |
HotelSearchCriterion.RateRange
Requested rate or rate range. |
static class |
HotelSearchCriterion.Recreation
Identifies recreation facilities or amenities of interest. |
static class |
HotelSearchCriterion.RoomStayCandidates
Collection of room stay candidates. |
static class |
HotelSearchCriterion.Service
Identifies services of interest. |
static class |
HotelSearchCriterion.Transportation
Identifies transportation facilities. |
Nested classes/interfaces inherited from class org.ota.shared.ItemSearchCriterion |
---|
ItemSearchCriterion.Address, ItemSearchCriterion.CodeRef, ItemSearchCriterion.HotelRef, ItemSearchCriterion.Importance, ItemSearchCriterion.MapArea, ItemSearchCriterion.Radius, ItemSearchCriterion.RefPoint |
Constructor Summary | |
---|---|
HotelSearchCriterion()
|
Method Summary | |
---|---|
void |
addAward(HotelSearchCriterion.Award item)
Add a 'Award' element item. |
void |
addHotelAmenity(HotelSearchCriterion.HotelAmenity item)
Add a 'HotelAmenity' element item. |
void |
addHotelFeature(HotelSearchCriterion.HotelFeature item)
Add a 'HotelFeature' element item. |
void |
addMedia(HotelSearchCriterion.Media item)
Add a 'Media' element item. |
void |
addRateRange(HotelSearchCriterion.RateRange item)
Add a 'RateRange' element item. |
void |
addRecreation(HotelSearchCriterion.Recreation item)
Add a 'Recreation' element item. |
void |
addRoomAmenity(RoomAmenityPref item)
Add a 'RoomAmenity' element item. |
void |
addService(HotelSearchCriterion.Service item)
Add a 'Service' element item. |
void |
addTransportation(HotelSearchCriterion.Transportation item)
Add a 'Transportation' element item. |
void |
clearAwards()
Remove all 'Award' element items. |
void |
clearHotelAmenities()
Remove all 'HotelAmenity' element items. |
void |
clearHotelFeatures()
Remove all 'HotelFeature' element items. |
void |
clearMedias()
Remove all 'Media' element items. |
void |
clearRateRanges()
Remove all 'RateRange' element items. |
void |
clearRecreations()
Remove all 'Recreation' element items. |
void |
clearRoomAmenities()
Remove all 'RoomAmenity' element items. |
void |
clearServices()
Remove all 'Service' element items. |
void |
clearTransportations()
Remove all 'Transportation' element items. |
AcceptedPayments |
getAcceptedPayments()
Get the 'AcceptedPayments' element value. |
HotelSearchCriterion.Award |
getAward(int index)
Get 'Award' element item by position. |
java.util.List<HotelSearchCriterion.Award> |
getAwards()
Get the list of 'Award' element items. |
java.util.List<HotelSearchCriterion.HotelAmenity> |
getHotelAmenities()
Get the list of 'HotelAmenity' element items. |
HotelSearchCriterion.HotelAmenity |
getHotelAmenity(int index)
Get 'HotelAmenity' element item by position. |
HotelSearchCriterion.HotelFeature |
getHotelFeature(int index)
Get 'HotelFeature' element item by position. |
java.util.List<HotelSearchCriterion.HotelFeature> |
getHotelFeatures()
Get the list of 'HotelFeature' element items. |
HotelSearchCriterion.HotelMeetingFacility |
getHotelMeetingFacility()
Get the 'HotelMeetingFacility' element value. |
HotelSearchCriterion.Media |
getMedia(int index)
Get 'Media' element item by position. |
java.util.List<HotelSearchCriterion.Media> |
getMedias()
Get the list of 'Media' element items. |
Profiles |
getProfiles()
Get the 'Profiles' element value. |
RatePlanCandidates |
getRatePlanCandidates()
Get the 'RatePlanCandidates' element value. |
HotelSearchCriterion.RateRange |
getRateRange(int index)
Get 'RateRange' element item by position. |
java.util.List<HotelSearchCriterion.RateRange> |
getRateRanges()
Get the list of 'RateRange' element items. |
HotelSearchCriterion.Recreation |
getRecreation(int index)
Get 'Recreation' element item by position. |
java.util.List<HotelSearchCriterion.Recreation> |
getRecreations()
Get the list of 'Recreation' element items. |
java.util.List<RoomAmenityPref> |
getRoomAmenities()
Get the list of 'RoomAmenity' element items. |
RoomAmenityPref |
getRoomAmenity(int index)
Get 'RoomAmenity' element item by position. |
HotelSearchCriterion.RoomStayCandidates |
getRoomStayCandidates()
Get the 'RoomStayCandidates' element value. |
HotelSearchCriterion.Service |
getService(int index)
Get 'Service' element item by position. |
java.util.List<HotelSearchCriterion.Service> |
getServices()
Get the list of 'Service' element items. |
DateTimeSpan |
getStayDateRange()
Get the 'StayDateRange' element value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
HotelSearchCriterion.Transportation |
getTransportation(int index)
Get 'Transportation' element item by position. |
java.util.List<HotelSearchCriterion.Transportation> |
getTransportations()
Get the list of 'Transportation' element items. |
void |
setAcceptedPayments(AcceptedPayments acceptedPayments)
Set the 'AcceptedPayments' element value. |
void |
setAwards(java.util.List<HotelSearchCriterion.Award> list)
Set the list of 'Award' element items. |
void |
setHotelAmenities(java.util.List<HotelSearchCriterion.HotelAmenity> list)
Set the list of 'HotelAmenity' element items. |
void |
setHotelFeatures(java.util.List<HotelSearchCriterion.HotelFeature> list)
Set the list of 'HotelFeature' element items. |
void |
setHotelMeetingFacility(HotelSearchCriterion.HotelMeetingFacility hotelMeetingFacility)
Set the 'HotelMeetingFacility' element value. |
void |
setMedias(java.util.List<HotelSearchCriterion.Media> list)
Set the list of 'Media' element items. |
void |
setProfiles(Profiles profiles)
Set the 'Profiles' element value. |
void |
setRatePlanCandidates(RatePlanCandidates ratePlanCandidates)
Set the 'RatePlanCandidates' element value. |
void |
setRateRanges(java.util.List<HotelSearchCriterion.RateRange> list)
Set the list of 'RateRange' element items. |
void |
setRecreations(java.util.List<HotelSearchCriterion.Recreation> list)
Set the list of 'Recreation' element items. |
void |
setRoomAmenities(java.util.List<RoomAmenityPref> list)
Set the list of 'RoomAmenity' element items. |
void |
setRoomStayCandidates(HotelSearchCriterion.RoomStayCandidates roomStayCandidates)
Set the 'RoomStayCandidates' element value. |
void |
setServices(java.util.List<HotelSearchCriterion.Service> list)
Set the list of 'Service' element items. |
void |
setStayDateRange(DateTimeSpan stayDateRange)
Set the 'StayDateRange' element value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTransportations(java.util.List<HotelSearchCriterion.Transportation> list)
Set the list of 'Transportation' element items. |
int |
sizeAwards()
Get the number of 'Award' element items. |
int |
sizeHotelAmenities()
Get the number of 'HotelAmenity' element items. |
int |
sizeHotelFeatures()
Get the number of 'HotelFeature' element items. |
int |
sizeMedias()
Get the number of 'Media' element items. |
int |
sizeRateRanges()
Get the number of 'RateRange' element items. |
int |
sizeRecreations()
Get the number of 'Recreation' element items. |
int |
sizeRoomAmenities()
Get the number of 'RoomAmenity' element items. |
int |
sizeServices()
Get the number of 'Service' element items. |
int |
sizeTransportations()
Get the number of 'Transportation' element items. |
Methods inherited from class org.ota.shared.ItemSearchCriterion |
---|
addHotelRef, addRefPoint, clearHotelRefs, clearRefPoints, getAddress, getCodeRef, getExactMatch, getHotelRef, getHotelRefs, getImportance, getMapArea, getPosition, getRadius, getRanking, getRefPoint, getRefPoints, getTelephone, setAddress, setCodeRef, setExactMatch, setHotelRefs, setImportance, setMapArea, setPosition, setRadius, setRanking, setRefPoints, setTelephone, sizeHotelRefs, sizeRefPoints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelSearchCriterion()
Method Detail |
---|
public java.util.List<HotelSearchCriterion.HotelAmenity> getHotelAmenities()
public void setHotelAmenities(java.util.List<HotelSearchCriterion.HotelAmenity> list)
list
- public int sizeHotelAmenities()
public void addHotelAmenity(HotelSearchCriterion.HotelAmenity item)
item
- public HotelSearchCriterion.HotelAmenity getHotelAmenity(int index)
index
-
public void clearHotelAmenities()
public java.util.List<RoomAmenityPref> getRoomAmenities()
public void setRoomAmenities(java.util.List<RoomAmenityPref> list)
list
- public int sizeRoomAmenities()
public void addRoomAmenity(RoomAmenityPref item)
item
- public RoomAmenityPref getRoomAmenity(int index)
index
-
public void clearRoomAmenities()
public java.util.List<HotelSearchCriterion.HotelFeature> getHotelFeatures()
public void setHotelFeatures(java.util.List<HotelSearchCriterion.HotelFeature> list)
list
- public int sizeHotelFeatures()
public void addHotelFeature(HotelSearchCriterion.HotelFeature item)
item
- public HotelSearchCriterion.HotelFeature getHotelFeature(int index)
index
-
public void clearHotelFeatures()
public java.util.List<HotelSearchCriterion.Award> getAwards()
public void setAwards(java.util.List<HotelSearchCriterion.Award> list)
list
- public int sizeAwards()
public void addAward(HotelSearchCriterion.Award item)
item
- public HotelSearchCriterion.Award getAward(int index)
index
-
public void clearAwards()
public java.util.List<HotelSearchCriterion.Recreation> getRecreations()
public void setRecreations(java.util.List<HotelSearchCriterion.Recreation> list)
list
- public int sizeRecreations()
public void addRecreation(HotelSearchCriterion.Recreation item)
item
- public HotelSearchCriterion.Recreation getRecreation(int index)
index
-
public void clearRecreations()
public java.util.List<HotelSearchCriterion.Service> getServices()
public void setServices(java.util.List<HotelSearchCriterion.Service> list)
list
- public int sizeServices()
public void addService(HotelSearchCriterion.Service item)
item
- public HotelSearchCriterion.Service getService(int index)
index
-
public void clearServices()
public java.util.List<HotelSearchCriterion.Transportation> getTransportations()
public void setTransportations(java.util.List<HotelSearchCriterion.Transportation> list)
list
- public int sizeTransportations()
public void addTransportation(HotelSearchCriterion.Transportation item)
item
- public HotelSearchCriterion.Transportation getTransportation(int index)
index
-
public void clearTransportations()
public DateTimeSpan getStayDateRange()
public void setStayDateRange(DateTimeSpan stayDateRange)
stayDateRange
- public java.util.List<HotelSearchCriterion.RateRange> getRateRanges()
public void setRateRanges(java.util.List<HotelSearchCriterion.RateRange> list)
list
- public int sizeRateRanges()
public void addRateRange(HotelSearchCriterion.RateRange item)
item
- public HotelSearchCriterion.RateRange getRateRange(int index)
index
-
public void clearRateRanges()
public RatePlanCandidates getRatePlanCandidates()
public void setRatePlanCandidates(RatePlanCandidates ratePlanCandidates)
ratePlanCandidates
- public Profiles getProfiles()
public void setProfiles(Profiles profiles)
profiles
- public HotelSearchCriterion.RoomStayCandidates getRoomStayCandidates()
public void setRoomStayCandidates(HotelSearchCriterion.RoomStayCandidates roomStayCandidates)
roomStayCandidates
- public AcceptedPayments getAcceptedPayments()
public void setAcceptedPayments(AcceptedPayments acceptedPayments)
acceptedPayments
- public java.util.List<HotelSearchCriterion.Media> getMedias()
public void setMedias(java.util.List<HotelSearchCriterion.Media> list)
list
- public int sizeMedias()
public void addMedia(HotelSearchCriterion.Media item)
item
- public HotelSearchCriterion.Media getMedia(int index)
index
-
public void clearMedias()
public HotelSearchCriterion.HotelMeetingFacility getHotelMeetingFacility()
public void setHotelMeetingFacility(HotelSearchCriterion.HotelMeetingFacility hotelMeetingFacility)
hotelMeetingFacility
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |