|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.vehicle.VehicleCore
org.ota.vehicle.Vehicle
public class Vehicle
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 |
|---|
public Vehicle()
| Method Detail |
|---|
public VehicleMakeModelGroup getVehMakeModel()
public void setVehMakeModel(VehicleMakeModelGroup vehMakeModel)
vehMakeModel - public java.lang.String getPictureURL()
public void setPictureURL(java.lang.String pictureURL)
pictureURL - public VehicleIdentityGroup getVehIdentity()
public void setVehIdentity(VehicleIdentityGroup vehIdentity)
vehIdentity - public java.lang.String getPassengerQuantity()
public void setPassengerQuantity(java.lang.String passengerQuantity)
passengerQuantity - public java.lang.Integer getBaggageQuantity()
public void setBaggageQuantity(java.lang.Integer baggageQuantity)
baggageQuantity - public java.lang.String getVendorCar()
public void setVendorCar(java.lang.String vendorCar)
vendorCar - public CodeGroup getCodeGroup()
public void setCodeGroup(CodeGroup codeGroup)
codeGroup - public UnitsOfMeasureGroup getUnitsOfMeasureGroup()
public void setUnitsOfMeasureGroup(UnitsOfMeasureGroup unitsOfMeasureGroup)
unitsOfMeasureGroup - public DateTimeSpanGroup getDateTimeSpanGroup()
public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
dateTimeSpanGroup - public DistanceUnitName getOdometerUnitOfMeasure()
public void setOdometerUnitOfMeasure(DistanceUnitName odometerUnitOfMeasure)
odometerUnitOfMeasure -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||