org.ota.profile
Class Profile.PrefCollections

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

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

A collection of preference collections. 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:PreferencesType" name="PrefCollections" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferencesType">
   <xs:sequence>
     <xs:element name="PrefCollection" maxOccurs="unbounded">
       <!-- Reference to inner class PrefCollection -->
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PrivacyGroup"/>
 </xs:complexType>
 


Nested Class Summary
static class Profile.PrefCollections.PrefCollection
          Aggregation of customer travel needs.
 
Constructor Summary
Profile.PrefCollections()
           
 
Method Summary
 void addPrefCollection(Profile.PrefCollections.PrefCollection item)
          Add a 'PrefCollection' element item.
 void clearPrefCollections()
          Remove all 'PrefCollection' element items.
 Profile.PrefCollections.PrefCollection getPrefCollection(int index)
          Get 'PrefCollection' element item by position.
 java.util.List<Profile.PrefCollections.PrefCollection> getPrefCollections()
          Get the list of 'PrefCollection' element items.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 void setPrefCollections(java.util.List<Profile.PrefCollections.PrefCollection> list)
          Set the list of 'PrefCollection' element items.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 int sizePrefCollections()
          Get the number of 'PrefCollection' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections

public Profile.PrefCollections()
Method Detail

getPrefCollections

public java.util.List<Profile.PrefCollections.PrefCollection> getPrefCollections()
Get the list of 'PrefCollection' element items. Needs of the traveler related to travel experiences.

Returns:
list

setPrefCollections

public void setPrefCollections(java.util.List<Profile.PrefCollections.PrefCollection> list)
Set the list of 'PrefCollection' element items. Needs of the traveler related to travel experiences.

Parameters:
list -

sizePrefCollections

public int sizePrefCollections()
Get the number of 'PrefCollection' element items.

Returns:
count

addPrefCollection

public void addPrefCollection(Profile.PrefCollections.PrefCollection item)
Add a 'PrefCollection' element item.

Parameters:
item -

getPrefCollection

public Profile.PrefCollections.PrefCollection getPrefCollection(int index)
Get 'PrefCollection' element item by position.

Parameters:
index -
Returns:
item

clearPrefCollections

public void clearPrefCollections()
Remove all 'PrefCollection' element items.


getPrivacyGroup

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

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -