org.ota.vehicle
Class VehicleCore.VehClass
java.lang.Object
org.ota.vehicle.VehicleCore.VehClass
- Enclosing class:
- VehicleCore
public static class VehicleCore.VehClass
- extends java.lang.Object
Class of vehicle, for example, intermediate, compact
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="VehClass" minOccurs="0">
<xs:complexType>
<xs:attributeGroup ref="ns:VehicleClassGroup"/>
</xs:complexType>
</xs:element>
<xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VehicleClassGroup">
<xs:attribute type="xs:string" use="required" name="Size"/>
</xs:attributeGroup>
Method Summary |
java.lang.String |
getSize()
Get the 'Size' attribute value. |
void |
setSize(java.lang.String size)
Set the 'Size' attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VehicleCore.VehClass
public VehicleCore.VehClass()
getSize
public java.lang.String getSize()
- Get the 'Size' attribute value. The Size attribute identifies the size of a vehicle. Refer to OpenTravel Code List Size (SIZ).
- Returns:
- value
setSize
public void setSize(java.lang.String size)
- Set the 'Size' attribute value. The Size attribute identifies the size of a vehicle. Refer to OpenTravel Code List Size (SIZ).
- Parameters:
size
-