org.ota.tour
Class SearchRQ.KeywordPref

java.lang.Object
  extended by org.ota.tour.SearchRQ.KeywordPref
Enclosing class:
SearchRQ

public static class SearchRQ.KeywordPref
extends java.lang.Object

Allows the inclusion or exclusion of keywords to be matched. 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="KeywordPref" minOccurs="0" maxOccurs="6">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="optional" name="Type"/>
         <xs:attributeGroup ref="ns:PreferLevelGroup"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
SearchRQ.KeywordPref()
           
 
Method Summary
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 java.lang.String getString()
          Get the extension value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRQ.KeywordPref

public SearchRQ.KeywordPref()
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 -

getType

public java.lang.String getType()
Get the 'Type' attribute value. Describes the category of keywords being presented.

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. Describes the category of keywords being presented.

Parameters:
type -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -