org.ota.shared
Class ItemSearchCriterion.Address

java.lang.Object
  extended by org.ota.shared.Address
      extended by org.ota.shared.ItemSearchCriterion.Address
Enclosing class:
ItemSearchCriterion

public static class ItemSearchCriterion.Address
extends Address

Uses any part of address information, such as street name, postal code, or country code. 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="Address" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:AddressType">
         <xs:attribute type="xs:boolean" use="optional" name="SameCountryInd"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.shared.Address
Address.BldgRoom, Address.StreetNmbr
 
Constructor Summary
ItemSearchCriterion.Address()
           
 
Method Summary
 java.lang.Boolean getSameCountryInd()
          Get the 'SameCountryInd' attribute value.
 void setSameCountryInd(java.lang.Boolean sameCountryInd)
          Set the 'SameCountryInd' attribute value.
 
Methods inherited from class org.ota.shared.Address
addAddressLine, addBldgRoom, clearAddressLines, clearBldgRooms, getAddressLine, getAddressLines, getBldgRoom, getBldgRooms, getCityName, getCountryName, getCounty, getFormattedInd, getPostalCode, getPrivacyGroup, getRemark, getStateProv, getStreetNmbr, getType, setAddressLines, setBldgRooms, setCityName, setCountryName, setCounty, setFormattedInd, setPostalCode, setPrivacyGroup, setRemark, setStateProv, setStreetNmbr, setType, sizeAddressLines, sizeBldgRooms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemSearchCriterion.Address

public ItemSearchCriterion.Address()
Method Detail

getSameCountryInd

public java.lang.Boolean getSameCountryInd()
Get the 'SameCountryInd' attribute value. When true, only locations in the same country as the specified city's country should be selected.

Returns:
value

setSameCountryInd

public void setSameCountryInd(java.lang.Boolean sameCountryInd)
Set the 'SameCountryInd' attribute value. When true, only locations in the same country as the specified city's country should be selected.

Parameters:
sameCountryInd -