org.ota.tour
Class SearchRQ.DestinationPref

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

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

Up to 9 destinations to be included in or excluded from the search 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="DestinationPref" minOccurs="0" maxOccurs="9">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:CountryNameType">
         <xs:attribute type="xs:string" use="optional" name="StateCodeList"/>
         <xs:attributeGroup ref="ns:RegionGroup"/>
         <xs:attribute type="xs:string" use="optional" name="Placemark"/>
         <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.DestinationPref()
           
 
Method Summary
 CountryName getCountryName()
          Get the extension value.
 java.lang.String getPlacemark()
          Get the 'Placemark' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 RegionGroup getRegionGroup()
          Get the 'RegionGroup' attributeGroup value.
 java.lang.String getStateCodeList()
          Get the 'StateCodeList' attribute value.
 void setCountryName(CountryName countryName)
          Set the extension value.
 void setPlacemark(java.lang.String placemark)
          Set the 'Placemark' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setRegionGroup(RegionGroup regionGroup)
          Set the 'RegionGroup' attributeGroup value.
 void setStateCodeList(java.lang.String stateCodeList)
          Set the 'StateCodeList' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRQ.DestinationPref

public SearchRQ.DestinationPref()
Method Detail

getCountryName

public CountryName getCountryName()
Get the extension value.

Returns:
value

setCountryName

public void setCountryName(CountryName countryName)
Set the extension value.

Parameters:
countryName -

getStateCodeList

public java.lang.String getStateCodeList()
Get the 'StateCodeList' attribute value. One or more postal service standard codes or abbreviations for the state or province.

Returns:
value

setStateCodeList

public void setStateCodeList(java.lang.String stateCodeList)
Set the 'StateCodeList' attribute value. One or more postal service standard codes or abbreviations for the state or province.

Parameters:
stateCodeList -

getRegionGroup

public RegionGroup getRegionGroup()
Get the 'RegionGroup' attributeGroup value. Region information for the tour.

Returns:
value

setRegionGroup

public void setRegionGroup(RegionGroup regionGroup)
Set the 'RegionGroup' attributeGroup value. Region information for the tour.

Parameters:
regionGroup -

getPlacemark

public java.lang.String getPlacemark()
Get the 'Placemark' attribute value. A free-form definition of the destination's position. Could be used as an online mapping service locator.

Returns:
value

setPlacemark

public void setPlacemark(java.lang.String placemark)
Set the 'Placemark' attribute value. A free-form definition of the destination's position. Could be used as an online mapping service locator.

Parameters:
placemark -

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 -