org.ota.vehicle
Enum LocationDetailVehicleInfo

java.lang.Object
  extended by java.lang.Enum<LocationDetailVehicleInfo>
      extended by org.ota.vehicle.LocationDetailVehicleInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LocationDetailVehicleInfo>

public enum LocationDetailVehicleInfo
extends java.lang.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

GENERAL_INFORMATION

public static final LocationDetailVehicleInfo GENERAL_INFORMATION
Indicates that the associated information describes general information about the vehicles that are typically offered for rental.


DISCLAIMER

public static final LocationDetailVehicleInfo DISCLAIMER
Indicates that the associated information provides the disclaimers about the vehicles that are typically offered for rental. This may be typically that not all vehicles may be available at any one time, for example.


ADVANCED_BOOKING

public static final LocationDetailVehicleInfo ADVANCED_BOOKING
Indicates that the associated information describes any advance booking requiremennts about one or more vehicle types. Some unusual vehicles may not be available at short notice.


NON_SMOKING_VEHICLES

public static final LocationDetailVehicleInfo NON_SMOKING_VEHICLES
Indicates that the associated information describes general information about non-smoking vehicles that may be offered for rental.


SPECIALITY_VEHICLES

public static final LocationDetailVehicleInfo SPECIALITY_VEHICLES
Indicates that the associated information describes special, unusual or high-end vehicles that may be offered for rental.

Method Detail

values

public static LocationDetailVehicleInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LocationDetailVehicleInfo c : LocationDetailVehicleInfo.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LocationDetailVehicleInfo valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<LocationDetailVehicleInfo>

convert

public static LocationDetailVehicleInfo convert(java.lang.String value)