org.ota.profile
Class Profile.PrefCollections.PrefCollection.CommonPref

java.lang.Object
  extended by org.ota.profile.Profile.PrefCollections.PrefCollection.CommonPref
Enclosing class:
Profile.PrefCollections.PrefCollection

public static class Profile.PrefCollections.PrefCollection.CommonPref
extends java.lang.Object

Supplier-independent preferences. 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:CommonPrefType" name="CommonPref" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CommonPrefType">
   <xs:sequence>
     <xs:element type="ns:NamePrefType" name="NamePref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class NamePref -->
     </xs:element>
     <xs:element type="ns:PhonePrefType" name="PhonePref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:AddressPrefType" name="AddressPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:PaymentFormPrefType" name="PaymentFormPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:InterestPrefType" name="InterestPref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class InterestPref -->
     </xs:element>
     <xs:element type="ns:InsurancePrefType" name="InsurancePref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class InsurancePref -->
     </xs:element>
     <xs:element type="ns:SeatingPrefType" name="SeatingPref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class SeatingPref -->
     </xs:element>
     <xs:element type="ns:TicketDistribPrefType" name="TicketDistribPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:MediaEntertainPrefType" name="MediaEntertainPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:PetInfoPrefType" name="PetInfoPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:MealPrefType" name="MealPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:LoyaltyPrefType" name="LoyaltyPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:SpecRequestPrefType" name="SpecRequestPref" minOccurs="0" maxOccurs="unbounded"/>
     <xs:element type="ns:RelatedTravelerPrefType" name="RelatedTravelerPref" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class RelatedTravelerPref -->
     </xs:element>
     <xs:element name="ContactPref" minOccurs="0" maxOccurs="99">
       <!-- Reference to inner class ContactPref -->
     </xs:element>
     <xs:element type="ns:EmployeeInfoType" name="EmployeeLevelInfo" minOccurs="0"/>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
   <xs:attributeGroup ref="ns:SmokingIndicatorGroup"/>
   <xs:attributeGroup ref="ns:PrimaryLangID_Group"/>
   <xs:attributeGroup ref="ns:AltLangID_Group"/>
 </xs:complexType>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PhonePrefType">
   <xs:sequence>
     <xs:element name="Telephone">
       <xs:complexType>
         <xs:attributeGroup ref="ns:TelephoneInfoGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SmokingIndicatorGroup">
   <xs:attribute type="xs:boolean" use="optional" name="SmokingAllowed"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PrimaryLangID_Group">
   <xs:attribute type="xs:string" use="optional" name="PrimaryLangID"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AltLangID_Group">
   <xs:attribute type="xs:string" use="optional" name="AltLangID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class Profile.PrefCollections.PrefCollection.CommonPref.ContactPref
          The traveller's preferred means of being contacted.
static class Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref
          Enables a preference to be indicated for insurance.
static class Profile.PrefCollections.PrefCollection.CommonPref.InterestPref
          Enables a preference to be indicated for a traveler's interests.
static class Profile.PrefCollections.PrefCollection.CommonPref.NamePref
          Enables a preference to be indicated for name information.
static class Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref
          Enables a preference to be indicated for a related traveler.
static class Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref
          Enables a preference to be indicated for seating.
 
Constructor Summary
Profile.PrefCollections.PrefCollection.CommonPref()
           
 
Method Summary
 void addAddressPref(AddressPref item)
          Add a 'AddressPref' element item.
 void addContactPref(Profile.PrefCollections.PrefCollection.CommonPref.ContactPref item)
          Add a 'ContactPref' element item.
 void addInsurancePref(Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref item)
          Add a 'InsurancePref' element item.
 void addInterestPref(Profile.PrefCollections.PrefCollection.CommonPref.InterestPref item)
          Add a 'InterestPref' element item.
 void addLoyaltyPref(LoyaltyPref item)
          Add a 'LoyaltyPref' element item.
 void addMealPref(MealPref item)
          Add a 'MealPref' element item.
 void addMediaEntertainPref(MediaEntertainPref item)
          Add a 'MediaEntertainPref' element item.
 void addNamePref(Profile.PrefCollections.PrefCollection.CommonPref.NamePref item)
          Add a 'NamePref' element item.
 void addPaymentFormPref(PaymentFormPref item)
          Add a 'PaymentFormPref' element item.
 void addPetInfoPref(PetInfoPref item)
          Add a 'PetInfoPref' element item.
 void addRelatedTravelerPref(Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref item)
          Add a 'RelatedTravelerPref' element item.
 void addSeatingPref(Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref item)
          Add a 'SeatingPref' element item.
 void addSpecRequestPref(SpecRequestPref item)
          Add a 'SpecRequestPref' element item.
 void addTelephone(TelephoneInfoGroup item)
          Add a 'PhonePref' element item.
 void addTicketDistribPref(TicketDistribPref item)
          Add a 'TicketDistribPref' element item.
 void clearAddressPrefs()
          Remove all 'AddressPref' element items.
 void clearContactPrefs()
          Remove all 'ContactPref' element items.
 void clearInsurancePrefs()
          Remove all 'InsurancePref' element items.
 void clearInterestPrefs()
          Remove all 'InterestPref' element items.
 void clearLoyaltyPrefs()
          Remove all 'LoyaltyPref' element items.
 void clearMealPrefs()
          Remove all 'MealPref' element items.
 void clearMediaEntertainPrefs()
          Remove all 'MediaEntertainPref' element items.
 void clearNamePrefs()
          Remove all 'NamePref' element items.
 void clearPaymentFormPrefs()
          Remove all 'PaymentFormPref' element items.
 void clearPetInfoPrefs()
          Remove all 'PetInfoPref' element items.
 void clearRelatedTravelerPrefs()
          Remove all 'RelatedTravelerPref' element items.
 void clearSeatingPrefs()
          Remove all 'SeatingPref' element items.
 void clearSpecRequestPrefs()
          Remove all 'SpecRequestPref' element items.
 void clearTelephones()
          Remove all 'PhonePref' element items.
 void clearTicketDistribPrefs()
          Remove all 'TicketDistribPref' element items.
 AddressPref getAddressPref(int index)
          Get 'AddressPref' element item by position.
 java.util.List<AddressPref> getAddressPrefs()
          Get the list of 'AddressPref' element items.
 java.lang.String getAltLangID()
          Get the 'AltLangID' attribute value.
 Profile.PrefCollections.PrefCollection.CommonPref.ContactPref getContactPref(int index)
          Get 'ContactPref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.ContactPref> getContactPrefs()
          Get the list of 'ContactPref' element items.
 EmployeeInfo getEmployeeLevelInfo()
          Get the 'EmployeeLevelInfo' element value.
 Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref getInsurancePref(int index)
          Get 'InsurancePref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref> getInsurancePrefs()
          Get the list of 'InsurancePref' element items.
 Profile.PrefCollections.PrefCollection.CommonPref.InterestPref getInterestPref(int index)
          Get 'InterestPref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InterestPref> getInterestPrefs()
          Get the list of 'InterestPref' element items.
 LoyaltyPref getLoyaltyPref(int index)
          Get 'LoyaltyPref' element item by position.
 java.util.List<LoyaltyPref> getLoyaltyPrefs()
          Get the list of 'LoyaltyPref' element items.
 MealPref getMealPref(int index)
          Get 'MealPref' element item by position.
 java.util.List<MealPref> getMealPrefs()
          Get the list of 'MealPref' element items.
 MediaEntertainPref getMediaEntertainPref(int index)
          Get 'MediaEntertainPref' element item by position.
 java.util.List<MediaEntertainPref> getMediaEntertainPrefs()
          Get the list of 'MediaEntertainPref' element items.
 Profile.PrefCollections.PrefCollection.CommonPref.NamePref getNamePref(int index)
          Get 'NamePref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.NamePref> getNamePrefs()
          Get the list of 'NamePref' element items.
 PaymentFormPref getPaymentFormPref(int index)
          Get 'PaymentFormPref' element item by position.
 java.util.List<PaymentFormPref> getPaymentFormPrefs()
          Get the list of 'PaymentFormPref' element items.
 PetInfoPref getPetInfoPref(int index)
          Get 'PetInfoPref' element item by position.
 java.util.List<PetInfoPref> getPetInfoPrefs()
          Get the list of 'PetInfoPref' element items.
 java.lang.String getPrimaryLangID()
          Get the 'PrimaryLangID' attribute value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref getRelatedTravelerPref(int index)
          Get 'RelatedTravelerPref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref> getRelatedTravelerPrefs()
          Get the list of 'RelatedTravelerPref' element items.
 Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref getSeatingPref(int index)
          Get 'SeatingPref' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref> getSeatingPrefs()
          Get the list of 'SeatingPref' element items.
 java.lang.Boolean getSmokingAllowed()
          Get the 'SmokingAllowed' attribute value.
 SpecRequestPref getSpecRequestPref(int index)
          Get 'SpecRequestPref' element item by position.
 java.util.List<SpecRequestPref> getSpecRequestPrefs()
          Get the list of 'SpecRequestPref' element items.
 TelephoneInfoGroup getTelephone(int index)
          Get 'PhonePref' element item by position.
 java.util.List<TelephoneInfoGroup> getTelephones()
          Get the list of 'PhonePref' element items.
 TicketDistribPref getTicketDistribPref(int index)
          Get 'TicketDistribPref' element item by position.
 java.util.List<TicketDistribPref> getTicketDistribPrefs()
          Get the list of 'TicketDistribPref' element items.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setAddressPrefs(java.util.List<AddressPref> list)
          Set the list of 'AddressPref' element items.
 void setAltLangID(java.lang.String altLangID)
          Set the 'AltLangID' attribute value.
 void setContactPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.ContactPref> list)
          Set the list of 'ContactPref' element items.
 void setEmployeeLevelInfo(EmployeeInfo employeeLevelInfo)
          Set the 'EmployeeLevelInfo' element value.
 void setInsurancePrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref> list)
          Set the list of 'InsurancePref' element items.
 void setInterestPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InterestPref> list)
          Set the list of 'InterestPref' element items.
 void setLoyaltyPrefs(java.util.List<LoyaltyPref> list)
          Set the list of 'LoyaltyPref' element items.
 void setMealPrefs(java.util.List<MealPref> list)
          Set the list of 'MealPref' element items.
 void setMediaEntertainPrefs(java.util.List<MediaEntertainPref> list)
          Set the list of 'MediaEntertainPref' element items.
 void setNamePrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.NamePref> list)
          Set the list of 'NamePref' element items.
 void setPaymentFormPrefs(java.util.List<PaymentFormPref> list)
          Set the list of 'PaymentFormPref' element items.
 void setPetInfoPrefs(java.util.List<PetInfoPref> list)
          Set the list of 'PetInfoPref' element items.
 void setPrimaryLangID(java.lang.String primaryLangID)
          Set the 'PrimaryLangID' attribute value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setRelatedTravelerPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref> list)
          Set the list of 'RelatedTravelerPref' element items.
 void setSeatingPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref> list)
          Set the list of 'SeatingPref' element items.
 void setSmokingAllowed(java.lang.Boolean smokingAllowed)
          Set the 'SmokingAllowed' attribute value.
 void setSpecRequestPrefs(java.util.List<SpecRequestPref> list)
          Set the list of 'SpecRequestPref' element items.
 void setTelephones(java.util.List<TelephoneInfoGroup> list)
          Set the list of 'PhonePref' element items.
 void setTicketDistribPrefs(java.util.List<TicketDistribPref> list)
          Set the list of 'TicketDistribPref' element items.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 int sizeAddressPrefs()
          Get the number of 'AddressPref' element items.
 int sizeContactPrefs()
          Get the number of 'ContactPref' element items.
 int sizeInsurancePrefs()
          Get the number of 'InsurancePref' element items.
 int sizeInterestPrefs()
          Get the number of 'InterestPref' element items.
 int sizeLoyaltyPrefs()
          Get the number of 'LoyaltyPref' element items.
 int sizeMealPrefs()
          Get the number of 'MealPref' element items.
 int sizeMediaEntertainPrefs()
          Get the number of 'MediaEntertainPref' element items.
 int sizeNamePrefs()
          Get the number of 'NamePref' element items.
 int sizePaymentFormPrefs()
          Get the number of 'PaymentFormPref' element items.
 int sizePetInfoPrefs()
          Get the number of 'PetInfoPref' element items.
 int sizeRelatedTravelerPrefs()
          Get the number of 'RelatedTravelerPref' element items.
 int sizeSeatingPrefs()
          Get the number of 'SeatingPref' element items.
 int sizeSpecRequestPrefs()
          Get the number of 'SpecRequestPref' element items.
 int sizeTelephones()
          Get the number of 'PhonePref' element items.
 int sizeTicketDistribPrefs()
          Get the number of 'TicketDistribPref' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.CommonPref

