org.ota.shared
Class Restaurant

java.lang.Object
  extended by org.ota.shared.Restaurant
Direct Known Subclasses:
DiningAvailRQ.DiningRoom, DiningAvailRS.DiningOption.DiningRoom, HotelDescriptiveContent.FacilityInfo.Restaurants.Restaurant

public class Restaurant
extends java.lang.Object

Information associated with a specific restaurant. 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="RestaurantType">
   <xs:sequence>
     <xs:element name="MultimediaDescriptions" minOccurs="0">
       <!-- Reference to inner class MultimediaDescriptions -->
     </xs:element>
     <xs:element type="ns:RelativePositionType" name="RelativePosition" minOccurs="0"/>
     <xs:element type="ns:OperationSchedulesPlusChargeType" name="OperationSchedules" minOccurs="0"/>
     <xs:element name="InfoCodes" minOccurs="0">
       <!-- Reference to inner class InfoCodes -->
     </xs:element>
     <xs:element name="CuisineCodes" minOccurs="0">
       <!-- Reference to inner class CuisineCodes -->
     </xs:element>
     <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="RestaurantName"/>
   <xs:attribute type="xs:int" use="optional" name="MaxSeatingCapacity"/>
   <xs:attribute type="xs:int" use="optional" name="MaxSingleParty"/>
   <xs:attribute type="xs:string" use="optional" name="InvCode"/>
   <xs:attribute type="xs:boolean" use="optional" name="OfferBreakfast"/>
   <xs:attribute type="xs:boolean" use="optional" name="OfferLunch"/>
   <xs:attribute type="xs:boolean" use="optional" name="OfferDinner"/>
   <xs:attribute type="xs:boolean" use="optional" name="OfferBrunch"/>
   <xs:attribute type="xs:string" use="optional" name="ProximityCode"/>
   <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
   <xs:attribute type="xs:int" use="optional" name="Sort"/>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class Restaurant.CuisineCodes
          Collection of cuisine types of restaurant.
static class Restaurant.InfoCodes
          Collection of types of restaurant.
static class Restaurant.MultimediaDescriptions
          Multimedia information about the restaurant.
 
