org.ota.pkg
Class MealPlan

java.lang.Object
  extended by org.ota.pkg.MealPlan

public class MealPlan
extends java.lang.Object

Details of meal arrangements, booked or available according to context, with appropriate supplementary charges. 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="MealPlanType">
   <xs:sequence>
     <xs:element type="ns:CustomerCountsType" name="CustomerCounts" minOccurs="0"/>
     <xs:element name="PassengerRPHs" minOccurs="0">
       <!-- Reference to inner class PassengerRPHs -->
     </xs:element>
     <xs:element name="Prices" minOccurs="0">
       <!-- Reference to inner class Prices -->
     </xs:element>
   </xs:sequence>
   <xs:attributeGroup ref="ns:MealPlanGroup"/>
   <xs:attribute type="xs:string" use="optional" name="ListOfRoomRPH"/>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MealPlanGroup">
   <xs:attribute type="xs:string" use="optional" name="Plan"/>
   <xs:attribute type="xs:string" use="required" name="Code"/>
   <xs:attributeGroup ref="ns:QuantityGroup"/>
   <xs:attribute type="xs:string" use="optional" name="RPH"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QuantityGroup">
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class MealPlan.PassengerRPHs
          Details of individual passengers - may be used instead of CustomerCounts.
static class MealPlan.Prices
          Schema fragment(s) for this class:
 
Constructor Summary
MealPlan()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CustomerCounts getCustomerCounts()
          Get the 'CustomerCounts' element value.
 java.lang.String getListOfRoomRPH()
          Get the 'ListOfRoomRPH' attribute value.
 MealPlan.PassengerRPHs getPassengerRPHs()
          Get the 'PassengerRPHs' element value.
 java.lang.String getPlan()
          Get the 'Plan' attribute value.
 MealPlan.Prices getPrices()
          Get the 'Prices' element value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCustomerCounts(CustomerCounts customerCounts)
          Set the 'CustomerCounts' element value.
 void setListOfRoomRPH(java.lang.String listOfRoomRPH)
          Set the 'ListOfRoomRPH' attribute value.
 void setPassengerRPHs(MealPlan.PassengerRPHs passengerRPHs)
          Set the 'PassengerRPHs' element value.
 void setPlan(java.lang.String plan)
          Set the 'Plan' attribute value.
 void setPrices(MealPlan.Prices prices)
          Set the 'Prices' element value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MealPlan

public MealPlan()
Method Detail

getCustomerCounts

public CustomerCounts getCustomerCounts()
Get the 'CustomerCounts' element value. Counts of the number of passengers in age categories. Used when individual passenger identification is not required.

Returns:
value

setCustomerCounts

public void setCustomerCounts(CustomerCounts customerCounts)
Set the 'CustomerCounts' element value. Counts of the number of passengers in age categories. Used when individual passenger identification is not required.

Parameters:
customerCounts -

getPassengerRPHs

public MealPlan.PassengerRPHs getPassengerRPHs()
Get the 'PassengerRPHs' element value.

Returns:
value

setPassengerRPHs

public void setPassengerRPHs(MealPlan.PassengerRPHs passengerRPHs)
Set the 'PassengerRPHs' element value.

Parameters:
passengerRPHs -

getPrices

public MealPlan.Prices getPrices()
Get the 'Prices' element value.

Returns:
value

setPrices

public void setPrices(MealPlan.Prices prices)
Set the 'Prices' element value.

Parameters:
prices -

getPlan

public java.lang.String getPlan()
Get the 'Plan' attribute value. A description of the meal plan.

Returns:
value

setPlan

public void setPlan(java.lang.String plan)
Set the 'Plan' attribute value. A description of the meal plan.

Parameters:
plan -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. The code for a meal plan e.g. AB- as brochure, AI- all inclusive, BB- bed and breakfast, FB- full board, HB- Half Board, RO- room only,SC- self catering

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. The code for a meal plan e.g. AB- as brochure, AI- all inclusive, BB- bed and breakfast, FB- full board, HB- Half Board, RO- room only,SC- self catering

Parameters:
code -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Parameters:
quantity -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. Used to associate a cost with a specific inventory item, e.g. a supplement for a flight leg.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. Used to associate a cost with a specific inventory item, e.g. a supplement for a flight leg.

Parameters:
RPH -

getListOfRoomRPH

public java.lang.String getListOfRoomRPH()
Get the 'ListOfRoomRPH' attribute value. A list of the Rooms with which this Meal Plan is available.

Returns:
value

setListOfRoomRPH

public void setListOfRoomRPH(java.lang.String listOfRoomRPH)
Set the 'ListOfRoomRPH' attribute value. A list of the Rooms with which this Meal Plan is available.

Parameters:
listOfRoomRPH -