public Profile.PrefCollections.PrefCollection.CommonPref()
Method Detail

getNamePrefs

public java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.NamePref> getNamePrefs()
Get the list of 'NamePref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Returns:
list

setNamePrefs

public void setNamePrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.NamePref> list)
Set the list of 'NamePref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Parameters:
list -

sizeNamePrefs

public int sizeNamePrefs()
Get the number of 'NamePref' element items.

Returns:
count

addNamePref

public void addNamePref(Profile.PrefCollections.PrefCollection.CommonPref.NamePref item)
Add a 'NamePref' element item.

Parameters:
item -

getNamePref

public Profile.PrefCollections.PrefCollection.CommonPref.NamePref getNamePref(int index)
Get 'NamePref' element item by position.

Parameters:
index -
Returns:
item

clearNamePrefs

public void clearNamePrefs()
Remove all 'NamePref' element items.


getTelephones

public java.util.List<TelephoneInfoGroup> getTelephones()
Get the list of 'PhonePref' element items. Enables a preference to be indicated for telephone information.

Returns:
list

setTelephones

public void setTelephones(java.util.List<TelephoneInfoGroup> list)
Set the list of 'PhonePref' element items. Enables a preference to be indicated for telephone information.

Parameters:
list -

sizeTelephones

public int sizeTelephones()
Get the number of 'PhonePref' element items.

