org.ota.hotel
Class HotelSearchCriteria.Criterion

java.lang.Object
  extended by org.ota.shared.ItemSearchCriterion
      extended by org.ota.hotel.HotelSearchCriterion
          extended by org.ota.hotel.HotelSearchCriteria.Criterion
Enclosing class:
HotelSearchCriteria

public static class HotelSearchCriteria.Criterion
extends HotelSearchCriterion

Child elements that identify a single search criterion by criteria type. Because many of the types include partial matches to string values such as partial addresses (street names without a number) or partial telephone numbers (area code or three-digit prefix area, etc.) a ExactMatch attribute indicates whether the match to the string value must be exact. 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="Criterion" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:HotelSearchCriterionType">
         <xs:attribute type="xs:string" use="optional" name="MoreDataEchoToken"/>
         <xs:attribute type="xs:string" use="optional" name="InfoSource"/>
         <xs:attribute use="optional" name="AlternateAvailability">
           <xs:simpleType>
             <!-- Reference to inner class AlternateAvailability -->
           </xs:simpleType>
         </xs:attribute>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelSearchCriteria.Criterion.AlternateAvailability
          Schema fragment(s) for this class:
 
Nested classes/interfaces inherited from class org.ota.hotel.HotelSearchCriterion
HotelSearchCriterion.Award, HotelSearchCriterion.HotelAmenity, HotelSearchCriterion.HotelFeature, HotelSearchCriterion.HotelMeetingFacility, HotelSearchCriterion.Media, HotelSearchCriterion.RateRange, HotelSearchCriterion.Recreation, HotelSearchCriterion.RoomStayCandidates, HotelSearchCriterion.Service, HotelSearchCriterion.Transportation
 
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
HotelSearchCriteria.Criterion()
           
 
Method Summary
 HotelSearchCriteria.Criterion.AlternateAvailability getAlternateAvailability()
          Get the 'AlternateAvailability' attribute value.
 java.lang.String getInfoSource()
          Get the 'InfoSource' attribute value.
 java.lang.String getMoreDataEchoToken()
          Get the 'MoreDataEchoToken' attribute value.
 void setAlternateAvailability(HotelSearchCriteria.Criterion.AlternateAvailability alternateAvailability)
          Set the 'AlternateAvailability' attribute value.
 void setInfoSource(java.lang.String infoSource)
          Set the 'InfoSource' attribute value.
 void setMoreDataEchoToken(java.lang.String moreDataEchoToken)
          Set the 'MoreDataEchoToken' attribute value.
 
Methods inherited from class org.ota.hotel.HotelSearchCriterion
addAward, addHotelAmenity, addHotelFeature, addMedia, addRateRange, addRecreation, addRoomAmenity, addService, addTransportation, clearAwards, clearHotelAmenities, clearHotelFeatures, clearMedias, clearRateRanges, clearRecreations, clearRoomAmenities, clearServices, clearTransportations, getAcceptedPayments, getAward, getAwards, getHotelAmenities, getHotelAmenity, getHotelFeature, getHotelFeatures, getHotelMeetingFacility, getMedia, getMedias, getProfiles, getRatePlanCandidates, getRateRange, getRateRanges, getRecreation, getRecreations, getRoomAmenities, getRoomAmenity, getRoomStayCandidates, getService, getServices, getStayDateRange, getTPAExtensions, getTransportation, getTransportations, setAcceptedPayments, setAwards, setHotelAmenities, setHotelFeatures, setHotelMeetingFacility, setMedias, setProfiles, setRatePlanCandidates, setRateRanges, setRecreations, setRoomAmenities, setRoomStayCandidates, setServices, setStayDateRange, setTPAExtensions, setTransportations, sizeAwards, sizeHotelAmenities, sizeHotelFeatures, sizeMedias, sizeRateRanges, sizeRecreations, sizeRoomAmenities, sizeServices, sizeTransportations
 
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

HotelSearchCriteria.Criterion

public HotelSearchCriteria.Criterion()
Method Detail

getMoreDataEchoToken

public java.lang.String getMoreDataEchoToken()
Get the 'MoreDataEchoToken' attribute value. The search response returns this attribute if there were additional items that could not fit within the response. The text value returned should be echoed in the subsequent request to indicate where to begin the next block of data.

Returns:
value

setMoreDataEchoToken

public void setMoreDataEchoToken(java.lang.String moreDataEchoToken)
Set the 'MoreDataEchoToken' attribute value. The search response returns this attribute if there were additional items that could not fit within the response. The text value returned should be echoed in the subsequent request to indicate where to begin the next block of data.

Parameters:
moreDataEchoToken -

getInfoSource

public java.lang.String getInfoSource()
Get the 'InfoSource' attribute value. Used to specify the source of the data being exchanged as determined by trading partners.

Returns:
value

setInfoSource

public void setInfoSource(java.lang.String infoSource)
Set the 'InfoSource' attribute value. Used to specify the source of the data being exchanged as determined by trading partners.

Parameters:
infoSource -

getAlternateAvailability

public HotelSearchCriteria.Criterion.AlternateAvailability getAlternateAvailability()
Get the 'AlternateAvailability' attribute value. Identifies under what circumstances alternate availability should be returned.

Returns:
value

setAlternateAvailability

public void setAlternateAvailability(HotelSearchCriteria.Criterion.AlternateAvailability alternateAvailability)
Set the 'AlternateAvailability' attribute value. Identifies under what circumstances alternate availability should be returned.

Parameters:
alternateAvailability -