org.ota.air
Enum DisplayOrder

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

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

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="DisplayOrderType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="ByDepartureTime"/>
     <xs:enumeration value="ByArrivalTime"/>
     <xs:enumeration value="ByJourneyTime"/>
     <xs:enumeration value="ByPriceHighToLow"/>
     <xs:enumeration value="ByPriceLowToHigh"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
BY_ARRIVAL_TIME
          Display products by arrival time
BY_DEPARTURE_TIME
          Display products by departure time
BY_JOURNEY_TIME
          Display products by journey time
BY_PRICE_HIGH_TO_LOW
          AWG ToDo
BY_PRICE_LOW_TO_HIGH
          AWG ToDo
 
Method Summary
static DisplayOrder convert(java.lang.String value)
           
 java.lang.String toString()
           
static DisplayOrder valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DisplayOrder[] 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

BY_DEPARTURE_TIME

public static final DisplayOrder BY_DEPARTURE_TIME
Display products by departure time


BY_ARRIVAL_TIME

public static final DisplayOrder BY_ARRIVAL_TIME
Display products by arrival time


BY_JOURNEY_TIME

public static final DisplayOrder BY_JOURNEY_TIME
Display products by journey time


BY_PRICE_HIGH_TO_LOW

public static final DisplayOrder BY_PRICE_HIGH_TO_LOW
AWG ToDo


BY_PRICE_LOW_TO_HIGH

public static final DisplayOrder BY_PRICE_LOW_TO_HIGH
AWG ToDo

Method Detail

values

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

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

valueOf

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

convert

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