org.ota.vehicle
Class VehicleReservationSummary

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

public class VehicleReservationSummary
extends java.lang.Object

The VehicleReservationSummaryType complextype identifies the summary data that identifies a reservation. Use of one or more of the elements will help in identifying a specific reservation. 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="VehicleReservationSummaryType">
   <xs:sequence>
     <xs:element name="ConfID" maxOccurs="4">
       <!-- Reference to inner class ConfID -->
     </xs:element>
     <xs:element type="ns:LocationType" name="PickUpLocation" minOccurs="0"/>
     <xs:element type="ns:LocationType" name="ReturnLocation" minOccurs="0"/>
     <xs:element type="ns:PersonNameType" name="PersonName" minOccurs="0"/>
     <xs:element type="ns:VehicleType" name="Vehicle" minOccurs="0"/>
     <xs:element type="ns:CompanyNameType" name="Vendor" minOccurs="0"/>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:dateTime" use="optional" name="PickUpDateTime"/>
   <xs:attribute type="xs:dateTime" use="optional" name="ReturnDateTime"/>
   <xs:attribute type="xs:string" use="optional" name="ReservationStatus"/>
   <xs:attributeGroup ref="ns:DateTimeStampGroup"/>
 </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"/>
 


Nested Class Summary
static class VehicleReservationSummary.ConfID
          A confirmation number by which this reservation can be uniquely identified.
 
Constructor Summary
VehicleReservationSummary()
           
 
Method Summary
 void addConfID(VehicleReservationSummary.ConfID item)
          Add a 'ConfID' element item.
 void clearConfIDs()
          Remove all 'ConfID' element items.
 VehicleReservationSummary.ConfID getConfID(int index)
          Get 'ConfID' element item by position.
 java.util.List<VehicleReservationSummary.ConfID> getConfIDs()
          Get the list of 'ConfID' element items.
 DateTimeStampGroup getDateTimeStampGroup()
          Get the 'DateTimeStampGroup' attributeGroup value.
 PersonName getPersonName()
          Get the 'PersonName' element value.
 java.util.Date getPickUpDateTime()
          Get the 'PickUpDateTime' attribute value.
 Location getPickUpLocation()
          Get the 'PickUpLocation' element value.
 java.lang.String getReservationStatus()
          Get the 'ReservationStatus' attribute value.
 java.util.Date getReturnDateTime()
          Get the 'ReturnDateTime' attribute value.
 Location getReturnLocation()
          Get the 'ReturnLocation' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 Vehicle getVehicle()
          Get the 'Vehicle' element value.
 CompanyName getVendor()
          Get the 'Vendor' element value.
 void setConfIDs(java.util.List<VehicleReservationSummary.ConfID> list)
          Set the list of 'ConfID' element items.
 void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
          Set the 'DateTimeStampGroup' attributeGroup value.
 void setPersonName(PersonName personName)
          Set the 'PersonName' element value.
 void setPickUpDateTime(java.util.Date pickUpDateTime)
          Set the 'PickUpDateTime' attribute value.
 void setPickUpLocation(Location pickUpLocation)
          Set the 'PickUpLocation' element value.
 void setReservationStatus(java.lang.String reservationStatus)
          Set the 'ReservationStatus' attribute value.
 void setReturnDateTime(java.util.Date returnDateTime)
          Set the 'ReturnDateTime' attribute value.
 void setReturnLocation(Location returnLocation)
          Set the 'ReturnLocation' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVehicle(Vehicle vehicle)
          Set the 'Vehicle' element value.
 void setVendor(CompanyName vendor)
          Set the 'Vendor' element value.
 int sizeConfIDs()
          Get the number of 'ConfID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleReservationSummary

public VehicleReservationSummary()
Method Detail

getConfIDs

public java.util.List<VehicleReservationSummary.ConfID> getConfIDs()
Get the list of 'ConfID' element items.

Returns:
list

