org.ota.shared
Enum FeeTaxGroup.AmountDetermination

java.lang.Object
  extended by java.lang.Enum<FeeTaxGroup.AmountDetermination>
      extended by org.ota.shared.FeeTaxGroup.AmountDetermination
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FeeTaxGroup.AmountDetermination>
Enclosing class:
FeeTaxGroup

public static enum FeeTaxGroup.AmountDetermination
extends java.lang.Enum<FeeTaxGroup.AmountDetermination>

Used to indicate if an amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other). 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="AmountDeterminationType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Inclusive"/>
     <xs:enumeration value="Exclusive"/>
     <xs:enumeration value="Cumulative"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
CUMULATIVE
           
EXCLUSIVE
           
INCLUSIVE
           
 
Method Summary
static FeeTaxGroup.AmountDetermination convert(java.lang.String value)
           
 java.lang.String toString()
           
static FeeTaxGroup.AmountDetermination valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FeeTaxGroup.AmountDetermination[] 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

INCLUSIVE

public static final FeeTaxGroup.AmountDetermination INCLUSIVE

EXCLUSIVE

public static final FeeTaxGroup.AmountDetermination EXCLUSIVE

CUMULATIVE

public static final FeeTaxGroup.AmountDetermination CUMULATIVE
Method Detail

values

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

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

valueOf

public static FeeTaxGroup.AmountDetermination 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<FeeTaxGroup.AmountDetermination>

convert

public static FeeTaxGroup.AmountDetermination convert(java.lang.String value)