org.ota.profile
Class ModifyRQ

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

public class ModifyRQ
extends java.lang.Object

This is a request message for modifying a profile identified by UniqueID. It is used for a full overlay of the profile. 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_ProfileModifyRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:sequence>
         <xs:element type="ns:UniqueID_Type" name="UniqueID" maxOccurs="9"/>
         <xs:element type="ns:ProfileType" name="ProfileModify"/>
       </xs:sequence>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ModifyRQ()
           
 
Method Summary
 void addUniqueID(UniqueID item)
          Add a 'UniqueID' element item.
 void clearUniqueIDs()
          Remove all 'UniqueID' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 Profile getProfileModify()
          Get the 'ProfileModify' 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 setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setProfileModify(Profile profileModify)
          Set the 'ProfileModify' element value.
 void setUniqueIDs(java.util.List<UniqueID> list)
          Set the list of 'UniqueID' 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

ModifyRQ

public ModifyRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getUniqueIDs

public java.util.List<UniqueID> getUniqueIDs()
Get the list of 'UniqueID' element items. Identifies the profile to be modified 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 to be modified 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.


getProfileModify

public Profile getProfileModify()
Get the 'ProfileModify' element value. A full overlay of profile information containing the modified data.

Returns:
value

setProfileModify

public void setProfileModify(Profile profileModify)
Set the 'ProfileModify' element value. A full overlay of profile information containing the modified data.

Parameters:
profileModify -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -