org.ota.vehicle
Class VehicleArrivalDetails

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

public class VehicleArrivalDetails
extends java.lang.Object

The VehicleArrivalDetailsType complex type defines the information that describes an arriving mode of transportation which is associated with the rental of a vehicle. This is typically used to identify how the customer will be arriving at the vehicle rental facility. 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="VehicleArrivalDetailsType">
   <xs:sequence>
     <xs:element type="ns:LocationType" name="ArrivalLocation" minOccurs="0"/>
     <xs:element type="ns:CompanyNameType" name="MarketingCompany" minOccurs="0"/>
     <xs:element type="ns:CompanyNameType" name="OperatingCompany" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="TransportationCode"/>
   <xs:attribute type="xs:string" use="optional" name="Number"/>
   <xs:attribute type="xs:dateTime" use="optional" name="ArrivalDateTime"/>
 </xs:complexType>
 


Constructor Summary
VehicleArrivalDetails()
           
 
Method Summary
 java.util.Date getArrivalDateTime()
          Get the 'ArrivalDateTime' attribute value.
 Location getArrivalLocation()
          Get the 'ArrivalLocation' element value.
 CompanyName getMarketingCompany()
          Get the 'MarketingCompany' element value.
 java.lang.String getNumber()
          Get the 'Number' attribute value.
 CompanyName getOperatingCompany()
          Get the 'OperatingCompany' element value.
 java.lang.String getTransportationCode()
          Get the 'TransportationCode' attribute value.
 void setArrivalDateTime(java.util.Date arrivalDateTime)
          Set the 'ArrivalDateTime' attribute value.
 void setArrivalLocation(Location arrivalLocation)
          Set the 'ArrivalLocation' element value.
 void setMarketingCompany(CompanyName marketingCompany)
          Set the 'MarketingCompany' element value.
 void setNumber(java.lang.String number)
          Set the 'Number' attribute value.
 void setOperatingCompany(CompanyName operatingCompany)
          Set the 'OperatingCompany' element value.
 void setTransportationCode(java.lang.String transportationCode)
          Set the 'TransportationCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleArrivalDetails

public VehicleArrivalDetails()
Method Detail

getArrivalLocation

public Location getArrivalLocation()
Get the 'ArrivalLocation' element value. Arrival point of the associated transportation.

Returns:
value

setArrivalLocation

public void setArrivalLocation(Location arrivalLocation)
Set the 'ArrivalLocation' element value. Arrival point of the associated transportation.

Parameters:
arrivalLocation -

getMarketingCompany

public CompanyName getMarketingCompany()
Get the 'MarketingCompany' element value. Identification of the company marketing the transportation

Returns:
value

setMarketingCompany

public void setMarketingCompany(CompanyName marketingCompany)
Set the 'MarketingCompany' element value. Identification of the company marketing the transportation

Parameters:
marketingCompany -

getOperatingCompany

public CompanyName getOperatingCompany()
Get the 'OperatingCompany' element value. Identification of the company operating the transportation

Returns:
value

setOperatingCompany

public void setOperatingCompany(CompanyName operatingCompany)
Set the 'OperatingCompany' element value. Identification of the company operating the transportation

Parameters:
operatingCompany -

getTransportationCode

public java.lang.String getTransportationCode()
Get the 'TransportationCode' attribute value. Refer to OpenTravel Code List Transportation Code (TRP).

Returns:
value

setTransportationCode

public void setTransportationCode(java.lang.String transportationCode)
Set the 'TransportationCode' attribute value. Refer to OpenTravel Code List Transportation Code (TRP).

Parameters:
transportationCode -

getNumber

public java.lang.String getNumber()
Get the 'Number' attribute value. Often used in conjunction with TransportationCode to provide greater detail regarding the customer's arrival (e.g., an airline flight number).

Returns:
value

setNumber

public void setNumber(java.lang.String number)
Set the 'Number' attribute value. Often used in conjunction with TransportationCode to provide greater detail regarding the customer's arrival (e.g., an airline flight number).

Parameters:
number -

getArrivalDateTime

public java.util.Date getArrivalDateTime()
Get the 'ArrivalDateTime' attribute value.

Returns:
value

setArrivalDateTime

public void setArrivalDateTime(java.util.Date arrivalDateTime)
Set the 'ArrivalDateTime' attribute value.

Parameters:
arrivalDateTime -