org.ota.hotel
Class Properties.Property.SearchValueMatch

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

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

The string value used to search for a property is returned. The SearchValueMatch element returns the input value and offers systems the ability to generate text in the Warnings that communicate the reason for failure to locate a hotel. For example, a Reference Point search may return the following processing message; "No hotels found within 5 miles of Oswego Regional Airport". 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="SearchValueMatch" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:boolean" use="required" name="Match"/>
         <xs:attribute type="xs:float" name="Relevance"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Properties.Property.SearchValueMatch()
           
 
Method Summary
 java.lang.Boolean getMatch()
          Get the 'Match' attribute value.
 java.lang.Float getRelevance()
          Get the 'Relevance' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setMatch(java.lang.Boolean match)
          Set the 'Match' attribute value.
 void setRelevance(java.lang.Float relevance)
          Set the 'Relevance' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties.Property.SearchValueMatch

public Properties.Property.SearchValueMatch()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getMatch

public java.lang.Boolean getMatch()
Get the 'Match' attribute value. Indication of whether a match was found. The datatype is Boolean (true | false).

Returns:
value

setMatch

public void setMatch(java.lang.Boolean match)
Set the 'Match' attribute value. Indication of whether a match was found. The datatype is Boolean (true | false).

Parameters:
match -

getRelevance

public java.lang.Float getRelevance()
Get the 'Relevance' attribute value. An optional attribute, expressed as a decimal value, representing a percentage of 100%, used to indicate the degree to which the property identified meets the search criteria.

Returns:
value

setRelevance

public void setRelevance(java.lang.Float relevance)
Set the 'Relevance' attribute value. An optional attribute, expressed as a decimal value, representing a percentage of 100%, used to indicate the degree to which the property identified meets the search criteria.

Parameters:
relevance -