org.ota.insurance
Class CoveredTraveler.Beneficiary

java.lang.Object
  extended by org.ota.insurance.CoveredTraveler.Beneficiary
Enclosing class:
CoveredTraveler

public static class CoveredTraveler.Beneficiary
extends java.lang.Object

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="Beneficiary" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Name">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:PersonNameType">
               <xs:attributeGroup ref="ns:BirthDateGroup"/>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:AddressInfoType" name="Address" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" name="Relation"/>
     <xs:attribute type="xs:float" name="BenefitPercent"/>
     <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BirthDateGroup">
   <xs:attribute type="xs:date" use="optional" name="BirthDate"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Constructor Summary
CoveredTraveler.Beneficiary()
           
 
Method Summary
 AddressInfo getAddress()
          Get the 'Address' element value.
 java.lang.Float getBenefitPercent()
          Get the 'BenefitPercent' attribute value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.sql.Date getNameBirthDate()
          Get the 'BirthDate' attribute value.
 PersonName getNamePersonName()
          Get the extension value.
 java.lang.String getRelation()
          Get the 'Relation' attribute value.
 void setAddress(AddressInfo address)
          Set the 'Address' element value.
 void setBenefitPercent(java.lang.Float benefitPercent)
          Set the 'BenefitPercent' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setNameBirthDate(java.sql.Date nameBirthDate)
          Set the 'BirthDate' attribute value.
 void setNamePersonName(PersonName namePersonName)
          Set the extension value.
 void setRelation(java.lang.String relation)
          Set the 'Relation' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoveredTraveler.Beneficiary

public CoveredTraveler.Beneficiary()
Method Detail

getNamePersonName

public PersonName getNamePersonName()
Get the extension value.

Returns:
value

setNamePersonName

public void setNamePersonName(PersonName namePersonName)
Set the extension value.

Parameters:
namePersonName -

getNameBirthDate

public java.sql.Date getNameBirthDate()
Get the 'BirthDate' attribute value. Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.

Returns:
value

setNameBirthDate

public void setNameBirthDate(java.sql.Date nameBirthDate)
Set the 'BirthDate' attribute value. Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.

Parameters:
nameBirthDate -

getAddress

public AddressInfo getAddress()
Get the 'Address' element value.

Returns:
value

setAddress

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

Parameters:
address -

getRelation

public java.lang.String getRelation()
Get the 'Relation' attribute value.

Returns:
value

setRelation

public void setRelation(java.lang.String relation)
Set the 'Relation' attribute value.

Parameters:
relation -

getBenefitPercent

public java.lang.Float getBenefitPercent()
Get the 'BenefitPercent' attribute value.

Returns:
value

setBenefitPercent

public void setBenefitPercent(java.lang.Float benefitPercent)
Set the 'BenefitPercent' attribute value.

Parameters:
benefitPercent -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -