org.ota.profile
Class CreateRQ

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

public class CreateRQ
extends java.lang.Object

Provides the ability to create a new 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_ProfileCreateRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" maxOccurs="9"/>
       <xs:element type="ns:ProfileType" name="Profile"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
CreateRQ()
           
 
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.
 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 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 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

CreateRQ

public CreateRQ()
Method Detail

getUniqueIDs

public java.util.List<UniqueID> getUniqueIDs()
Get the list of 'UniqueID' element items. Used to convey the identity of the profile, 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. Used to convey the identity of the profile, 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.


getProfile

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

Returns:
value

setProfile

public void setProfile(Profile profile)
Set the 'Profile' element value. Details of the 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 -