org.ota.vehicle
Enum LocationDetailShuttleInfo

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

public enum LocationDetailShuttleInfo
extends java.lang.Enum<LocationDetailShuttleInfo>

The LocationDetailShuttleInfoType defines a set of valid values for the textual information about the shuttle services when renting from 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="LocationDetailShuttleInfoType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Transportation"/>
     <xs:enumeration value="Frequency"/>
     <xs:enumeration value="PickupInfo"/>
     <xs:enumeration value="Distance"/>
     <xs:enumeration value="ElapsedTime"/>
     <xs:enumeration value="Fee"/>
     <xs:enumeration value="Miscellaneous"/>
     <xs:enumeration value="Hours"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
DISTANCE
          Indicates that the associated information describes the distance that the shuttle will travel, from point of pickup to arrival at the rental facility.
ELAPSED_TIME
          Indicates that the associated information describes the approximate elapsed time from point of pickup to arrival at the rental facility.
FEE
          Indicates that the associated information describes any shuttle fees that may apply.
FREQUENCY
          Indicates that the associated information describes the frequency with which the shuttle service operates.
HOURS
          Indicates the information pertains to the shuttle hours of operation.
MISCELLANEOUS
          Indicates that the associated information describes miscellaneous information about the shuttle service.
PICKUP_INFO
          Indicates that the associated information describes where the shuttle service picks up those who are renting vehicles, how to get to the shuttle pick up location, etc/
TRANSPORTATION
          Indicates that the associated information describes the shuttle, such as shared bus, tram, company-specific bus.
 
Method Summary
static LocationDetailShuttleInfo convert(java.lang.String value)
           
 java.lang.String toString()
           
static LocationDetailShuttleInfo valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LocationDetailShuttleInfo[] 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

TRANSPORTATION

public static final LocationDetailShuttleInfo TRANSPORTATION
Indicates that the associated information describes the shuttle, such as shared bus, tram, company-specific bus.


FREQUENCY

public static final LocationDetailShuttleInfo FREQUENCY
Indicates that the associated information describes the frequency with which the shuttle service operates.


PICKUP_INFO

public static final LocationDetailShuttleInfo PICKUP_INFO
Indicates that the associated information describes where the shuttle service picks up those who are renting vehicles, how to get to the shuttle pick up location, etc/


DISTANCE

public static final LocationDetailShuttleInfo DISTANCE
Indicates that the associated information describes the distance that the shuttle will travel, from point of pickup to arrival at the rental facility.


ELAPSED_TIME

public static final LocationDetailShuttleInfo ELAPSED_TIME
Indicates that the associated information describes the approximate elapsed time from point of pickup to arrival at the rental facility.


FEE

public static final LocationDetailShuttleInfo FEE
Indicates that the associated information describes any shuttle fees that may apply.


MISCELLANEOUS

public static final LocationDetailShuttleInfo MISCELLANEOUS
Indicates that the associated information describes miscellaneous information about the shuttle service.


HOURS

public static final LocationDetailShuttleInfo HOURS
Indicates the information pertains to the shuttle hours of operation.

Method Detail

values

public static LocationDetailShuttleInfo[] 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 (LocationDetailShuttleInfo c : LocationDetailShuttleInfo.values())
    System.out.println(c);

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

valueOf

public static LocationDetailShuttleInfo 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<LocationDetailShuttleInfo>

convert

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