org.ota.vehicle
Class VehicleTourInfo

java.lang.Object
  extended by org.ota.vehicle.VehicleTourInfo
Direct Known Subclasses:
VehicleAvailVendorInfo.TourInfo

public class VehicleTourInfo
extends java.lang.Object

The VehicleTourInfoType provides information about a tour that includes a vehicle rental. 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="VehicleTourInfoType">
   <xs:sequence>
     <xs:element type="ns:CompanyNameType" name="TourOperator" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="TourNumber"/>
 </xs:complexType>
 


Constructor Summary
VehicleTourInfo()
           
 
Method Summary
 java.lang.String getTourNumber()
          Get the 'TourNumber' attribute value.
 CompanyName getTourOperator()
          Get the 'TourOperator' element value.
 void setTourNumber(java.lang.String tourNumber)
          Set the 'TourNumber' attribute value.
 void setTourOperator(CompanyName tourOperator)
          Set the 'TourOperator' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleTourInfo

public VehicleTourInfo()
Method Detail

getTourOperator

public CompanyName getTourOperator()
Get the 'TourOperator' element value. This identifies the tour operator.

Returns:
value

setTourOperator

public void setTourOperator(CompanyName tourOperator)
Set the 'TourOperator' element value. This identifies the tour operator.

Parameters:
tourOperator -

getTourNumber

public java.lang.String getTourNumber()
Get the 'TourNumber' attribute value. This is the identifying code assigned by the tour operating company to the tour that includes the vehicle rental.

Returns:
value

setTourNumber

public void setTourNumber(java.lang.String tourNumber)
Set the 'TourNumber' attribute value. This is the identifying code assigned by the tour operating company to the tour that includes the vehicle rental.

Parameters:
tourNumber -