Constructor Summary
Restaurant()
           
 
Method Summary
 Restaurant.CuisineCodes getCuisineCodes()
          Get the 'CuisineCodes' element value.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 Restaurant.InfoCodes getInfoCodes()
          Get the 'InfoCodes' element value.
 java.lang.String getInvCode()
          Get the 'InvCode' attribute value.
 java.lang.Integer getMaxSeatingCapacity()
          Get the 'MaxSeatingCapacity' attribute value.
 java.lang.Integer getMaxSingleParty()
          Get the 'MaxSingleParty' attribute value.
 Restaurant.MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 java.lang.Boolean getOfferBreakfast()
          Get the 'OfferBreakfast' attribute value.
 java.lang.Boolean getOfferBrunch()
          Get the 'OfferBrunch' attribute value.
 java.lang.Boolean getOfferDinner()
          Get the 'OfferDinner' attribute value.
 java.lang.Boolean getOfferLunch()
          Get the 'OfferLunch' attribute value.
 OperationSchedulesPlusCharge getOperationSchedules()
          Get the 'OperationSchedules' element value.
 java.lang.String getProximityCode()
          Get the 'ProximityCode' attribute value.
 RelativePosition getRelativePosition()
          Get the 'RelativePosition' element value.
 java.lang.String getRestaurantName()
          Get the 'RestaurantName' attribute value.
 java.lang.Integer getSort()
          Get the 'Sort' attribute value.
 void setCuisineCodes(Restaurant.CuisineCodes cuisineCodes)
          Set the 'CuisineCodes' element value.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setInfoCodes(Restaurant.InfoCodes infoCodes)
          Set the 'InfoCodes' element value.
 void setInvCode(java.lang.String invCode)
          Set the 'InvCode' attribute value.
 void setMaxSeatingCapacity(java.lang.Integer maxSeatingCapacity)
          Set the 'MaxSeatingCapacity' attribute value.
 void setMaxSingleParty(java.lang.Integer maxSingleParty)
          Set the 'MaxSingleParty' attribute value.
 void setMultimediaDescriptions(Restaurant.MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setOfferBreakfast(java.lang.Boolean offerBreakfast)
          Set the 'OfferBreakfast' attribute value.
 void setOfferBrunch(java.lang.Boolean offerBrunch)
          Set the 'OfferBrunch' attribute value.
 void setOfferDinner(java.lang.Boolean offerDinner)
          Set the 'OfferDinner' attribute value.
 void setOfferLunch(java.lang.Boolean offerLunch)
          Set the 'OfferLunch' attribute value.
 void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
          Set the 'OperationSchedules' element value.
 void setProximityCode(java.lang.String proximityCode)
          Set the 'ProximityCode' attribute value.
 void setRelativePosition(RelativePosition relativePosition)
          Set the 'RelativePosition' element value.
 void setRestaurantName(java.lang.String restaurantName)
          Set the 'RestaurantName' attribute value.
 void setSort(java.lang.Integer sort)
          Set the 'Sort' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Restaurant

public Restaurant()
Method Detail

getMultimediaDescriptions

public Restaurant.MultimediaDescriptions getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value.

Returns:
value

setMultimediaDescriptions

public void setMultimediaDescriptions(Restaurant.MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value.

Parameters:
multimediaDescriptions -

getRelativePosition

public RelativePosition getRelativePosition()
Get the 'RelativePosition' element value. Indicates the directions to a specific restaurant.

Returns:
value

setRelativePosition

public void setRelativePosition(RelativePosition relativePosition)
Set the 'RelativePosition' element value. Indicates the directions to a specific restaurant.

Parameters:
relativePosition -

getOperationSchedules

public OperationSchedulesPlusCharge getOperationSchedules()
Get the 'OperationSchedules' element value. Collection of operating times for the restaurant including detail such as season, day of week, or a combination.

Returns:
value

setOperationSchedules

public void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
Set the 'OperationSchedules' element value. Collection of operating times for the restaurant including detail such as season, day of week, or a combination.

Parameters:
operationSchedules -

getInfoCodes

public Restaurant.InfoCodes getInfoCodes()
Get the 'InfoCodes' element value.

Returns:
value

setInfoCodes

public void setInfoCodes(Restaurant.InfoCodes infoCodes)
Set the 'InfoCodes' element value.

Parameters:
infoCodes -

getCuisineCodes

public Restaurant.CuisineCodes getCuisineCodes()
Get the 'CuisineCodes' element value.

Returns:
value

setCuisineCodes

public void setCuisineCodes(Restaurant.CuisineCodes cuisineCodes)
Set the 'CuisineCodes' element value.

Parameters:
cuisineCodes -

getDescriptiveText

public java.lang.String getDescriptiveText()
Get the 'DescriptiveText' element value. Descriptive text that describes the restaurant.

Returns:
value

setDescriptiveText

public void setDescriptiveText(java.lang.String descriptiveText)
Set the 'DescriptiveText' element value. Descriptive text that describes the restaurant.

Parameters:
descriptiveText -

getRestaurantName

public java.lang.String getRestaurantName()
Get the 'RestaurantName' attribute value. The name of the restaurant at the facility.

Returns:
value

setRestaurantName

public void setRestaurantName(java.lang.String restaurantName)
Set the 'RestaurantName' attribute value. The name of the restaurant at the facility.

Parameters:
restaurantName -

getMaxSeatingCapacity

public java.lang.Integer getMaxSeatingCapacity()
Get the 'MaxSeatingCapacity' attribute value. The total seating capacity for this restaurant.

Returns:
value

setMaxSeatingCapacity

public void setMaxSeatingCapacity(java.lang.Integer maxSeatingCapacity)
Set the 'MaxSeatingCapacity' attribute value. The total seating capacity for this restaurant.

Parameters:
maxSeatingCapacity -

getMaxSingleParty

public java.lang.Integer getMaxSingleParty()
Get the 'MaxSingleParty' attribute value. The maximum number of people that can be seated as a single party in this restaurant.

Returns:
value

setMaxSingleParty

public void setMaxSingleParty(java.lang.Integer maxSingleParty)
Set the 'MaxSingleParty' attribute value. The maximum number of people that can be seated as a single party in this restaurant.

Parameters:
maxSingleParty -

getInvCode

public java.lang.String getInvCode()
Get the 'InvCode' attribute value. Identification code of the restaurant service or facility for inventory and booking purposes if the service is an inventoriable item.

Returns:
value

setInvCode

public void setInvCode(java.lang.String invCode)
Set the 'InvCode' attribute value. Identification code of the restaurant service or facility for inventory and booking purposes if the service is an inventoriable item.

Parameters:
invCode -

getOfferBreakfast

public java.lang.Boolean getOfferBreakfast()
Get the 'OfferBreakfast' attribute value.

Returns:
value

setOfferBreakfast

public void setOfferBreakfast(java.lang.Boolean offerBreakfast)
Set the 'OfferBreakfast' attribute value.

Parameters:
offerBreakfast -

getOfferLunch

public java.lang.Boolean getOfferLunch()
Get the 'OfferLunch' attribute value.

Returns:
value

setOfferLunch

public void setOfferLunch(java.lang.Boolean offerLunch)
Set the 'OfferLunch' attribute value.

Parameters:
offerLunch -

getOfferDinner

public java.lang.Boolean getOfferDinner()
Get the 'OfferDinner' attribute value.

Returns:
value

setOfferDinner

public void setOfferDinner(java.lang.Boolean offerDinner)
Set the 'OfferDinner' attribute value.

Parameters:
offerDinner -

getOfferBrunch

public java.lang.Boolean getOfferBrunch()
Get the 'OfferBrunch' attribute value.

Returns:
value

setOfferBrunch

public void setOfferBrunch(java.lang.Boolean offerBrunch)
Set the 'OfferBrunch' attribute value.

Parameters:
offerBrunch -

getProximityCode

public java.lang.String getProximityCode()
Get the 'ProximityCode' attribute value. Denotes whether a service is onsite, offsite or information is not available. Refer to OpenTravel Code Table Proximity (PRX).

Returns:
value

setProximityCode

public void setProximityCode(java.lang.String proximityCode)
Set the 'ProximityCode' attribute value. Denotes whether a service is onsite, offsite or information is not available. Refer to OpenTravel Code Table Proximity (PRX).

Parameters:
proximityCode -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -

getSort

public java.lang.Integer getSort()
Get the 'Sort' attribute value. Used to define the display order.

Returns:
value

setSort

public void setSort(java.lang.Integer sort)
Set the 'Sort' attribute value. Used to define the display order.

Parameters:
sort -