org.ota.vehicle
Class Vehicle

java.lang.Object
  extended by org.ota.vehicle.VehicleCore
      extended by org.ota.vehicle.Vehicle
Direct Known Subclasses:
ExchangeRQ.Vehicle, ExchangeRS.Vehicle, RateRuleRS.Vehicle, VehicleLocationLiabilities.Coverages.Coverage.CoverageFees.CoverageFee.Vehicles.Vehicle, VehicleLocationVehicles.Vehicle

public class Vehicle
extends VehicleCore

The VehicleType complex type identifie sthe data that fully describes a vehicle. This includes the core information along with supplemental information such as make and model, and a link to a picture. 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="VehicleType">
   <xs:complexContent>
     <xs:extension base="ns:VehicleCoreType">
       <xs:sequence>
         <xs:element name="VehMakeModel" minOccurs="0">
           <xs:complexType>
             <xs:attributeGroup ref="ns:VehicleMakeModelGroup"/>
           </xs:complexType>
         </xs:element>
         <xs:element type="xs:string" name="PictureURL" minOccurs="0"/>
         <xs:element name="VehIdentity" minOccurs="0">
           <xs:complexType>
             <xs:attributeGroup ref="ns:VehicleIdentityGroup"/>
           </xs:complexType>
         </xs:element>
       </xs:sequence>
       <xs:attribute type="xs:string" use="optional" name="PassengerQuantity"/>
       <xs:attribute type="xs:int" use="optional" name="BaggageQuantity"/>
       <xs:attribute type="xs:string" use="optional" name="VendorCarType"/>
       <xs:attributeGroup ref="ns:CodeGroup"/>
       <xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/>
       <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
       <xs:attribute type="ns:DistanceUnitNameType" use="optional" name="OdometerUnitOfMeasure"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.vehicle.VehicleCore
VehicleCore.Drive, VehicleCore.Fuel, VehicleCore.VehClass
 
Constructor Summary
Vehicle()
           
 
Method Summary
 java.lang.Integer getBaggageQuantity()
          Get the 'BaggageQuantity' attribute value.
 CodeGroup getCodeGroup()
          Get the 'CodeGroup' attributeGroup value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 DistanceUnitName getOdometerUnitOfMeasure()
          Get the 'OdometerUnitOfMeasure' attribute value.
 java.lang.String getPassengerQuantity()
          Get the 'PassengerQuantity' attribute value.
 java.lang.String getPictureURL()
          Get the 'PictureURL' element value.
 UnitsOfMeasureGroup getUnitsOfMeasureGroup()
          Get the 'UnitsOfMeasureGroup' attributeGroup value.
 VehicleIdentityGroup getVehIdentity()
          Get the 'VehicleIdentityGroup' attributeGroup value.
 VehicleMakeModelGroup getVehMakeModel()
          Get the 'VehicleMakeModelGroup' attributeGroup value.
 java.lang.String getVendorCar()
          Get the 'VendorCarType' attribute value.
 void setBaggageQuantity(java.lang.Integer baggageQuantity)
          Set the 'BaggageQuantity' attribute value.
 void setCodeGroup(CodeGroup codeGroup)
          Set the 'CodeGroup' attributeGroup value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setOdometerUnitOfMeasure(DistanceUnitName odometerUnitOfMeasure)
          Set the 'OdometerUnitOfMeasure' attribute value.
 void setPassengerQuantity(java.lang.String passengerQuantity)
          Set the 'PassengerQuantity' attribute value.
 void setPictureURL(java.lang.String pictureURL)
          Set the 'PictureURL' element value.
 void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
          Set the 'UnitsOfMeasureGroup' attributeGroup value.
 void setVehIdentity(VehicleIdentityGroup vehIdentity)
          Set the 'VehicleIdentityGroup' attributeGroup value.
 void setVehMakeModel(VehicleMakeModelGroup vehMakeModel)
          Set the 'VehicleMakeModelGroup' attributeGroup value.
 void setVendorCar(java.lang.String vendorCar)
          Set the 'VendorCarType' attribute value.
 
Methods inherited from class org.ota.vehicle.VehicleCore
getAirConditionInd, getDrive, getFuel, getTransmission, getVeh, getVehClass, setAirConditionInd, setDrive, setFuel, setTransmission, setVeh, setVehClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vehicle

public Vehicle()
Method Detail

getVehMakeModel

public VehicleMakeModelGroup getVehMakeModel()
Get the 'VehicleMakeModelGroup' attributeGroup value. The make and model of the vehicle (e.g., Ford Focus). The Code attribute may be used for the SIPP code.

