org.ota.vehicle
Class VehicleCore

java.lang.Object
  extended by org.ota.vehicle.VehicleCore
Direct Known Subclasses:
LocDetailsNotifRQ.LocationDetail.LoyaltyProgram.Vehicles.Vehicle, Vehicle, VehicleAdditionalDriverRequirements.AddlDriverInfos.Vehicles.Vehicle, VehicleAgeRequirements.Age.Vehicle, VehiclePref

public class VehicleCore
extends java.lang.Object

The VehicleCoreType complex type identifies the core data that is used to describe a vehicle. 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="VehicleCoreType">
   <xs:sequence>
     <xs:element name="VehType" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:VehicleTypeGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="VehClass" minOccurs="0">
       <!-- Reference to inner class VehClass -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:boolean" use="optional" name="AirConditionInd"/>
   <xs:attribute type="ns:VehicleTransmissionType" use="optional" name="TransmissionType"/>
   <xs:attribute use="optional" name="FuelType">
     <xs:simpleType>
       <!-- Reference to inner class Fuel -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute use="optional" name="DriveType">
     <xs:simpleType>
       <!-- Reference to inner class Drive -->
     </xs:simpleType>
   </xs:attribute>
 </xs:complexType>
 


Nested Class Summary
static class VehicleCore.Drive
          Schema fragment(s) for this class:
static class VehicleCore.Fuel
          Schema fragment(s) for this class:
static class VehicleCore.VehClass
          Class of vehicle, for example, intermediate, compact Schema fragment(s) for this class:
 
Constructor Summary
VehicleCore()
           
 
Method Summary
 java.lang.Boolean getAirConditionInd()
          Get the 'AirConditionInd' attribute value.
 VehicleCore.Drive getDrive()
          Get the 'DriveType' attribute value.
 VehicleCore.Fuel getFuel()
          Get the 'FuelType' attribute value.
 VehicleTransmission getTransmission()
          Get the 'TransmissionType' attribute value.
 VehicleTypeGroup getVeh()
          Get the 'VehicleTypeGroup' attributeGroup value.
 VehicleCore.VehClass getVehClass()
          Get the 'VehClass' element value.
 void setAirConditionInd(java.lang.Boolean airConditionInd)
          Set the 'AirConditionInd' attribute value.
 void setDrive(VehicleCore.Drive drive)
          Set the 'DriveType' attribute value.
 void setFuel(VehicleCore.Fuel fuel)
          Set the 'FuelType' attribute value.
 void setTransmission(VehicleTransmission transmission)
          Set the 'TransmissionType' attribute value.
 void setVeh(VehicleTypeGroup veh)
          Set the 'VehicleTypeGroup' attributeGroup value.
 void setVehClass(VehicleCore.VehClass vehClass)
          Set the 'VehClass' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleCore

public VehicleCore()
Method Detail

getVeh

public VehicleTypeGroup getVeh()
Get the 'VehicleTypeGroup' attributeGroup value. Type of vehicle, for example, truck, car

Returns:
value

setVeh

public void setVeh(VehicleTypeGroup veh)
Set the 'VehicleTypeGroup' attributeGroup value. Type of vehicle, for example, truck, car

Parameters:
veh -

getVehClass

public VehicleCore.VehClass getVehClass()
Get the 'VehClass' element value.

Returns:
value

setVehClass

public void setVehClass(VehicleCore.VehClass vehClass)
Set the 'VehClass' element value.

Parameters:
vehClass -

getAirConditionInd

public java.lang.Boolean getAirConditionInd()
Get the 'AirConditionInd' attribute value.

Returns:
value

setAirConditionInd

public void setAirConditionInd(java.lang.Boolean airConditionInd)
Set the 'AirConditionInd' attribute value.

Parameters:
airConditionInd -

getTransmission

public VehicleTransmission getTransmission()
Get the 'TransmissionType' attribute value.

Returns:
value

setTransmission

public void setTransmission(VehicleTransmission transmission)
Set the 'TransmissionType' attribute value.

Parameters:
transmission -

getFuel

public VehicleCore.Fuel getFuel()
Get the 'FuelType' attribute value. The kind of fuel the vehicle uses.

Returns:
value

setFuel

public void setFuel(VehicleCore.Fuel fuel)
Set the 'FuelType' attribute value. The kind of fuel the vehicle uses.

Parameters:
fuel -

getDrive

public VehicleCore.Drive getDrive()
Get the 'DriveType' attribute value. Used to define the drive type of a vehicle.

Returns:
value

setDrive

public void setDrive(VehicleCore.Drive drive)
Set the 'DriveType' attribute value. Used to define the drive type of a vehicle.

Parameters:
drive -