|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Properties.Property.SearchValueMatch
public static class Properties.Property.SearchValueMatch
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 |
---|
public Properties.Property.SearchValueMatch()
Method Detail |
---|
public java.lang.String getString()
public void setString(java.lang.String string)
string
- public java.lang.Boolean getMatch()
public void setMatch(java.lang.Boolean match)
match
- public java.lang.Float getRelevance()
public void setRelevance(java.lang.Float relevance)
relevance
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |