org.ota.profile
Class Profiles

java.lang.Object
  extended by org.ota.profile.Profiles

public class Profiles
extends java.lang.Object

A collection of Profile objects or Unique IDs of Profiles. 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="ProfilesType">
   <xs:sequence>
     <xs:element name="ProfileInfo" maxOccurs="unbounded">
       <!-- Reference to inner class ProfileInfo -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class Profiles.ProfileInfo
          A collection of Profiles or Unique IDs of Profiles.
 
Constructor Summary
Profiles()
           
 
Method Summary
 void addProfileInfo(Profiles.ProfileInfo item)
          Add a 'ProfileInfo' element item.
 void clearProfileInfos()
          Remove all 'ProfileInfo' element items.
 Profiles.ProfileInfo getProfileInfo(int index)
          Get 'ProfileInfo' element item by position.
 java.util.List<Profiles.ProfileInfo> getProfileInfos()
          Get the list of 'ProfileInfo' element items.
 void setProfileInfos(java.util.List<Profiles.ProfileInfo> list)
          Set the list of 'ProfileInfo' element items.
 int sizeProfileInfos()
          Get the number of 'ProfileInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profiles

public Profiles()
Method Detail

getProfileInfos

public java.util.List<Profiles.ProfileInfo> getProfileInfos()
Get the list of 'ProfileInfo' element items.

Returns:
list

setProfileInfos

public void setProfileInfos(java.util.List<Profiles.ProfileInfo> list)
Set the list of 'ProfileInfo' element items.

Parameters:
list -

sizeProfileInfos

public int sizeProfileInfos()
Get the number of 'ProfileInfo' element items.

Returns:
count

addProfileInfo

public void addProfileInfo(Profiles.ProfileInfo item)
Add a 'ProfileInfo' element item.

Parameters:
item -

getProfileInfo

public Profiles.ProfileInfo getProfileInfo(int index)
Get 'ProfileInfo' element item by position.

Parameters:
index -
Returns:
item

clearProfileInfos

public void clearProfileInfos()
Remove all 'ProfileInfo' element items.