org.ota.vehicle
Class VehicleRetrieveResRQCore

java.lang.Object
  extended by org.ota.vehicle.VehicleRetrieveResRQCore
Direct Known Subclasses:
ReadRQ.ReadRequests.VehicleReadRequest

public class VehicleRetrieveResRQCore
extends java.lang.Object

The VehicleRetrieveInfoRQType complex type defines the common,or core, data by which an existing reservation can be identified for retrieval Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VehicleRetrieveResRQCoreType">
   <xs:sequence>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0" maxOccurs="2"/>
       <xs:element type="ns:PersonNameType" name="PersonName" minOccurs="0"/>
       <xs:element name="CustLoyalty" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CustomerLoyaltyGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Constructor Summary
VehicleRetrieveResRQCore()
           
 
Method Summary
 void addUniqueID(UniqueID item)
          Add a 'UniqueID' element item.
 void clearUniqueIDs()
          Remove all 'UniqueID' element items.
 CustomerLoyaltyGroup getCustLoyalty()
          Get the 'CustomerLoyaltyGroup' attributeGroup value.
 PersonName getPersonName()
          Get the 'PersonName' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' 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 setCustLoyalty(CustomerLoyaltyGroup custLoyalty)
          Set the 'CustomerLoyaltyGroup' attributeGroup value.
 void setPersonName(PersonName personName)
          Set the 'PersonName' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' 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

VehicleRetrieveResRQCore

public VehicleRetrieveResRQCore()
Method Detail

getUniqueIDs

public java.util.List<UniqueID> getUniqueIDs()
Get the list of 'UniqueID' element items. A unique identifier to reference a reservation, such as a reservation number or customer ID. May also be used to pass the IATA agency number.

Returns:
list

setUniqueIDs

public void setUniqueIDs(java.util.List<UniqueID> list)
Set the list of 'UniqueID' element items. A unique identifier to reference a reservation, such as a reservation number or customer ID. May also be used to pass the IATA agency number.

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.


getPersonName

public PersonName getPersonName()
Get the 'PersonName' element value. A name by which the reservation may be identified.

Returns:
value

setPersonName

public void setPersonName(PersonName personName)
Set the 'PersonName' element value. A name by which the reservation may be identified.

Parameters:
personName -

getCustLoyalty

public CustomerLoyaltyGroup getCustLoyalty()
Get the 'CustomerLoyaltyGroup' attributeGroup value. A frequent renter number associated with the reservation.

Returns:
value

setCustLoyalty

public void setCustLoyalty(CustomerLoyaltyGroup custLoyalty)
Set the 'CustomerLoyaltyGroup' attributeGroup value. A frequent renter number associated with the reservation.

Parameters:
custLoyalty -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -