|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LocationDetailVehicleInfo>
org.ota.vehicle.LocationDetailVehicleInfo
public enum LocationDetailVehicleInfo
The LocationDetailVehicleInfoType defines a set of valid values for the textual information about vehicles available at a rental facility. Schema fragment(s) for this class:
<xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LocationDetailVehicleInfoType"> <xs:restriction base="xs:string"> <xs:enumeration value="GeneralInformation"/> <xs:enumeration value="Disclaimer"/> <xs:enumeration value="AdvancedBooking"/> <xs:enumeration value="NonSmokingVehicles"/> <xs:enumeration value="SpecialityVehicles"/> </xs:restriction> </xs:simpleType>
Enum Constant Summary | |
---|---|
ADVANCED_BOOKING
Indicates that the associated information describes any advance booking requiremennts about one or more vehicle types. |
|
DISCLAIMER
Indicates that the associated information provides the disclaimers about the vehicles that are typically offered for rental. |
|
GENERAL_INFORMATION
Indicates that the associated information describes general information about the vehicles that are typically offered for rental. |
|
NON_SMOKING_VEHICLES
Indicates that the associated information describes general information about non-smoking vehicles that may be offered for rental. |
|
SPECIALITY_VEHICLES
Indicates that the associated information describes special, unusual or high-end vehicles that may be offered for rental. |
Method Summary | |
---|---|
static LocationDetailVehicleInfo |
convert(java.lang.String value)
|
java.lang.String |
toString()
|
static LocationDetailVehicleInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LocationDetailVehicleInfo[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LocationDetailVehicleInfo GENERAL_INFORMATION
public static final LocationDetailVehicleInfo DISCLAIMER
public static final LocationDetailVehicleInfo ADVANCED_BOOKING
public static final LocationDetailVehicleInfo NON_SMOKING_VEHICLES
public static final LocationDetailVehicleInfo SPECIALITY_VEHICLES
Method Detail |
---|
public static LocationDetailVehicleInfo[] values()
for (LocationDetailVehicleInfo c : LocationDetailVehicleInfo.values()) System.out.println(c);
public static LocationDetailVehicleInfo valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<LocationDetailVehicleInfo>
public static LocationDetailVehicleInfo convert(java.lang.String value)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |