org.ota.shared
Class AddressPref

java.lang.Object
  extended by org.ota.shared.AddressPref

public class AddressPref
extends java.lang.Object

Identifies an address preference. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AddressPrefType">
   <xs:sequence>
     <xs:element type="ns:AddressInfoType" name="Address"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
 </xs:complexType>
 


Constructor Summary
AddressPref()
           
 
Method Summary
 AddressInfo getAddress()
          Get the 'Address' element value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 void setAddress(AddressInfo address)
          Set the 'Address' element value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressPref

public AddressPref()
Method Detail

getAddress

public AddressInfo getAddress()
Get the 'Address' element value. Defines a physical address.

Returns:
value

setAddress

public void setAddress(AddressInfo address)
Set the 'Address' element value. Defines a physical address.

Parameters:
address -

getPrivacyGroup

public PrivacyGroup getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of address preferences between parties.

Returns:
value

setPrivacyGroup

public void setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of address preferences between parties.

Parameters:
privacyGroup -