Returns:
count

addTelephone

public void addTelephone(TelephoneInfoGroup item)
Add a 'PhonePref' element item.

Parameters:
item -

getTelephone

public TelephoneInfoGroup getTelephone(int index)
Get 'PhonePref' element item by position.

Parameters:
index -
Returns:
item

clearTelephones

public void clearTelephones()
Remove all 'PhonePref' element items.


getAddressPrefs

public java.util.List<AddressPref> getAddressPrefs()
Get the list of 'AddressPref' element items. Enables a preference to be indicated for address information.

Returns:
list

setAddressPrefs

public void setAddressPrefs(java.util.List<AddressPref> list)
Set the list of 'AddressPref' element items. Enables a preference to be indicated for address information.

Parameters:
list -

sizeAddressPrefs

public int sizeAddressPrefs()
Get the number of 'AddressPref' element items.

Returns:
count

addAddressPref

public void addAddressPref(AddressPref item)
Add a 'AddressPref' element item.

Parameters:
item -

getAddressPref

public AddressPref getAddressPref(int index)
Get 'AddressPref' element item by position.

Parameters:
index -
Returns:
item

clearAddressPrefs

public void clearAddressPrefs()
Remove all 'AddressPref' element items.


getPaymentFormPrefs

public java.util.List<PaymentFormPref> getPaymentFormPrefs()
Get the list of 'PaymentFormPref' element items. Enables a preference to be indicated for form of payment.

Returns:
list

setPaymentFormPrefs

public void setPaymentFormPrefs(java.util.List<PaymentFormPref> list)
Set the list of 'PaymentFormPref' element items. Enables a preference to be indicated for form of payment.

Parameters:
list -

sizePaymentFormPrefs

public int sizePaymentFormPrefs()
Get the number of 'PaymentFormPref' element items.

Returns:
count

addPaymentFormPref

public void addPaymentFormPref(PaymentFormPref item)
Add a 'PaymentFormPref' element item.

Parameters:
item -

getPaymentFormPref

public PaymentFormPref getPaymentFormPref(int index)
Get 'PaymentFormPref' element item by position.

Parameters:
index -
Returns:
item

clearPaymentFormPrefs

public void clearPaymentFormPrefs()
Remove all 'PaymentFormPref' element items.


getInterestPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InterestPref> getInterestPrefs()
Get the list of 'InterestPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Returns:
list

setInterestPrefs

public void setInterestPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InterestPref> list)
Set the list of 'InterestPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Parameters:
list -

sizeInterestPrefs

public int sizeInterestPrefs()
Get the number of 'InterestPref' element items.

Returns:
count

addInterestPref

public void addInterestPref(Profile.PrefCollections.PrefCollection.CommonPref.InterestPref item)
Add a 'InterestPref' element item.

Parameters:
item -

getInterestPref

public Profile.PrefCollections.PrefCollection.CommonPref.InterestPref getInterestPref(int index)
Get 'InterestPref' element item by position.

Parameters:
index -
Returns:
item

clearInterestPrefs

public void clearInterestPrefs()
Remove all 'InterestPref' element items.


getInsurancePrefs

public java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref> getInsurancePrefs()
Get the list of 'InsurancePref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Returns:
list

setInsurancePrefs

public void setInsurancePrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref> list)
Set the list of 'InsurancePref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Parameters:
list -

sizeInsurancePrefs

public int sizeInsurancePrefs()
Get the number of 'InsurancePref' element items.

Returns:
count

addInsurancePref

public void addInsurancePref(Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref item)
Add a 'InsurancePref' element item.

Parameters:
item -

getInsurancePref

public Profile.PrefCollections.PrefCollection.CommonPref.InsurancePref getInsurancePref(int index)
Get 'InsurancePref' element item by position.

Parameters:
index -
Returns:
item

clearInsurancePrefs

public void clearInsurancePrefs()
Remove all 'InsurancePref' element items.


getSeatingPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref> getSeatingPrefs()
Get the list of 'SeatingPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Returns:
list

setSeatingPrefs

public void setSeatingPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref> list)
Set the list of 'SeatingPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Parameters:
list -

sizeSeatingPrefs

public int sizeSeatingPrefs()
Get the number of 'SeatingPref' element items.

Returns:
count

addSeatingPref

public void addSeatingPref(Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref item)
Add a 'SeatingPref' element item.

Parameters:
item -

getSeatingPref

public Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref getSeatingPref(int index)
Get 'SeatingPref' element item by position.

Parameters:
index -
Returns:
item

clearSeatingPrefs

public void clearSeatingPrefs()
Remove all 'SeatingPref' element items.


getTicketDistribPrefs

public java.util.List<TicketDistribPref> getTicketDistribPrefs()
Get the list of 'TicketDistribPref' element items. Enables a preference to be indicated for a method of ticket distribution.

Returns:
list

setTicketDistribPrefs

public void setTicketDistribPrefs(java.util.List<TicketDistribPref> list)
Set the list of 'TicketDistribPref' element items. Enables a preference to be indicated for a method of ticket distribution.

Parameters:
list -

sizeTicketDistribPrefs

public int sizeTicketDistribPrefs()
Get the number of 'TicketDistribPref' element items.

Returns:
count

addTicketDistribPref

public void addTicketDistribPref(TicketDistribPref item)
Add a 'TicketDistribPref' element item.

Parameters:
item -

getTicketDistribPref

public TicketDistribPref getTicketDistribPref(int index)
Get 'TicketDistribPref' element item by position.

Parameters:
index -
Returns:
item

clearTicketDistribPrefs

public void clearTicketDistribPrefs()
Remove all 'TicketDistribPref' element items.


getMediaEntertainPrefs

public java.util.List<MediaEntertainPref> getMediaEntertainPrefs()
Get the list of 'MediaEntertainPref' element items. Enables a preference to be indicated for media and entertainment.

Returns:
list

setMediaEntertainPrefs

public void setMediaEntertainPrefs(java.util.List<MediaEntertainPref> list)
Set the list of 'MediaEntertainPref' element items. Enables a preference to be indicated for media and entertainment.

Parameters:
list -

sizeMediaEntertainPrefs

public int sizeMediaEntertainPrefs()
Get the number of 'MediaEntertainPref' element items.

Returns:
count

addMediaEntertainPref

public void addMediaEntertainPref(MediaEntertainPref item)
Add a 'MediaEntertainPref' element item.

Parameters:
item -

getMediaEntertainPref

public MediaEntertainPref getMediaEntertainPref(int index)
Get 'MediaEntertainPref' element item by position.

Parameters:
index -
Returns:
item

clearMediaEntertainPrefs

public void clearMediaEntertainPrefs()
Remove all 'MediaEntertainPref' element items.


getPetInfoPrefs

public java.util.List<PetInfoPref> getPetInfoPrefs()
Get the list of 'PetInfoPref' element items. Enables a preference to be indicated for pet information.

Returns:
list

setPetInfoPrefs

public void setPetInfoPrefs(java.util.List<PetInfoPref> list)
Set the list of 'PetInfoPref' element items. Enables a preference to be indicated for pet information.

Parameters:
list -

sizePetInfoPrefs

public int sizePetInfoPrefs()
Get the number of 'PetInfoPref' element items.

Returns:
count

addPetInfoPref

public void addPetInfoPref(PetInfoPref item)
Add a 'PetInfoPref' element item.

Parameters:
item -

getPetInfoPref

public PetInfoPref getPetInfoPref(int index)
Get 'PetInfoPref' element item by position.

Parameters:
index -
Returns:
item

clearPetInfoPrefs

public void clearPetInfoPrefs()
Remove all 'PetInfoPref' element items.


getMealPrefs

public java.util.List<MealPref> getMealPrefs()
Get the list of 'MealPref' element items. Enables a preference to be indicated for food and beverage.

Returns:
list

setMealPrefs

public void setMealPrefs(java.util.List<MealPref> list)
Set the list of 'MealPref' element items. Enables a preference to be indicated for food and beverage.

Parameters:
list -

sizeMealPrefs

public int sizeMealPrefs()
Get the number of 'MealPref' element items.

Returns:
count

addMealPref

public void addMealPref(MealPref item)
Add a 'MealPref' element item.

Parameters:
item -

getMealPref

public MealPref getMealPref(int index)
Get 'MealPref' element item by position.

Parameters:
index -
Returns:
item

clearMealPrefs

public void clearMealPrefs()
Remove all 'MealPref' element items.


getLoyaltyPrefs

public java.util.List<LoyaltyPref> getLoyaltyPrefs()
Get the list of 'LoyaltyPref' element items. Enables a preference to be indicated for a loyalty program.

Returns:
list

setLoyaltyPrefs

public void setLoyaltyPrefs(java.util.List<LoyaltyPref> list)
Set the list of 'LoyaltyPref' element items. Enables a preference to be indicated for a loyalty program.

Parameters:
list -

sizeLoyaltyPrefs

public int sizeLoyaltyPrefs()
Get the number of 'LoyaltyPref' element items.

Returns:
count

addLoyaltyPref

public void addLoyaltyPref(LoyaltyPref item)
Add a 'LoyaltyPref' element item.

Parameters:
item -

getLoyaltyPref

public LoyaltyPref getLoyaltyPref(int index)
Get 'LoyaltyPref' element item by position.

Parameters:
index -
Returns:
item

clearLoyaltyPrefs

public void clearLoyaltyPrefs()
Remove all 'LoyaltyPref' element items.


getSpecRequestPrefs

public java.util.List<SpecRequestPref> getSpecRequestPrefs()
Get the list of 'SpecRequestPref' element items. Enables a preference to be indicated for a special request.

Returns:
list

setSpecRequestPrefs

public void setSpecRequestPrefs(java.util.List<SpecRequestPref> list)
Set the list of 'SpecRequestPref' element items. Enables a preference to be indicated for a special request.

Parameters:
list -

sizeSpecRequestPrefs

public int sizeSpecRequestPrefs()
Get the number of 'SpecRequestPref' element items.

