org.ota.profile
Class Affiliations.Insurance

java.lang.Object
  extended by org.ota.profile.Affiliations.Insurance
Enclosing class:
Affiliations

public static class Affiliations.Insurance
extends java.lang.Object

Travel insurance associated to this affiliation. 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" type="ns:InsuranceType" name="Insurance" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="InsuranceType">
   <xs:sequence>
     <xs:element type="ns:PersonNameType" name="InsuredName" minOccurs="0"/>
     <xs:element type="ns:CompanyNameType" name="InsuranceCompany" minOccurs="0"/>
     <xs:element type="ns:CompanyNameType" name="Underwriter" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attribute type="xs:string" use="optional" name="InsuranceType"/>
   <xs:attribute type="xs:string" use="required" name="PolicyNumber"/>
   <xs:attributeGroup ref="ns:EffectiveExpireOptionalDateGroup"/>
   <xs:attribute type="xs:string" use="optional" name="RPH"/>
 </xs:complexType>
 


Constructor Summary
Affiliations.Insurance()
           
 
Method Summary
 EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
          Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 java.lang.String getInsurance()
          Get the 'InsuranceType' attribute value.
 CompanyName getInsuranceCompany()
          Get the 'InsuranceCompany' element value.
 PersonName getInsuredName()
          Get the 'InsuredName' element value.
 java.lang.String getPolicyNumber()
          Get the 'PolicyNumber' attribute value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 CompanyName getUnderwriter()
          Get the 'Underwriter' element value.
 void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
          Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value.
 void setInsurance(java.lang.String insurance)
          Set the 'InsuranceType' attribute value.
 void setInsuranceCompany(CompanyName insuranceCompany)
          Set the 'InsuranceCompany' element value.
 void setInsuredName(PersonName insuredName)
          Set the 'InsuredName' element value.
 void setPolicyNumber(java.lang.String policyNumber)
          Set the 'PolicyNumber' attribute value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 void setUnderwriter(CompanyName underwriter)
          Set the 'Underwriter' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Affiliations.Insurance

public Affiliations.Insurance()
Method Detail

getInsuredName

public PersonName getInsuredName()
Get the 'InsuredName' element value. Name of the person insured.

Returns:
value

setInsuredName

public void setInsuredName(PersonName insuredName)
Set the 'InsuredName' element value. Name of the person insured.

Parameters:
insuredName -

getInsuranceCompany

public CompanyName getInsuranceCompany()
Get the 'InsuranceCompany' element value. Name of the insurance company.

Returns:
value

setInsuranceCompany

public void setInsuranceCompany(CompanyName insuranceCompany)
Set the 'InsuranceCompany' element value. Name of the insurance company.

Parameters:
insuranceCompany -

getUnderwriter

public CompanyName getUnderwriter()
Get the 'Underwriter' element value. Underwriting company providing coverage.

Returns:
value

setUnderwriter

public void setUnderwriter(CompanyName underwriter)
Set the 'Underwriter' element value. Underwriting company providing coverage.

Parameters:
underwriter -

getPrivacyGroup

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

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -

getInsurance

public java.lang.String getInsurance()
Get the 'InsuranceType' attribute value. Type of insurance policy carried by the individual or company.

Returns:
value

setInsurance

public void setInsurance(java.lang.String insurance)
Set the 'InsuranceType' attribute value. Type of insurance policy carried by the individual or company.

Parameters:
insurance -

getPolicyNumber

public java.lang.String getPolicyNumber()
Get the 'PolicyNumber' attribute value. Identifier assigned by insurance company to the insurance policy.

Returns:
value

setPolicyNumber

public void setPolicyNumber(java.lang.String policyNumber)
Set the 'PolicyNumber' attribute value. Identifier assigned by insurance company to the insurance policy.

Parameters:
policyNumber -

getEffectiveExpireOptionalDateGroup

public EffectiveExpireOptionalDateGroup getEffectiveExpireOptionalDateGroup()
Get the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The effective and expiry dates for this policy.

Returns:
value

setEffectiveExpireOptionalDateGroup

public void setEffectiveExpireOptionalDateGroup(EffectiveExpireOptionalDateGroup effectiveExpireOptionalDateGroup)
Set the 'EffectiveExpireOptionalDateGroup' attributeGroup value. The effective and expiry dates for this policy.

Parameters:
effectiveExpireOptionalDateGroup -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. A unique reference for this insurance policy within this message.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. A unique reference for this insurance policy within this message.

Parameters:
RPH -