setConfIDs

public void setConfIDs(java.util.List<VehicleReservationSummary.ConfID> list)
Set the list of 'ConfID' element items.

Parameters:
list -

sizeConfIDs

public int sizeConfIDs()
Get the number of 'ConfID' element items.

Returns:
count

addConfID

public void addConfID(VehicleReservationSummary.ConfID item)
Add a 'ConfID' element item.

Parameters:
item -

getConfID

public VehicleReservationSummary.ConfID getConfID(int index)
Get 'ConfID' element item by position.

Parameters:
index -
Returns:
item

clearConfIDs

public void clearConfIDs()
Remove all 'ConfID' element items.


getPickUpLocation

public Location getPickUpLocation()
Get the 'PickUpLocation' element value. A code to identify the pick up location, along with an optional code context.

Returns:
value

setPickUpLocation

public void setPickUpLocation(Location pickUpLocation)
Set the 'PickUpLocation' element value. A code to identify the pick up location, along with an optional code context.

Parameters:
pickUpLocation -

getReturnLocation

public Location getReturnLocation()
Get the 'ReturnLocation' element value. A code to identify the return location, along with an optional code context.

Returns:
value

setReturnLocation

public void setReturnLocation(Location returnLocation)
Set the 'ReturnLocation' element value. A code to identify the return location, along with an optional code context.

Parameters:
returnLocation -

getPersonName

public PersonName getPersonName()
Get the 'PersonName' element value. Name of the person associated with the reservation

Returns:
value

setPersonName

public void setPersonName(PersonName personName)
Set the 'PersonName' element value. Name of the person associated with the reservation

Parameters:
personName -

getVehicle

public Vehicle getVehicle()
Get the 'Vehicle' element value. Information about a vehicle that has been reserved, such as the class and type.

Returns:
value

setVehicle

public void setVehicle(Vehicle vehicle)
Set the 'Vehicle' element value. Information about a vehicle that has been reserved, such as the class and type.

Parameters:
vehicle -

getVendor

public CompanyName getVendor()
Get the 'Vendor' element value. Identifies the vendor associated with this information.

Returns:
value

setVendor

public void setVendor(CompanyName vendor)
Set the 'Vendor' element value. Identifies the vendor associated with this information.

Parameters:
vendor -

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 -

getPickUpDateTime

public java.util.Date getPickUpDateTime()
Get the 'PickUpDateTime' attribute value. The PickUpDateTime attribute provides information on the pickup date and time.

Returns:
value

setPickUpDateTime

public void setPickUpDateTime(java.util.Date pickUpDateTime)
Set the 'PickUpDateTime' attribute value. The PickUpDateTime attribute provides information on the pickup date and time.

Parameters:
pickUpDateTime -

getReturnDateTime

public java.util.Date getReturnDateTime()
Get the 'ReturnDateTime' attribute value. The ReturnDateTime attribute provides information on the return date and time.

Returns:
value

setReturnDateTime

public void setReturnDateTime(java.util.Date returnDateTime)
Set the 'ReturnDateTime' attribute value. The ReturnDateTime attribute provides information on the return date and time.

Parameters:
returnDateTime -

getReservationStatus

public java.lang.String getReservationStatus()
Get the 'ReservationStatus' attribute value. Used to specify the status of a reservation.

Returns:
value

setReservationStatus

public void setReservationStatus(java.lang.String reservationStatus)
Set the 'ReservationStatus' attribute value. Used to specify the status of a reservation.

Parameters:
reservationStatus -

getDateTimeStampGroup

public DateTimeStampGroup getDateTimeStampGroup()
Get the 'DateTimeStampGroup' attributeGroup value. Information about the creation and last modification of the reservation.

Returns:
value

setDateTimeStampGroup

public void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
Set the 'DateTimeStampGroup' attributeGroup value. Information about the creation and last modification of the reservation.

Parameters:
dateTimeStampGroup -