org.ota.air
Enum FareAccessPref

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

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

Fare calculation type (e.g. PointToPoint, Through, Joint, Private) 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="FareAccessPrefType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="PointToPoint"/>
     <xs:enumeration value="Through"/>
     <xs:enumeration value="Joint"/>
     <xs:enumeration value="Private"/>
     <xs:enumeration value="Negotiated"/>
     <xs:enumeration value="Net"/>
     <xs:enumeration value="Historical"/>
     <xs:enumeration value="SecurateAir"/>
     <xs:enumeration value="Moneysaver"/>
     <xs:enumeration value="MoneysaverRoundtrip"/>
     <xs:enumeration value="MoneysaverNoOneWay"/>
     <xs:enumeration value="MoneysaverOneWayOnly"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
HISTORICAL
          To request ATPCO historical fare/rule information.
JOINT
           
MONEYSAVER
          To request all airline fares for the specified city pair, lowest to highest.
MONEYSAVER_NO_ONE_WAY
          All airline fares for the specified city pair but no one way fares.
MONEYSAVER_ONE_WAY_ONLY
          Only one-way fares for all airlines for the specified city pair.
MONEYSAVER_ROUNDTRIP
          All roundtrip airline fares for the specified city pair including one way fares.
NEGOTIATED
           
NET
           
POINT_TO_POINT
           
PRIVATE
           
SECURATE_AIR
          To request fares for a specified agreement.
THROUGH
           
 
Method Summary
static FareAccessPref convert(java.lang.String value)
           
 java.lang.String toString()
           
static FareAccessPref valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FareAccessPref[] 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

POINT_TO_POINT

public static final FareAccessPref POINT_TO_POINT

THROUGH

public static final FareAccessPref THROUGH

JOINT

public static final FareAccessPref JOINT

PRIVATE

public static final FareAccessPref PRIVATE

NEGOTIATED

public static final FareAccessPref NEGOTIATED

NET

public static final FareAccessPref NET

HISTORICAL

public static final FareAccessPref HISTORICAL
To request ATPCO historical fare/rule information.


SECURATE_AIR

public static final FareAccessPref SECURATE_AIR
To request fares for a specified agreement.


MONEYSAVER

public static final FareAccessPref MONEYSAVER
To request all airline fares for the specified city pair, lowest to highest.


MONEYSAVER_ROUNDTRIP

public static final FareAccessPref MONEYSAVER_ROUNDTRIP
All roundtrip airline fares for the specified city pair including one way fares.


MONEYSAVER_NO_ONE_WAY

public static final FareAccessPref MONEYSAVER_NO_ONE_WAY
All airline fares for the specified city pair but no one way fares.


MONEYSAVER_ONE_WAY_ONLY

public static final FareAccessPref MONEYSAVER_ONE_WAY_ONLY
Only one-way fares for all airlines for the specified city pair.

Method Detail

values

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

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

valueOf

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

convert

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