|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.vehicle.VehicleRentalDetails
public class VehicleRentalDetails
This provides specific information regarding the milage and condition of the vehicle being rented. 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="VehicleRentalDetailsType">
<xs:sequence>
<xs:element name="FuelLevelDetails" minOccurs="0">
<!-- Reference to inner class FuelLevelDetails -->
</xs:element>
<xs:element name="OdometerReading" minOccurs="0">
<xs:complexType>
<xs:attributeGroup ref="ns:UnitsOfMeasureGroup"/>
</xs:complexType>
</xs:element>
<xs:element name="ConditionReport" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class ConditionReport -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" use="optional" name="ParkingLocation"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
VehicleRentalDetails.ConditionReport
Used to describe condition of a vehicle (e.g., scratches, broken tail light). |
static class |
VehicleRentalDetails.FuelLevelDetails
This provides values based on the amount of fuel present. |
| Constructor Summary | |
|---|---|
VehicleRentalDetails()
|
|
| Method Summary | |
|---|---|
void |
addConditionReport(VehicleRentalDetails.ConditionReport item)
Add a 'ConditionReport' element item. |
void |
clearConditionReports()
Remove all 'ConditionReport' element items. |
VehicleRentalDetails.ConditionReport |
getConditionReport(int index)
Get 'ConditionReport' element item by position. |
java.util.List<VehicleRentalDetails.ConditionReport> |
getConditionReports()
Get the list of 'ConditionReport' element items. |
VehicleRentalDetails.FuelLevelDetails |
getFuelLevelDetails()
Get the 'FuelLevelDetails' element value. |
UnitsOfMeasureGroup |
getOdometerReading()
Get the 'UnitsOfMeasureGroup' attributeGroup value. |
java.lang.String |
getParkingLocation()
Get the 'ParkingLocation' attribute value. |
void |
setConditionReports(java.util.List<VehicleRentalDetails.ConditionReport> list)
Set the list of 'ConditionReport' element items. |
void |
setFuelLevelDetails(VehicleRentalDetails.FuelLevelDetails fuelLevelDetails)
Set the 'FuelLevelDetails' element value. |
void |
setOdometerReading(UnitsOfMeasureGroup odometerReading)
Set the 'UnitsOfMeasureGroup' attributeGroup value. |
void |
setParkingLocation(java.lang.String parkingLocation)
Set the 'ParkingLocation' attribute value. |
int |
sizeConditionReports()
Get the number of 'ConditionReport' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VehicleRentalDetails()
| Method Detail |
|---|
public VehicleRentalDetails.FuelLevelDetails getFuelLevelDetails()
public void setFuelLevelDetails(VehicleRentalDetails.FuelLevelDetails fuelLevelDetails)
fuelLevelDetails - public UnitsOfMeasureGroup getOdometerReading()
public void setOdometerReading(UnitsOfMeasureGroup odometerReading)
odometerReading - public java.util.List<VehicleRentalDetails.ConditionReport> getConditionReports()
public void setConditionReports(java.util.List<VehicleRentalDetails.ConditionReport> list)
list - public int sizeConditionReports()
public void addConditionReport(VehicleRentalDetails.ConditionReport item)
item - public VehicleRentalDetails.ConditionReport getConditionReport(int index)
index -
public void clearConditionReports()
public java.lang.String getParkingLocation()
public void setParkingLocation(java.lang.String parkingLocation)
parkingLocation -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||