org.ota.hotel
Class Properties.Property

java.lang.Object
  extended by org.ota.hotel.Properties.Property
Enclosing class:
Properties

public static class Properties.Property
extends java.lang.Object

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="Property" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:PropertyValueMatchType">
         <xs:sequence>
           <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PropertyValueMatchType">
   <xs:complexContent>
     <xs:extension base="ns:BasicPropertyInfoType">
       <xs:sequence>
         <xs:element name="SearchValueMatch" minOccurs="0" maxOccurs="unbounded">
           <!-- Reference to inner class SearchValueMatch -->
         </xs:element>
         <xs:element name="Amenities" minOccurs="0">
           <!-- Reference to inner class Amenities -->
         </xs:element>
         <xs:element name="RateRange" minOccurs="0">
           <!-- Reference to inner class RateRange -->
         </xs:element>
       </xs:sequence>
       <xs:attribute type="xs:string" use="optional" name="MoreDataEchoToken"/>
       <xs:attribute type="xs:boolean" use="optional" name="SameCountryInd"/>
       <xs:attribute type="ns:RateIndicatorType" use="optional" name="AvailabilityStatus"/>
     </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 Properties.Property.Amenities
          A collection of available amenities.
static class Properties.Property.RateRange
          Used to provide the minimum and maximum range of rates at this hotel property.
static class Properties.Property.SearchValueMatch
          The string value used to search for a property is returned.
 
Constructor Summary
Properties.Property()
           
 
Method Summary
 void addSearchValueMatch(Properties.Property.SearchValueMatch item)
          Add a 'SearchValueMatch' element item.
 void clearSearchValueMatchs()
          Remove all 'SearchValueMatch' element items.
 Properties.Property.Amenities getAmenities()
          Get the 'Amenities' element value.
 RateIndicator getAvailabilityStatus()
          Get the 'AvailabilityStatus' attribute value.
 BasicPropertyInfo getBasicPropertyInfo()
          Get the extension value.
 java.lang.String getMoreDataEchoToken()
          Get the 'MoreDataEchoToken' attribute value.
 Properties.Property.RateRange getRateRange()
          Get the 'RateRange' element value.
 java.lang.Boolean getSameCountryInd()
          Get the 'SameCountryInd' attribute value.
 Properties.Property.SearchValueMatch getSearchValueMatch(int index)
          Get 'SearchValueMatch' element item by position.
 java.util.List<Properties.Property.SearchValueMatch> getSearchValueMatchs()
          Get the list of 'SearchValueMatch' element items.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setAmenities(Properties.Property.Amenities amenities)
          Set the 'Amenities' element value.
 void setAvailabilityStatus(RateIndicator availabilityStatus)
          Set the 'AvailabilityStatus' attribute value.
 void setBasicPropertyInfo(BasicPropertyInfo basicPropertyInfo)
          Set the extension value.
 void setMoreDataEchoToken(java.lang.String moreDataEchoToken)
          Set the 'MoreDataEchoToken' attribute value.
 void setRateRange(Properties.Property.RateRange rateRange)
          Set the 'RateRange' element value.
 void setSameCountryInd(java.lang.Boolean sameCountryInd)
          Set the 'SameCountryInd' attribute value.
 void setSearchValueMatchs(java.util.List<Properties.Property.SearchValueMatch> list)
          Set the list of 'SearchValueMatch' element items.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 int sizeSearchValueMatchs()
          Get the number of 'SearchValueMatch' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties.Property

public Properties.Property()
Method Detail

getBasicPropertyInfo

public BasicPropertyInfo getBasicPropertyInfo()
Get the extension value.

Returns:
value

setBasicPropertyInfo

public void setBasicPropertyInfo(BasicPropertyInfo basicPropertyInfo)
Set the extension value.

Parameters:
basicPropertyInfo -

getSearchValueMatchs

public java.util.List<Properties.Property.SearchValueMatch> getSearchValueMatchs()
Get the list of 'SearchValueMatch' element items. A property that matches some or all of the search criteria.

Returns:
list

setSearchValueMatchs

public void setSearchValueMatchs(java.util.List<Properties.Property.SearchValueMatch> list)
Set the list of 'SearchValueMatch' element items. A property that matches some or all of the search criteria.

Parameters:
list -

sizeSearchValueMatchs

public int sizeSearchValueMatchs()
Get the number of 'SearchValueMatch' element items.

Returns:
count

addSearchValueMatch

public void addSearchValueMatch(Properties.Property.SearchValueMatch item)
Add a 'SearchValueMatch' element item.

Parameters:
item -

getSearchValueMatch

public Properties.Property.SearchValueMatch getSearchValueMatch(int index)
Get 'SearchValueMatch' element item by position.

Parameters:
index -
Returns:
item

clearSearchValueMatchs

public void clearSearchValueMatchs()
Remove all 'SearchValueMatch' element items.


getAmenities

public Properties.Property.Amenities getAmenities()
Get the 'Amenities' element value. A property that matches some or all of the search criteria.

Returns:
value

setAmenities

public void setAmenities(Properties.Property.Amenities amenities)
Set the 'Amenities' element value. A property that matches some or all of the search criteria.

Parameters:
amenities -

getRateRange

public Properties.Property.RateRange getRateRange()
Get the 'RateRange' element value. A property that matches some or all of the search criteria.

Returns:
value

setRateRange

public void setRateRange(Properties.Property.RateRange rateRange)
Set the 'RateRange' element value. A property that matches some or all of the search criteria.

Parameters:
rateRange -

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 in "Criteria/Criterion@MoreDataEchoToken" 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 in "Criteria/Criterion@MoreDataEchoToken" to indicate where to begin the next block of data.

Parameters:
moreDataEchoToken -

getSameCountryInd

public java.lang.Boolean getSameCountryInd()
Get the 'SameCountryInd' attribute value. When true, this property is in the same country as the requested city's country. When false, indicates this country is not the same as the requested city's country.

Returns:
value

setSameCountryInd

public void setSameCountryInd(java.lang.Boolean sameCountryInd)
Set the 'SameCountryInd' attribute value. When true, this property is in the same country as the requested city's country. When false, indicates this country is not the same as the requested city's country.

Parameters:
sameCountryInd -

getAvailabilityStatus

public RateIndicator getAvailabilityStatus()
Get the 'AvailabilityStatus' attribute value. The availability status of the property.

Returns:
value

setAvailabilityStatus

public void setAvailabilityStatus(RateIndicator availabilityStatus)
Set the 'AvailabilityStatus' attribute value. The availability status of the property.

Parameters:
availabilityStatus -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -