org.ota.air
Enum GlobalIndicator

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

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

Specifies the global travel area. 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="GlobalIndicatorType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="AP"/>
     <xs:enumeration value="AT"/>
     <xs:enumeration value="CT"/>
     <xs:enumeration value="DO"/>
     <xs:enumeration value="EH"/>
     <xs:enumeration value="FE"/>
     <xs:enumeration value="PA"/>
     <xs:enumeration value="PN"/>
     <xs:enumeration value="PO"/>
     <xs:enumeration value="RU"/>
     <xs:enumeration value="RW"/>
     <xs:enumeration value="SA"/>
     <xs:enumeration value="TS"/>
     <xs:enumeration value="WH"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
AP
          Atlantic/Pacific Round-the-World
AT
          Atlantic Ocean
CT
          Circle trip
DO
          Domestic
EH
          Eastern Hemisphere
FE
          Within the Far East
PA
          Pacific Ocean
PN
          TC1-TC3 via Pacific/N.
PO
          Polar Route
RU
          Russia Area 3
RW
          Round the world
SA
          South Atlantic only
TS
          Trans Siberia Route
WH
          Western Hemisphere
 
Method Summary
static GlobalIndicator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GlobalIndicator[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AP

public static final GlobalIndicator AP
Atlantic/Pacific Round-the-World


AT

public static final GlobalIndicator AT
Atlantic Ocean


CT

public static final GlobalIndicator CT
Circle trip


DO

public static final GlobalIndicator DO
Domestic


EH

public static final GlobalIndicator EH
Eastern Hemisphere


FE

public static final GlobalIndicator FE
Within the Far East


PA

public static final GlobalIndicator PA
Pacific Ocean


PN

public static final GlobalIndicator PN
TC1-TC3 via Pacific/N. America


PO

public static final GlobalIndicator PO
Polar Route


RU

public static final GlobalIndicator RU
Russia Area 3


RW

public static final GlobalIndicator RW
Round the world


SA

public static final GlobalIndicator SA
South Atlantic only


TS

public static final GlobalIndicator TS
Trans Siberia Route


WH

public static final GlobalIndicator WH
Western Hemisphere

Method Detail

values

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

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

valueOf

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