org.ota.insurance
Class PlanSearchRQ.SearchTravInfo.SearchTravelers.SearchTraveler

java.lang.Object
  extended by org.ota.insurance.PlanSearchRQ.SearchTravInfo.SearchTravelers.SearchTraveler
Enclosing class:
PlanSearchRQ.SearchTravInfo.SearchTravelers

public static class PlanSearchRQ.SearchTravInfo.SearchTravelers.SearchTraveler
extends java.lang.Object

Represents general information about a single traveler for which insurance coverage is being sought. 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:SearchTravelerType" name="SearchTraveler" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SearchTravelerType">
   <xs:sequence>
     <xs:element type="ns:AddressInfoType" name="Address" minOccurs="0"/>
     <xs:element name="CitizenCountryName" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CitizenCountryNameGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:IndCoverageReqsType" name="IndCoverageReqs" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:BirthDateGroup"/>
   <xs:attribute type="xs:string" use="optional" name="Age"/>
   <xs:attribute type="xs:string" use="optional" name="Relation"/>
   <xs:attribute type="xs:string" use="optional" name="Gender"/>
 </xs:complexType>
 
 <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>
 


Constructor Summary
PlanSearchRQ.SearchTravInfo.SearchTravelers.SearchTraveler()
           
 
Method Summary
 AddressInfo getAddress()
          Get the 'Address' element value.
 java.lang.String getAge()
          Get the 'Age' attribute value.
 java.sql.Date getBirthDate()
          Get the 'BirthDate' attribute value.
 CitizenCountryNameGroup getCitizenCountryName()
          Get the 'CitizenCountryNameGroup' attributeGroup value.
 java.lang.String getGender()
          Get the 'Gender' attribute value.
 IndCoverageReqs getIndCoverageReqs()
          Get the 'IndCoverageReqs' element value.
 java.lang.String getRelation()
          Get the 'Relation' attribute value.
 void setAddress(AddressInfo address)
          Set the 'Address' element value.
 void setAge(java.lang.String age)
          Set the 'Age' attribute value.
 void setBirthDate(java.sql.Date birthDate)
          Set the 'BirthDate' attribute value.
 void setCitizenCountryName(CitizenCountryNameGroup citizenCountryName)
          Set the 'CitizenCountryNameGroup' attributeGroup value.
 void setGender(java.lang.String gender)
          Set the 'Gender' attribute value.
 void setIndCoverageReqs(IndCoverageReqs indCoverageReqs)
          Set the 'IndCoverageReqs' element 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

PlanSearchRQ.SearchTravInfo.SearchTravelers.SearchTraveler

public PlanSearchRQ.SearchTravInfo.SearchTravelers.SearchTraveler()
Method Detail

getAddress

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

Returns:
value

setAddress

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

Parameters:
address -

getCitizenCountryName

public CitizenCountryNameGroup getCitizenCountryName()
Get the 'CitizenCountryNameGroup' attributeGroup value.

Returns:
value

setCitizenCountryName

public void setCitizenCountryName(CitizenCountryNameGroup citizenCountryName)
Set the 'CitizenCountryNameGroup' attributeGroup value.

Parameters:
citizenCountryName -

getIndCoverageReqs

public IndCoverageReqs getIndCoverageReqs()
Get the 'IndCoverageReqs' element value.

Returns:
value

setIndCoverageReqs

public void setIndCoverageReqs(IndCoverageReqs indCoverageReqs)
Set the 'IndCoverageReqs' element value.

Parameters:
indCoverageReqs -

getBirthDate

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

Returns:
value

setBirthDate

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

Parameters:
birthDate -

getAge

public java.lang.String getAge()
Get the 'Age' attribute value.

Returns:
value

setAge

public void setAge(java.lang.String age)
Set the 'Age' attribute value.

Parameters:
age -

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 -

getGender

public java.lang.String getGender()
Get the 'Gender' attribute value.

Returns:
value

setGender

public void setGender(java.lang.String gender)
Set the 'Gender' attribute value.

Parameters:
gender -