org.ota.shared
Class Customer.Address

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

public static class Customer.Address
extends AddressInfo

Detailed information on an address for the customer. 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" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:AddressInfoType">
         <xs:sequence>
           <xs:element type="ns:CompanyNameType" name="CompanyName" minOccurs="0"/>
           <xs:element type="ns:PersonNameType" name="AddresseeName" minOccurs="0"/>
         </xs:sequence>
         <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
         <xs:attribute use="optional" name="ValidationStatus">
           <xs:simpleType>
             <!-- Reference to inner class ValidationStatus -->
           </xs:simpleType>
         </xs:attribute>
         <xs:attribute type="ns:TransferActionType" use="optional" name="TransferAction"/>
         <xs:attribute type="xs:string" use="optional" name="ParentCompanyRef"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Customer.Address.ValidationStatus
          Schema fragment(s) for this class:
 
Nested classes/interfaces inherited from class org.ota.shared.Address
Address.BldgRoom, Address.StreetNmbr
 
Constructor Summary
Customer.Address()
           
 
Method Summary
 PersonName getAddresseeName()
          Get the 'AddresseeName' element value.
 CompanyName getCompanyName()
          Get the 'CompanyName' element value.
 EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
          Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 java.lang.String getParentCompanyRef()
          Get the 'ParentCompanyRef' attribute value.
 TransferAction getTransferAction()
          Get the 'TransferAction' attribute value.
 Customer.Address.ValidationStatus getValidationStatus()
          Get the 'ValidationStatus' attribute value.
 void setAddresseeName(PersonName addresseeName)
          Set the 'AddresseeName' element value.
 void setCompanyName(CompanyName companyName)
          Set the 'CompanyName' element value.
 void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
          Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 void setParentCompanyRef(java.lang.String parentCompanyRef)
          Set the 'ParentCompanyRef' attribute value.
 void setTransferAction(TransferAction transferAction)
          Set the 'TransferAction' attribute value.
 void setValidationStatus(Customer.Address.ValidationStatus validationStatus)
          Set the 'ValidationStatus' attribute value.
 
Methods inherited from class org.ota.shared.AddressInfo
getDefaultInd, getRPH, getUse, setDefaultInd, setRPH, setUse
 
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

Customer.Address

public Customer.Address()
Method Detail

getCompanyName

public CompanyName getCompanyName()
Get the 'CompanyName' element value. Identifies a company.

Returns:
value

setCompanyName

public void setCompanyName(CompanyName companyName)
Set the 'CompanyName' element value. Identifies a company.

Parameters:
companyName -

getAddresseeName

public PersonName getAddresseeName()
Get the 'AddresseeName' element value. Name of the person to whom this address relates.

Returns:
value

setAddresseeName

public void setAddresseeName(PersonName addresseeName)
Set the 'AddresseeName' element value. Name of the person to whom this address relates.

Parameters:
addresseeName -

getEffectiveExpireOptionalDateGroup

public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The first and last dates between which this address is in effect.

Returns:
value

setEffectiveExpireOptionalDateGroup

public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The first and last dates between which this address is in effect.

Parameters:
effectiveExpireOptionalDateGroup -

getValidationStatus

public Customer.Address.ValidationStatus getValidationStatus()
Get the 'ValidationStatus' attribute value. Indicates if the address has been validated or not and if it has been successful or not.

Returns:
value

setValidationStatus

public void setValidationStatus(Customer.Address.ValidationStatus validationStatus)
Set the 'ValidationStatus' attribute value. Indicates if the address has been validated or not and if it has been successful or not.

Parameters:
validationStatus -

getTransferAction

public TransferAction getTransferAction()
Get the 'TransferAction' attribute value. Indicates under what conditions the element will be transfered to the booking.

Returns:
value

setTransferAction

public void setTransferAction(TransferAction transferAction)
Set the 'TransferAction' attribute value. Indicates under what conditions the element will be transfered to the booking.

Parameters:
transferAction -

getParentCompanyRef

public java.lang.String getParentCompanyRef()
Get the 'ParentCompanyRef' attribute value. A reference to the company from which this element has been inherited.

Returns:
value

setParentCompanyRef

public void setParentCompanyRef(java.lang.String parentCompanyRef)
Set the 'ParentCompanyRef' attribute value. A reference to the company from which this element has been inherited.

Parameters:
parentCompanyRef -