org.ota.cruise
Class DocumentHandling

java.lang.Object
  extended by org.ota.cruise.DocumentHandling
Direct Known Subclasses:
BookingDocumentRQ.CruiseDocument, BookingDocumentRS.CruiseDocument

public class DocumentHandling
extends java.lang.Object

Specifies the document handling information. 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="DocumentHandlingType">
   <xs:sequence>
     <xs:element name="VendorOption" minOccurs="0" maxOccurs="5">
       <!-- Reference to inner class VendorOption -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="DocumentTypeCode"/>
   <xs:attribute type="xs:string" use="optional" name="DeliveryMethodCode"/>
   <xs:attribute type="xs:string" use="optional" name="DocumentDestination"/>
   <xs:attribute type="xs:boolean" use="optional" name="SelectedOptionIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="DefaultIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="AddressRequiredIndicator"/>
   <xs:attribute type="xs:string" use="optional" name="AddressRPH"/>
   <xs:attribute type="xs:string" use="optional" name="EmailRPH"/>
   <xs:attribute type="xs:string" use="optional" name="TelephoneRPH"/>
   <xs:attribute type="xs:string" use="optional" name="DocumentLanguage"/>
 </xs:complexType>
 


Nested Class Summary
static class DocumentHandling.VendorOption
          Indicates vendors available for document delivery.
 
Constructor Summary
DocumentHandling()
           
 
Method Summary
 void addVendorOption(DocumentHandling.VendorOption item)
          Add a 'VendorOption' element item.
 void clearVendorOptions()
          Remove all 'VendorOption' element items.
 java.lang.Boolean getAddressRequiredIndicator()
          Get the 'AddressRequiredIndicator' attribute value.
 java.lang.String getAddressRPH()
          Get the 'AddressRPH' attribute value.
 java.lang.Boolean getDefaultIndicator()
          Get the 'DefaultIndicator' attribute value.
 java.lang.String getDeliveryMethodCode()
          Get the 'DeliveryMethodCode' attribute value.
 java.lang.String getDocumentDestination()
          Get the 'DocumentDestination' attribute value.
 java.lang.String getDocumentLanguage()
          Get the 'DocumentLanguage' attribute value.
 java.lang.String getDocumentTypeCode()
          Get the 'DocumentTypeCode' attribute value.
 java.lang.String getEmailRPH()
          Get the 'EmailRPH' attribute value.
 java.lang.Boolean getSelectedOptionIndicator()
          Get the 'SelectedOptionIndicator' attribute value.
 java.lang.String getTelephoneRPH()
          Get the 'TelephoneRPH' attribute value.
 DocumentHandling.VendorOption getVendorOption(int index)
          Get 'VendorOption' element item by position.
 java.util.List<DocumentHandling.VendorOption> getVendorOptions()
          Get the list of 'VendorOption' element items.
 void setAddressRequiredIndicator(java.lang.Boolean addressRequiredIndicator)
          Set the 'AddressRequiredIndicator' attribute value.
 void setAddressRPH(java.lang.String addressRPH)
          Set the 'AddressRPH' attribute value.
 void setDefaultIndicator(java.lang.Boolean defaultIndicator)
          Set the 'DefaultIndicator' attribute value.
 void setDeliveryMethodCode(java.lang.String deliveryMethodCode)
          Set the 'DeliveryMethodCode' attribute value.
 void setDocumentDestination(java.lang.String documentDestination)
          Set the 'DocumentDestination' attribute value.
 void setDocumentLanguage(java.lang.String documentLanguage)
          Set the 'DocumentLanguage' attribute value.
 void setDocumentTypeCode(java.lang.String documentTypeCode)
          Set the 'DocumentTypeCode' attribute value.
 void setEmailRPH(java.lang.String emailRPH)
          Set the 'EmailRPH' attribute value.
 void setSelectedOptionIndicator(java.lang.Boolean selectedOptionIndicator)
          Set the 'SelectedOptionIndicator' attribute value.
 void setTelephoneRPH(java.lang.String telephoneRPH)
          Set the 'TelephoneRPH' attribute value.
 void setVendorOptions(java.util.List<DocumentHandling.VendorOption> list)
          Set the list of 'VendorOption' element items.
 int sizeVendorOptions()
          Get the number of 'VendorOption' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentHandling

public DocumentHandling()
Method Detail

getVendorOptions

public java.util.List<DocumentHandling.VendorOption> getVendorOptions()
Get the list of 'VendorOption' element items.

Returns:
list

setVendorOptions

public void setVendorOptions(java.util.List<DocumentHandling.VendorOption> list)
Set the list of 'VendorOption' element items.

Parameters:
list -

sizeVendorOptions

public int sizeVendorOptions()
Get the number of 'VendorOption' element items.

Returns:
count

addVendorOption

public void addVendorOption(DocumentHandling.VendorOption item)
Add a 'VendorOption' element item.

Parameters:
item -

getVendorOption

public DocumentHandling.VendorOption getVendorOption(int index)
Get 'VendorOption' element item by position.