Returns:
count

addSpecRequestPref

public void addSpecRequestPref(SpecRequestPref item)
Add a 'SpecRequestPref' element item.

Parameters:
item -

getSpecRequestPref

public SpecRequestPref getSpecRequestPref(int index)
Get 'SpecRequestPref' element item by position.

Parameters:
index -
Returns:
item

clearSpecRequestPrefs

public void clearSpecRequestPrefs()
Remove all 'SpecRequestPref' element items.


getRelatedTravelerPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref> getRelatedTravelerPrefs()
Get the list of 'RelatedTravelerPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Returns:
list

setRelatedTravelerPrefs

public void setRelatedTravelerPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref> list)
Set the list of 'RelatedTravelerPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Parameters:
list -

sizeRelatedTravelerPrefs

public int sizeRelatedTravelerPrefs()
Get the number of 'RelatedTravelerPref' element items.

Returns:
count

addRelatedTravelerPref

public void addRelatedTravelerPref(Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref item)
Add a 'RelatedTravelerPref' element item.

Parameters:
item -

getRelatedTravelerPref

public Profile.PrefCollections.PrefCollection.CommonPref.RelatedTravelerPref getRelatedTravelerPref(int index)
Get 'RelatedTravelerPref' element item by position.

Parameters:
index -
Returns:
item

clearRelatedTravelerPrefs

public void clearRelatedTravelerPrefs()
Remove all 'RelatedTravelerPref' element items.


getContactPrefs

public java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.ContactPref> getContactPrefs()
Get the list of 'ContactPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Returns:
list

setContactPrefs

public void setContactPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref.ContactPref> list)
Set the list of 'ContactPref' element items. Identifies preferences for common travel needs not associated with a specific travel service.

Parameters:
list -

sizeContactPrefs

public int sizeContactPrefs()
Get the number of 'ContactPref' element items.

Returns:
count

addContactPref

public void addContactPref(Profile.PrefCollections.PrefCollection.CommonPref.ContactPref item)
Add a 'ContactPref' element item.

Parameters:
item -

getContactPref

public Profile.PrefCollections.PrefCollection.CommonPref.ContactPref getContactPref(int index)
Get 'ContactPref' element item by position.

Parameters:
index -
Returns:
item

clearContactPrefs

public void clearContactPrefs()
Remove all 'ContactPref' element items.


getEmployeeLevelInfo

public EmployeeInfo getEmployeeLevelInfo()
Get the 'EmployeeLevelInfo' element value. Defines the category of the traveler and the purpose of the trip for which these preferences apply. Typically used for company profiles.

Returns:
value

setEmployeeLevelInfo

public void setEmployeeLevelInfo(EmployeeInfo employeeLevelInfo)
Set the 'EmployeeLevelInfo' element value. Defines the category of the traveler and the purpose of the trip for which these preferences apply. Typically used for company profiles.

Parameters:
employeeLevelInfo -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getPrivacyGroup

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

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -

getSmokingAllowed

public java.lang.Boolean getSmokingAllowed()
Get the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Returns:
value

setSmokingAllowed

public void setSmokingAllowed(java.lang.Boolean smokingAllowed)
Set the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Parameters:
smokingAllowed -

getPrimaryLangID

public java.lang.String getPrimaryLangID()
Get the 'PrimaryLangID' attribute value. Identifes the primary language preference for the message. The human language is identified by ISO 639 codes.

Returns:
value

setPrimaryLangID

public void setPrimaryLangID(java.lang.String primaryLangID)
Set the 'PrimaryLangID' attribute value. Identifes the primary language preference for the message. The human language is identified by ISO 639 codes.

Parameters:
primaryLangID -

getAltLangID

public java.lang.String getAltLangID()
Get the 'AltLangID' attribute value. Identifies the alternate language for a customer or message. The human language is identified by ISO 639 codes.

Returns:
value

setAltLangID

public void setAltLangID(java.lang.String altLangID)
Set the 'AltLangID' attribute value. Identifies the alternate language for a customer or message. The human language is identified by ISO 639 codes.

Parameters:
altLangID -