org.ota.vehicle
Class VehicleTypeGroup

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

public class VehicleTypeGroup
extends java.lang.Object

The VehicleTypeType complex type defines what is referred to as the type of vehicle. The range of vehicles is divided into types to aid in clarifying a request and to aid in describing a specific vehicle. A vehicle type is defined to be the combination of the vehicle category (Car, Truck, etc) and the number of doors on that vehicle. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VehicleTypeGroup">
   <xs:attribute type="xs:string" use="required" name="VehicleCategory"/>
   <xs:attribute type="xs:string" use="optional" name="DoorCount"/>
 </xs:attributeGroup>
 


Constructor Summary
VehicleTypeGroup()
           
 
Method Summary
 java.lang.String getDoorCount()
          Get the 'DoorCount' attribute value.
 java.lang.String getVehicleCategory()
          Get the 'VehicleCategory' attribute value.
 void setDoorCount(java.lang.String doorCount)
          Set the 'DoorCount' attribute value.
 void setVehicleCategory(java.lang.String vehicleCategory)
          Set the 'VehicleCategory' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleTypeGroup

public VehicleTypeGroup()
Method Detail

getVehicleCategory

public java.lang.String getVehicleCategory()
Get the 'VehicleCategory' attribute value. The VehicleCategory attribute provides the catgeory of a vehicle. Refer to OpenTravel Code List Vehicle Category (VEC).

Returns:
value

setVehicleCategory

public void setVehicleCategory(java.lang.String vehicleCategory)
Set the 'VehicleCategory' attribute value. The VehicleCategory attribute provides the catgeory of a vehicle. Refer to OpenTravel Code List Vehicle Category (VEC).

Parameters:
vehicleCategory -

getDoorCount

public java.lang.String getDoorCount()
Get the 'DoorCount' attribute value. The number of doors on a vehicle. This may be an exact number or a range, i.e. 2-4.

Returns:
value

setDoorCount

public void setDoorCount(java.lang.String doorCount)
Set the 'DoorCount' attribute value. The number of doors on a vehicle. This may be an exact number or a range, i.e. 2-4.

Parameters:
doorCount -