Parameters:
index -
Returns:
item

clearVendorOptions

public void clearVendorOptions()
Remove all 'VendorOption' element items.


getDocumentTypeCode

public java.lang.String getDocumentTypeCode()
Get the 'DocumentTypeCode' attribute value. Defines the content of the document being referred to. Refer to OpenTravel Code List Cruise Document Type (CRD).

Returns:
value

setDocumentTypeCode

public void setDocumentTypeCode(java.lang.String documentTypeCode)
Set the 'DocumentTypeCode' attribute value. Defines the content of the document being referred to. Refer to OpenTravel Code List Cruise Document Type (CRD).

Parameters:
documentTypeCode -

getDeliveryMethodCode

public java.lang.String getDeliveryMethodCode()
Get the 'DeliveryMethodCode' attribute value. Indicates the type of delivery method for the document defined in the DocumentTypeCode. Refer to OpenTravel Code List Distribution Type (DTB).

Returns:
value

setDeliveryMethodCode

public void setDeliveryMethodCode(java.lang.String deliveryMethodCode)
Set the 'DeliveryMethodCode' attribute value. Indicates the type of delivery method for the document defined in the DocumentTypeCode. Refer to OpenTravel Code List Distribution Type (DTB).

Parameters:
deliveryMethodCode -

getDocumentDestination

public java.lang.String getDocumentDestination()
Get the 'DocumentDestination' attribute value. Specifies the mailing location (e.g , agent address or alternate address).

Returns:
value

setDocumentDestination

public void setDocumentDestination(java.lang.String documentDestination)
Set the 'DocumentDestination' attribute value. Specifies the mailing location (e.g , agent address or alternate address).

Parameters:
documentDestination -

getSelectedOptionIndicator

public java.lang.Boolean getSelectedOptionIndicator()
Get the 'SelectedOptionIndicator' attribute value. When true indicates the item is selected. When false, indicates an alternate item exists, but is not currently selected.

Returns:
value

setSelectedOptionIndicator

public void setSelectedOptionIndicator(java.lang.Boolean selectedOptionIndicator)
Set the 'SelectedOptionIndicator' attribute value. When true indicates the item is selected. When false, indicates an alternate item exists, but is not currently selected.

Parameters:
selectedOptionIndicator -

getDefaultIndicator

public java.lang.Boolean getDefaultIndicator()
Get the 'DefaultIndicator' attribute value. When true, the DocumentDestination is the default. When false, the DocumentDestination is not the default.

Returns:
value

setDefaultIndicator

public void setDefaultIndicator(java.lang.Boolean defaultIndicator)
Set the 'DefaultIndicator' attribute value. When true, the DocumentDestination is the default. When false, the DocumentDestination is not the default.

Parameters:
defaultIndicator -

getAddressRequiredIndicator

public java.lang.Boolean getAddressRequiredIndicator()
Get the 'AddressRequiredIndicator' attribute value. When true, this indicates the DocumentDestination address is required. When false, a DcoumentDestination address is not required.

Returns:
value

setAddressRequiredIndicator

public void setAddressRequiredIndicator(java.lang.Boolean addressRequiredIndicator)
Set the 'AddressRequiredIndicator' attribute value. When true, this indicates the DocumentDestination address is required. When false, a DcoumentDestination address is not required.

Parameters:
addressRequiredIndicator -

getAddressRPH

public java.lang.String getAddressRPH()
Get the 'AddressRPH' attribute value. Provides a reference pointer that links the document destination to the appropriate address in ContactInfo.

Returns:
value

setAddressRPH

public void setAddressRPH(java.lang.String addressRPH)
Set the 'AddressRPH' attribute value. Provides a reference pointer that links the document destination to the appropriate address in ContactInfo.

Parameters:
addressRPH -

getEmailRPH

public java.lang.String getEmailRPH()
Get the 'EmailRPH' attribute value. Provides a reference pointer that links the document destination to the appropriate email address in ContactInfo.

Returns:
value

setEmailRPH

public void setEmailRPH(java.lang.String emailRPH)
Set the 'EmailRPH' attribute value. Provides a reference pointer that links the document destination to the appropriate email address in ContactInfo.

Parameters:
emailRPH -

getTelephoneRPH

public java.lang.String getTelephoneRPH()
Get the 'TelephoneRPH' attribute value. Provides a reference pointer that links the document destination to the appropriate telephone number in ContactInfo that designates the fax number.

Returns:
value

setTelephoneRPH

public void setTelephoneRPH(java.lang.String telephoneRPH)
Set the 'TelephoneRPH' attribute value. Provides a reference pointer that links the document destination to the appropriate telephone number in ContactInfo that designates the fax number.

Parameters:
telephoneRPH -

getDocumentLanguage

public java.lang.String getDocumentLanguage()
Get the 'DocumentLanguage' attribute value. The language of the travel document.

Returns:
value

setDocumentLanguage

public void setDocumentLanguage(java.lang.String documentLanguage)
Set the 'DocumentLanguage' attribute value. The language of the travel document.

Parameters:
documentLanguage -