org.ota.shared
Class RelatedTraveler

java.lang.Object
  extended by org.ota.shared.RelatedTraveler
Direct Known Subclasses:
CruiseGuestInfo.GuestDetail.LinkedTraveler, CruiseGuestInfo.LinkedBookings.LinkedBooking

public class RelatedTraveler
extends java.lang.Object

Other traveler profiles associated with an specific individual. 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="RelatedTravelerType">
   <xs:sequence>
     <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
     <xs:element type="ns:PersonNameType" name="PersonName" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attribute type="xs:string" use="optional" name="Relation"/>
   <xs:attributeGroup ref="ns:BirthDateGroup"/>
 </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
RelatedTraveler()
           
 
Method Summary
 java.sql.Date getBirthDate()
          Get the 'BirthDate' attribute value.
 PersonName getPersonName()
          Get the 'PersonName' element value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 java.lang.String getRelation()
          Get the 'Relation' attribute value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setBirthDate(java.sql.Date birthDate)
          Set the 'BirthDate' attribute value.
 void setPersonName(PersonName personName)
          Set the 'PersonName' element value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setRelation(java.lang.String relation)
          Set the 'Relation' attribute value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelatedTraveler

public RelatedTraveler()
Method Detail

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. Identifies the profile of the related traveler.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. Identifies the profile of the related traveler.

Parameters:
uniqueID -

getPersonName

public PersonName getPersonName()
Get the 'PersonName' element value. Person associated with the traveler.

Returns:
value

setPersonName

public void setPersonName(PersonName personName)
Set the 'PersonName' element value. Person associated with the traveler.

Parameters:
personName -

getPrivacyGroup

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

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -

getRelation

public java.lang.String getRelation()
Get the 'Relation' attribute value. Indicates the type of relationship with the person in the profile, such as Spouse, Child, Family, Business Associate, Interest Group, Medical, Security, Other, etc.

Returns:
value

setRelation

public void setRelation(java.lang.String relation)
Set the 'Relation' attribute value. Indicates the type of relationship with the person in the profile, such as Spouse, Child, Family, Business Associate, Interest Group, Medical, Security, Other, etc.

Parameters:
relation -

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 -