org.ota.air
Class AirCheckIn.PassengerInfo.ContactInfo

java.lang.Object
  extended by org.ota.shared.ContactPerson
      extended by org.ota.air.AirCheckIn.PassengerInfo.ContactInfo
Enclosing class:
AirCheckIn.PassengerInfo

public static class AirCheckIn.PassengerInfo.ContactInfo
extends ContactPerson

Emergency contact information for the passenger. 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="ContactInfo" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:ContactPersonType">
         <xs:sequence>
           <xs:element type="xs:string" name="Relationship"/>
         </xs:sequence>
         <xs:attribute type="xs:boolean" use="optional" name="OptionToDecline"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AirCheckIn.PassengerInfo.ContactInfo()
           
 
Method Summary
 java.lang.Boolean getOptionToDecline()
          Get the 'OptionToDecline' attribute value.
 java.lang.String getRelationship()
          Get the 'Relationship' element value.
 void setOptionToDecline(java.lang.Boolean optionToDecline)
          Set the 'OptionToDecline' attribute value.
 void setRelationship(java.lang.String relationship)
          Set the 'Relationship' element value.
 
Methods inherited from class org.ota.shared.ContactPerson
addAddress, addCompanyName, addEmail, addEmployeeInfo, addTelephone, addURL, clearAddresses, clearCompanyNames, clearEmails, clearEmployeeInfos, clearTelephones, clearURLs, getAddress, getAddresses, getCommunicationMethodCode, getCompanyName, getCompanyNames, getContact, getDefaultInd, getDocumentDistribMethodCode, getEmail, getEmails, getEmergencyFlag, getEmployeeInfo, getEmployeeInfos, getPersonName, getPrivacyGroup, getRelation, getRPH, getTelephone, getTelephones, getURL, getURLs, setAddresses, setCommunicationMethodCode, setCompanyNames, setContact, setDefaultInd, setDocumentDistribMethodCode, setEmails, setEmergencyFlag, setEmployeeInfos, setPersonName, setPrivacyGroup, setRelation, setRPH, setTelephones, setURLs, sizeAddresses, sizeCompanyNames, sizeEmails, sizeEmployeeInfos, sizeTelephones, sizeURLs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirCheckIn.PassengerInfo.ContactInfo

public AirCheckIn.PassengerInfo.ContactInfo()
Method Detail

getRelationship

public java.lang.String getRelationship()
Get the 'Relationship' element value. Specifies the relationship of this emergency contact to the passenger.

Returns:
value

setRelationship

public void setRelationship(java.lang.String relationship)
Set the 'Relationship' element value. Specifies the relationship of this emergency contact to the passenger.

Parameters:
relationship -

getOptionToDecline

public java.lang.Boolean getOptionToDecline()
Get the 'OptionToDecline' attribute value. If true, the passenger chooses to decline providing emergency contact information.

Returns:
value

setOptionToDecline

public void setOptionToDecline(java.lang.Boolean optionToDecline)
Set the 'OptionToDecline' attribute value. If true, the passenger chooses to decline providing emergency contact information.

Parameters:
optionToDecline -