|
|||||||
| 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
org.ota.vehicle.VehicleLocationVehicles.Vehicle
public static class VehicleLocationVehicles.Vehicle
Specific information about a vehicle that is offered for rental at this facility. This element may repeat to identify all vehicles that may be rented from this facility. Schema fragment(s) for this class:
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Vehicle" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:VehicleType">
<xs:sequence>
<xs:element type="ns:FormattedTextType" name="Text" minOccurs="0" maxOccurs="5"/>
</xs:sequence>
<xs:attribute type="xs:boolean" use="optional" name="IsConfirmableInd"/>
<xs:attribute type="ns:DistanceUnitNameType" use="optional" name="DistanceUnit"/>
<xs:attribute type="xs:int" use="optional" name="DistancePerFuelUnit"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.ota.vehicle.VehicleCore |
|---|
VehicleCore.Drive, VehicleCore.Fuel, VehicleCore.VehClass |
| Constructor Summary | |
|---|---|
VehicleLocationVehicles.Vehicle()
|
|
| Method Summary | |
|---|---|
void |
addText(FormattedText item)
Add a 'Text' element item. |
void |
clearTexts()
Remove all 'Text' element items. |
java.lang.Integer |
getDistancePerFuelUnit()
Get the 'DistancePerFuelUnit' attribute value. |
DistanceUnitName |
getDistanceUnit()
Get the 'DistanceUnit' attribute value. |
java.lang.Boolean |
getIsConfirmableInd()
Get the 'IsConfirmableInd' attribute value. |
FormattedText |
getText(int index)
Get 'Text' element item by position. |
java.util.List<FormattedText> |
getTexts()
Get the list of 'Text' element items. |
void |
setDistancePerFuelUnit(java.lang.Integer distancePerFuelUnit)
Set the 'DistancePerFuelUnit' attribute value. |
void |
setDistanceUnit(DistanceUnitName distanceUnit)
Set the 'DistanceUnit' attribute value. |
void |
setIsConfirmableInd(java.lang.Boolean isConfirmableInd)
Set the 'IsConfirmableInd' attribute value. |
void |
setTexts(java.util.List<FormattedText> list)
Set the list of 'Text' element items. |
int |
sizeTexts()
Get the number of 'Text' element items. |
| 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 VehicleLocationVehicles.Vehicle()
| Method Detail |
|---|
public java.util.List<FormattedText> getTexts()
public void setTexts(java.util.List<FormattedText> list)
list - public int sizeTexts()
public void addText(FormattedText item)
item - public FormattedText getText(int index)
index -
public void clearTexts()
public java.lang.Boolean getIsConfirmableInd()
public void setIsConfirmableInd(java.lang.Boolean isConfirmableInd)
isConfirmableInd - public DistanceUnitName getDistanceUnit()
public void setDistanceUnit(DistanceUnitName distanceUnit)
distanceUnit - public java.lang.Integer getDistancePerFuelUnit()
public void setDistancePerFuelUnit(java.lang.Integer distancePerFuelUnit)
distancePerFuelUnit -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||