org.ota.vehicle
Class LocDetailsNotifRQ

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

public class LocDetailsNotifRQ
extends java.lang.Object

This message will push location details for multiple car rental locations to a trading partner. The information pushed may establish this location initially in a trading partner's database and/or update the information that currently exists. 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_VehLocDetailsNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="LocationDetails">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="LocationDetail" maxOccurs="unbounded">
               <!-- Reference to inner class LocationDetail -->
             </xs:element>
           </xs:sequence>
           <xs:attribute type="xs:int" use="optional" name="LocationQuantity"/>
         </xs:complexType>
       </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 LocDetailsNotifRQ.LocationDetail
          All the detail information for a specific car rental location.
 
Constructor Summary
LocDetailsNotifRQ()
           
 
Method Summary
 void addLocationDetail(LocDetailsNotifRQ.LocationDetail item)
          Add a 'LocationDetail' element item.
 void clearLocationDetails()
          Remove all 'LocationDetail' element items.
 LocDetailsNotifRQ.LocationDetail getLocationDetail(int index)
          Get 'LocationDetail' element item by position.
 java.util.List<LocDetailsNotifRQ.LocationDetail> getLocationDetails()
          Get the list of 'LocationDetail' element items.
 java.lang.Integer getLocationDetailsLocationQuantity()
          Get the 'LocationQuantity' attribute value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 void setLocationDetails(java.util.List<LocDetailsNotifRQ.LocationDetail> list)
          Set the list of 'LocationDetail' element items.
 void setLocationDetailsLocationQuantity(java.lang.Integer locationDetailsLocationQuantity)
          Set the 'LocationQuantity' attribute value.
 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.
 int sizeLocationDetails()
          Get the number of 'LocationDetail' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocDetailsNotifRQ

public LocDetailsNotifRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. To specify who is sending the vehicle location details database information.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. To specify who is sending the vehicle location details database information.

Parameters:
POS -

getLocationDetails

public java.util.List<LocDetailsNotifRQ.LocationDetail> getLocationDetails()
Get the list of 'LocationDetail' element items. A container for location detail information.

Returns:
list

setLocationDetails

public void setLocationDetails(java.util.List<LocDetailsNotifRQ.LocationDetail> list)
Set the list of 'LocationDetail' element items. A container for location detail information.

Parameters:
list -

sizeLocationDetails

public int sizeLocationDetails()
Get the number of 'LocationDetail' element items.

Returns:
count

addLocationDetail

public void addLocationDetail(LocDetailsNotifRQ.LocationDetail item)
Add a 'LocationDetail' element item.

Parameters:
item -

getLocationDetail

public LocDetailsNotifRQ.LocationDetail getLocationDetail(int index)
Get 'LocationDetail' element item by position.

Parameters:
index -
Returns:
item

clearLocationDetails

public void clearLocationDetails()
Remove all 'LocationDetail' element items.


getLocationDetailsLocationQuantity

public java.lang.Integer getLocationDetailsLocationQuantity()
Get the 'LocationQuantity' attribute value. The count of car locations being sent in this message.

Returns:
value

setLocationDetailsLocationQuantity

public void setLocationDetailsLocationQuantity(java.lang.Integer locationDetailsLocationQuantity)
Set the 'LocationQuantity' attribute value. The count of car locations being sent in this message.

Parameters:
locationDetailsLocationQuantity -

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 -