org.ota.shared
Enum MealPref.Meal

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

public static enum MealPref.Meal
extends java.lang.Enum<MealPref.Meal>

Airline meal types. 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="MealType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="AVML"/>
     <xs:enumeration value="BBML"/>
     <xs:enumeration value="BLML"/>
     <xs:enumeration value="CHML"/>
     <xs:enumeration value="DBML"/>
     <xs:enumeration value="FPML"/>
     <xs:enumeration value="GFML"/>
     <xs:enumeration value="HFML"/>
     <xs:enumeration value="HNML"/>
     <xs:enumeration value="KSML"/>
     <xs:enumeration value="LCML"/>
     <xs:enumeration value="LFML"/>
     <xs:enumeration value="LPML"/>
     <xs:enumeration value="LSML"/>
     <xs:enumeration value="MOML"/>
     <xs:enumeration value="NLML"/>
     <xs:enumeration value="ORML"/>
     <xs:enumeration value="PRML"/>
     <xs:enumeration value="RVML"/>
     <xs:enumeration value="SFML"/>
     <xs:enumeration value="SPML"/>
     <xs:enumeration value="VGML"/>
     <xs:enumeration value="VLML"/>
     <xs:enumeration value="RGML"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
AVML
          AVML - Asian Veg
BBML
          BBML - Baby/Infant Food
BLML
          BLML - Bland Meal
CHML
          CHML - Child Meal
DBML
          DBML - Diabetic
FPML
          FPML - Fruit Meal
GFML
          GFML - Gluten Free
HFML
          HFML - High Fiber
HNML
          HNML - Hindu Meal
KSML
          KSML - Kosher
LCML
          LCML - Low Calorie
LFML
          LFML - Low Cholesterol
LPML
          LPML - Low Protein
LSML
          LSML - Low Sodium/No Salt
MOML
          MOML - Moslem
NLML
          NLML - Non-Lactose
ORML
          ORML - Oriental
PRML
          PRML - Low Purin
RGML
          Designates a regular meal.
RVML
          RVML - Raw Vegetarian
SFML
          SFML - Seafood
SPML
          SPML - Special/Specify
VGML
          VGML - Vegetarian/Non Dairy
VLML
          VLML - Vegetarian/Milk/Eggs
 
Method Summary
static MealPref.Meal valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MealPref.Meal[] 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

AVML

public static final MealPref.Meal AVML
AVML - Asian Veg


BBML

public static final MealPref.Meal BBML
BBML - Baby/Infant Food


BLML

public static final MealPref.Meal BLML
BLML - Bland Meal


CHML

public static final MealPref.Meal CHML
CHML - Child Meal


DBML

public static final MealPref.Meal DBML
DBML - Diabetic


FPML

public static final MealPref.Meal FPML
FPML - Fruit Meal


GFML

public static final MealPref.Meal GFML
GFML - Gluten Free


HFML

public static final MealPref.Meal HFML
HFML - High Fiber


HNML

public static final MealPref.Meal HNML
HNML - Hindu Meal


KSML

public static final MealPref.Meal KSML
KSML - Kosher


LCML

public static final MealPref.Meal LCML
LCML - Low Calorie


LFML

public static final MealPref.Meal LFML
LFML - Low Cholesterol


LPML

public static final MealPref.Meal LPML
LPML - Low Protein


LSML

public static final MealPref.Meal LSML
LSML - Low Sodium/No Salt


MOML

public static final MealPref.Meal MOML
MOML - Moslem


NLML

public static final MealPref.Meal NLML
NLML - Non-Lactose


ORML

public static final MealPref.Meal ORML
ORML - Oriental


PRML

public static final MealPref.Meal PRML
PRML - Low Purin


RVML

public static final MealPref.Meal RVML
RVML - Raw Vegetarian


SFML

public static final MealPref.Meal SFML
SFML - Seafood


SPML

public static final MealPref.Meal SPML
SPML - Special/Specify


VGML

public static final MealPref.Meal VGML
VGML - Vegetarian/Non Dairy


VLML

public static final MealPref.Meal VLML
VLML - Vegetarian/Milk/Eggs


RGML

public static final MealPref.Meal RGML
Designates a regular meal.

Method Detail

values

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

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

valueOf

public static MealPref.Meal 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