org.ota.vehicle
Class ModifyRQ

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

public class ModifyRQ
extends java.lang.Object

The root tag of OTA_VehModiifyRQ contains standard payload attributes found in all OpenTravel payload documents. The attribute ReqRespVersion is a positive integer value that indicates the version number requested for the response message. 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_VehModifyRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
       <xs:element name="VehModifyRQCore" maxOccurs="3">
         <!-- Reference to inner class VehModifyRQCore -->
       </xs:element>
       <xs:element name="VehModifyRQInfo" minOccurs="0" maxOccurs="3">
         <!-- Reference to inner class VehModifyRQInfo -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ReqRespVersion"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReqRespVersion">
   <xs:attribute type="xs:string" use="optional" name="ReqRespVersion"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class ModifyRQ.VehModifyRQCore
          Identifies the common, or core, information associated with the request for the modification of a rental vehicle reservation.
static class ModifyRQ.VehModifyRQInfo
          Identifies the supplemental information associated with the request for the modification of a rental vehicle reservation.
 
Constructor Summary
ModifyRQ()
           
 
Method Summary
 void addVehModifyRQCore(ModifyRQ.VehModifyRQCore item)
          Add a 'VehModifyRQCore' element item.
 void addVehModifyRQInfo(ModifyRQ.VehModifyRQInfo item)
          Add a 'VehModifyRQInfo' element item.
 void clearVehModifyRQCores()
          Remove all 'VehModifyRQCore' element items.
 void clearVehModifyRQInfos()
          Remove all 'VehModifyRQInfo' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 ModifyRQ.VehModifyRQCore getVehModifyRQCore(int index)
          Get 'VehModifyRQCore' element item by position.
 java.util.List<ModifyRQ.VehModifyRQCore> getVehModifyRQCores()
          Get the list of 'VehModifyRQCore' element items.
 ModifyRQ.VehModifyRQInfo getVehModifyRQInfo(int index)
          Get 'VehModifyRQInfo' element item by position.
 java.util.List<ModifyRQ.VehModifyRQInfo> getVehModifyRQInfos()
          Get the list of 'VehModifyRQInfo' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setReqRespVersion(java.lang.String reqRespVersion)
          Set the 'ReqRespVersion' attribute value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 void setVehModifyRQCores(java.util.List<ModifyRQ.VehModifyRQCore> list)
          Set the list of 'VehModifyRQCore' element items.
 void setVehModifyRQInfos(java.util.List<ModifyRQ.VehModifyRQInfo> list)
          Set the list of 'VehModifyRQInfo' element items.
 int sizeVehModifyRQCores()
          Get the number of 'VehModifyRQCore' element items.
 int sizeVehModifyRQInfos()
          Get the number of 'VehModifyRQInfo' 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 Identification. Identification number of the vendor that has made the vehicle availability request and agency number assigned by IATA, ARC, ESRP or TID.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of Sale Identification. Identification number of the vendor that has made the vehicle availability request and agency number assigned by IATA, ARC, ESRP or TID.

Parameters:
POS -

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. A unique identifier by which to reference the reservation. This is typically referred to as a reservation number. Generally used at this level when multiple actions are being made to the reservation.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. A unique identifier by which to reference the reservation. This is typically referred to as a reservation number. Generally used at this level when multiple actions are being made to the reservation.

Parameters:
uniqueID -

getVehModifyRQCores

public java.util.List<ModifyRQ.VehModifyRQCore> getVehModifyRQCores()
Get the list of 'VehModifyRQCore' element items.

Returns:
list

setVehModifyRQCores

public void setVehModifyRQCores(java.util.List<ModifyRQ.VehModifyRQCore> list)
Set the list of 'VehModifyRQCore' element items.

Parameters:
list -

sizeVehModifyRQCores

public int sizeVehModifyRQCores()
Get the number of 'VehModifyRQCore' element items.

Returns:
count

addVehModifyRQCore

public void addVehModifyRQCore(ModifyRQ.VehModifyRQCore item)
Add a 'VehModifyRQCore' element item.

Parameters:
item -

getVehModifyRQCore

public ModifyRQ.VehModifyRQCore getVehModifyRQCore(int index)
Get 'VehModifyRQCore' element item by position.

Parameters:
index -
Returns:
item

clearVehModifyRQCores

public void clearVehModifyRQCores()
Remove all 'VehModifyRQCore' element items.


getVehModifyRQInfos

public java.util.List<ModifyRQ.VehModifyRQInfo> getVehModifyRQInfos()
Get the list of 'VehModifyRQInfo' element items.

Returns:
list

setVehModifyRQInfos

public void setVehModifyRQInfos(java.util.List<ModifyRQ.VehModifyRQInfo> list)
Set the list of 'VehModifyRQInfo' element items.

Parameters:
list -

sizeVehModifyRQInfos

public int sizeVehModifyRQInfos()
Get the number of 'VehModifyRQInfo' element items.

Returns:
count

addVehModifyRQInfo

public void addVehModifyRQInfo(ModifyRQ.VehModifyRQInfo item)
Add a 'VehModifyRQInfo' element item.

Parameters:
item -

getVehModifyRQInfo

public ModifyRQ.VehModifyRQInfo getVehModifyRQInfo(int index)
Get 'VehModifyRQInfo' element item by position.

Parameters:
index -
Returns:
item

clearVehModifyRQInfos

public void clearVehModifyRQInfos()
Remove all 'VehModifyRQInfo' element items.


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 -

getReqRespVersion

public java.lang.String getReqRespVersion()
Get the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Returns:
value

setReqRespVersion

public void setReqRespVersion(java.lang.String reqRespVersion)
Set the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Parameters:
reqRespVersion -