org.ota.cruise
Class DiningAvailRS.DiningOption.DiningRoom

java.lang.Object
  extended by org.ota.shared.Restaurant
      extended by org.ota.cruise.DiningAvailRS.DiningOption.DiningRoom
Enclosing class:
DiningAvailRS.DiningOption

public static class DiningAvailRS.DiningOption.DiningRoom
extends Restaurant

Specifies the dining room information. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DiningRoom" maxOccurs="20">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:RestaurantType">
         <xs:sequence>
           <xs:element name="SittingDetails" minOccurs="0">
             <!-- Reference to inner class SittingDetails -->
           </xs:element>
           <xs:element type="ns:FeeType" name="Fee" minOccurs="0"/>
         </xs:sequence>
         <xs:attributeGroup ref="ns:SmokingIndicatorGroup"/>
         <xs:attribute type="xs:string" use="optional" name="DeckName"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SmokingIndicatorGroup">
   <xs:attribute type="xs:boolean" use="optional" name="SmokingAllowed"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class DiningAvailRS.DiningOption.DiningRoom.SittingDetails
          Contains the list of sitting details.
 
Nested classes/interfaces inherited from class org.ota.shared.Restaurant
Restaurant.CuisineCodes, Restaurant.InfoCodes, Restaurant.MultimediaDescriptions
 
Constructor Summary
DiningAvailRS.DiningOption.DiningRoom()
           
 
Method Summary
 java.lang.String getDeckName()
          Get the 'DeckName' attribute value.
 Fee getFee()
          Get the 'Fee' element value.
 DiningAvailRS.DiningOption.DiningRoom.SittingDetails getSittingDetails()
          Get the 'SittingDetails' element value.
 java.lang.Boolean getSmokingAllowed()
          Get the 'SmokingAllowed' attribute value.
 void setDeckName(java.lang.String deckName)
          Set the 'DeckName' attribute value.
 void setFee(Fee fee)
          Set the 'Fee' element value.
 void setSittingDetails(DiningAvailRS.DiningOption.DiningRoom.SittingDetails sittingDetails)
          Set the 'SittingDetails' element value.
 void setSmokingAllowed(java.lang.Boolean smokingAllowed)
          Set the 'SmokingAllowed' attribute value.
 
Methods inherited from class org.ota.shared.Restaurant
getCuisineCodes, getDescriptiveText, getID, getInfoCodes, getInvCode, getMaxSeatingCapacity, getMaxSingleParty, getMultimediaDescriptions, getOfferBreakfast, getOfferBrunch, getOfferDinner, getOfferLunch, getOperationSchedules, getProximityCode, getRelativePosition, getRestaurantName, getSort, setCuisineCodes, setDescriptiveText, setID, setInfoCodes, setInvCode, setMaxSeatingCapacity, setMaxSingleParty, setMultimediaDescriptions, setOfferBreakfast, setOfferBrunch, setOfferDinner, setOfferLunch, setOperationSchedules, setProximityCode, setRelativePosition, setRestaurantName, setSort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiningAvailRS.DiningOption.DiningRoom

public DiningAvailRS.DiningOption.DiningRoom()
Method Detail

getSittingDetails

public DiningAvailRS.DiningOption.DiningRoom.SittingDetails getSittingDetails()
Get the 'SittingDetails' element value.

Returns:
value

setSittingDetails

public void setSittingDetails(DiningAvailRS.DiningOption.DiningRoom.SittingDetails sittingDetails)
Set the 'SittingDetails' element value.

Parameters:
sittingDetails -

getFee

public Fee getFee()
Get the 'Fee' element value. Used to provide charge information for dining rooms that have additional fees.

Returns:
value

setFee

public void setFee(Fee fee)
Set the 'Fee' element value. Used to provide charge information for dining rooms that have additional fees.

Parameters:
fee -

getSmokingAllowed

public java.lang.Boolean getSmokingAllowed()
Get the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Returns:
value

setSmokingAllowed

public void setSmokingAllowed(java.lang.Boolean smokingAllowed)
Set the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Parameters:
smokingAllowed -

getDeckName

public java.lang.String getDeckName()
Get the 'DeckName' attribute value. Name of the deck on the ship where the dining room is located.

Returns:
value

setDeckName

public void setDeckName(java.lang.String deckName)
Set the 'DeckName' attribute value. Name of the deck on the ship where the dining room is located.

Parameters:
deckName -