org.ota.profile
Class MergeRQ

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

public class MergeRQ
extends java.lang.Object

This message provides for the merging of one or more profiles. 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" name="OTA_ProfileMergeRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" maxOccurs="9"/>
       <xs:element type="ns:UniqueID_Type" name="ObsoleteProfileID" maxOccurs="unbounded"/>
       <xs:element type="ns:ProfileType" name="Profile"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
MergeRQ()
           
 
Method Summary
 void addObsoleteProfileID(UniqueID item)
          Add a 'ObsoleteProfileID' element item.
 void addUniqueID(UniqueID item)
          Add a 'UniqueID' element item.
 void clearObsoleteProfileIDs()
          Remove all 'ObsoleteProfileID' element items.
 void clearUniqueIDs()
          Remove all 'UniqueID' element items.
 UniqueID getObsoleteProfileID(int index)
          Get 'ObsoleteProfileID' element item by position.
 java.util.List<UniqueID> getObsoleteProfileIDs()
          Get the list of 'ObsoleteProfileID' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 Profile getProfile()
          Get the 'Profile' element value.
 UniqueID getUniqueID(int index)
          Get 'UniqueID' element item by position.
 java.util.List<UniqueID> getUniqueIDs()
          Get the list of 'UniqueID' element items.
 void setObsoleteProfileIDs(java.util.List<UniqueID> list)
          Set the list of 'ObsoleteProfileID' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setProfile(Profile profile)
          Set the 'Profile' element value.
 void setUniqueIDs(java.util.List<UniqueID> list)
          Set the list of 'UniqueID' element items.
 int sizeObsoleteProfileIDs()
          Get the number of 'ObsoleteProfileID' element items.
 int sizeUniqueIDs()
          Get the number of 'UniqueID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeRQ

public MergeRQ()
Method Detail

getUniqueIDs

public java.util.List<UniqueID> getUniqueIDs()
Get the list of 'UniqueID' element items. Identifies the profile for which information is being merged from the profiles identified by the ObsoleteProfileID together with the owner of the profile or an id provided by the client.

Returns:
list

setUniqueIDs

public void setUniqueIDs(java.util.List<UniqueID> list)
Set the list of 'UniqueID' element items. Identifies the profile for which information is being merged from the profiles identified by the ObsoleteProfileID together with the owner of the profile or an id provided by the client.

Parameters:
list -

sizeUniqueIDs

public int sizeUniqueIDs()
Get the number of 'UniqueID' element items.

Returns:
count

addUniqueID

public void addUniqueID(UniqueID item)
Add a 'UniqueID' element item.

Parameters:
item -

getUniqueID

public UniqueID getUniqueID(int index)
Get 'UniqueID' element item by position.

Parameters:
index -
Returns:
item

clearUniqueIDs

public void clearUniqueIDs()
Remove all 'UniqueID' element items.


getObsoleteProfileIDs

public java.util.List<UniqueID> getObsoleteProfileIDs()
Get the list of 'ObsoleteProfileID' element items. The profile(s) to be merged into the profile represented by UniqueID.

Returns:
list

setObsoleteProfileIDs

public void setObsoleteProfileIDs(java.util.List<UniqueID> list)
Set the list of 'ObsoleteProfileID' element items. The profile(s) to be merged into the profile represented by UniqueID.

Parameters:
list -

sizeObsoleteProfileIDs

public int sizeObsoleteProfileIDs()
Get the number of 'ObsoleteProfileID' element items.

Returns:
count

addObsoleteProfileID

public void addObsoleteProfileID(UniqueID item)
Add a 'ObsoleteProfileID' element item.

Parameters:
item -

getObsoleteProfileID

public UniqueID getObsoleteProfileID(int index)
Get 'ObsoleteProfileID' element item by position.

Parameters:
index -
Returns:
item

clearObsoleteProfileIDs

public void clearObsoleteProfileIDs()
Remove all 'ObsoleteProfileID' element items.


getProfile

public Profile getProfile()
Get the 'Profile' element value. Results of the merged profile.

Returns:
value

setProfile

public void setProfile(Profile profile)
Set the 'Profile' element value. Results of the merged profile.

Parameters:
profile -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -