org.ota.air
Enum AirProcessingInfoGroup.Search

java.lang.Object
  extended by java.lang.Enum<AirProcessingInfoGroup.Search>
      extended by org.ota.air.AirProcessingInfoGroup.Search
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AirProcessingInfoGroup.Search>
Enclosing class:
AirProcessingInfoGroup

public static enum AirProcessingInfoGroup.Search
extends java.lang.Enum<AirProcessingInfoGroup.Search>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Normal"/>
     <xs:enumeration value="Window"/>
     <xs:enumeration value="ArrivalTime"/>
     <xs:enumeration value="PowerFlight"/>
     <xs:enumeration value="AvailableOnly"/>
     <xs:enumeration value="WaitlistOnly"/>
     <xs:enumeration value="AvailableAndWaitlist"/>
     <xs:enumeration value="FreighterFlights"/>
     <xs:enumeration value="Reward"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
ARRIVAL_TIME
          Search should be based on arrival time.
AVAILABLE_AND_WAITLIST
          Check for available and waitlisted flights.
AVAILABLE_ONLY
          Check for available flights.
FREIGHTER_FLIGHTS
          Check for available freighter flights.
NORMAL
          No special conditions (default)
POWER_FLIGHT
          Checks availability and fares by manually entered data.
REWARD
          Check for available frequent flyer reward flights and classes.
WAITLIST_ONLY
          Only check only for waitlist flights.
WINDOW
          Search should be done for a window of time.
 
Method Summary
static AirProcessingInfoGroup.Search convert(java.lang.String value)
           
 java.lang.String toString()
           
static AirProcessingInfoGroup.Search valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AirProcessingInfoGroup.Search[] 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

NORMAL

public static final AirProcessingInfoGroup.Search NORMAL
No special conditions (default)


WINDOW

public static final AirProcessingInfoGroup.Search WINDOW
Search should be done for a window of time.


ARRIVAL_TIME

public static final AirProcessingInfoGroup.Search ARRIVAL_TIME
Search should be based on arrival time.


POWER_FLIGHT

public static final AirProcessingInfoGroup.Search POWER_FLIGHT
Checks availability and fares by manually entered data.


AVAILABLE_ONLY

public static final AirProcessingInfoGroup.Search AVAILABLE_ONLY
Check for available flights.


WAITLIST_ONLY

public static final AirProcessingInfoGroup.Search WAITLIST_ONLY
Only check only for waitlist flights.


AVAILABLE_AND_WAITLIST

public static final AirProcessingInfoGroup.Search AVAILABLE_AND_WAITLIST
Check for available and waitlisted flights.


FREIGHTER_FLIGHTS

public static final AirProcessingInfoGroup.Search FREIGHTER_FLIGHTS
Check for available freighter flights.


REWARD

public static final AirProcessingInfoGroup.Search REWARD
Check for available frequent flyer reward flights and classes.

Method Detail

values

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

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

valueOf

public static AirProcessingInfoGroup.Search 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<AirProcessingInfoGroup.Search>

convert

public static AirProcessingInfoGroup.Search convert(java.lang.String value)