Returns:
value

setVehMakeModel

public void setVehMakeModel(VehicleMakeModelGroup vehMakeModel)
Set the 'VehicleMakeModelGroup' attributeGroup value. The make and model of the vehicle (e.g., Ford Focus). The Code attribute may be used for the SIPP code.

Parameters:
vehMakeModel -

getPictureURL

public java.lang.String getPictureURL()
Get the 'PictureURL' element value. URL that identifies the location of a picture to describe this vehicle.

Returns:
value

setPictureURL

public void setPictureURL(java.lang.String pictureURL)
Set the 'PictureURL' element value. URL that identifies the location of a picture to describe this vehicle.

Parameters:
pictureURL -

getVehIdentity

public VehicleIdentityGroup getVehIdentity()
Get the 'VehicleIdentityGroup' attributeGroup value. The specific identifiers of the vehicle (e.g., Motor Vehicle Asset Number).

Returns:
value

setVehIdentity

public void setVehIdentity(VehicleIdentityGroup vehIdentity)
Set the 'VehicleIdentityGroup' attributeGroup value. The specific identifiers of the vehicle (e.g., Motor Vehicle Asset Number).

Parameters:
vehIdentity -

getPassengerQuantity

public java.lang.String getPassengerQuantity()
Get the 'PassengerQuantity' attribute value. Number of passengers that can be accommodated by this vehicle. This may be an exact number or may be a range, i.e., 4-5, 5-6.

Returns:
value

setPassengerQuantity

public void setPassengerQuantity(java.lang.String passengerQuantity)
Set the 'PassengerQuantity' attribute value. Number of passengers that can be accommodated by this vehicle. This may be an exact number or may be a range, i.e., 4-5, 5-6.

Parameters:
passengerQuantity -

getBaggageQuantity

public java.lang.Integer getBaggageQuantity()
Get the 'BaggageQuantity' attribute value. Number of bags/suitcases that can be accommodated by this vehicle.

Returns:
value

setBaggageQuantity

public void setBaggageQuantity(java.lang.Integer baggageQuantity)
Set the 'BaggageQuantity' attribute value. Number of bags/suitcases that can be accommodated by this vehicle.

Parameters:
baggageQuantity -

getVendorCar

public java.lang.String getVendorCar()
Get the 'VendorCarType' attribute value. An internal car type assigned by the vendor. This is not the SIPP code.

Returns:
value

setVendorCar

public void setVendorCar(java.lang.String vendorCar)
Set the 'VendorCarType' attribute value. An internal car type assigned by the vendor. This is not the SIPP code.

Parameters:
vendorCar -

getCodeGroup

public CodeGroup getCodeGroup()
Get the 'CodeGroup' attributeGroup value. Code used to identify the vehicle. May be used in place of VehicleCoreType. Typically a SIPP code would be passed here. Identifies the source authority for the code (e.g., SIPP).

Returns:
value

setCodeGroup

public void setCodeGroup(CodeGroup codeGroup)
Set the 'CodeGroup' attributeGroup value. Code used to identify the vehicle. May be used in place of VehicleCoreType. Typically a SIPP code would be passed here. Identifies the source authority for the code (e.g., SIPP).

Parameters:
codeGroup -

getUnitsOfMeasureGroup

public UnitsOfMeasureGroup getUnitsOfMeasureGroup()
Get the 'UnitsOfMeasureGroup' attributeGroup value. The volume (i.e., unit of measure and quantity) of the boot/trunk.

Returns:
value

setUnitsOfMeasureGroup

public void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
Set the 'UnitsOfMeasureGroup' attributeGroup value. The volume (i.e., unit of measure and quantity) of the boot/trunk.

Parameters:
unitsOfMeasureGroup -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. The effective date range for the vehicle information.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. The effective date range for the vehicle information.

Parameters:
dateTimeSpanGroup -

getOdometerUnitOfMeasure

public DistanceUnitName getOdometerUnitOfMeasure()
Get the 'OdometerUnitOfMeasure' attribute value. Provides the units in which distance is measured, when applied to a vehicle (i.e., miles or kilometers)

Returns:
value

setOdometerUnitOfMeasure

public void setOdometerUnitOfMeasure(DistanceUnitName odometerUnitOfMeasure)
Set the 'OdometerUnitOfMeasure' attribute value. Provides the units in which distance is measured, when applied to a vehicle (i.e., miles or kilometers)

Parameters:
odometerUnitOfMeasure -