|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.MealPref
public class MealPref
Identifies a food and beverage preference. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MealPrefType"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attributeGroup ref="ns:PreferLevelGroup"/> <xs:attribute type="ns:MealType" name="MealType"/> <xs:attribute type="xs:string" name="FavoriteFood"/> <xs:attribute type="xs:string" name="Beverage"/> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup"> <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/> </xs:attributeGroup> <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MealType"> <!-- Reference to inner class Meal --> </xs:simpleType>
Nested Class Summary | |
---|---|
static class |
MealPref.Meal
Airline meal types. |
Constructor Summary | |
---|---|
MealPref()
|
Method Summary | |
---|---|
java.lang.String |
getBeverage()
Get the 'Beverage' attribute value. |
java.lang.String |
getFavoriteFood()
Get the 'FavoriteFood' attribute value. |
MealPref.Meal |
getMeal()
Get the 'MealType' attribute value. |
PreferLevel |
getPreferLevel()
Get the 'PreferLevel' attribute value. |
java.lang.String |
getString()
Get the extension value. |
void |
setBeverage(java.lang.String beverage)
Set the 'Beverage' attribute value. |
void |
setFavoriteFood(java.lang.String favoriteFood)
Set the 'FavoriteFood' attribute value. |
void |
setMeal(MealPref.Meal meal)
Set the 'MealType' attribute value. |
void |
setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. |
void |
setString(java.lang.String string)
Set the extension value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MealPref()
Method Detail |
---|
public java.lang.String getString()
public void setString(java.lang.String string)
string
- public PreferLevel getPreferLevel()
public void setPreferLevel(PreferLevel preferLevel)
preferLevel
- public MealPref.Meal getMeal()
public void setMeal(MealPref.Meal meal)
meal
- public java.lang.String getFavoriteFood()
public void setFavoriteFood(java.lang.String favoriteFood)
favoriteFood
- public java.lang.String getBeverage()
public void setBeverage(java.lang.String beverage)
beverage
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |