org.ota.cruise
Class CruiseDiningGroup

java.lang.Object
  extended by org.ota.cruise.CruiseDiningGroup

public class CruiseDiningGroup
extends java.lang.Object

Specifies the Dining Information Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CruiseDiningGroup">
   <xs:attribute type="xs:string" use="optional" name="SmokingCode"/>
   <xs:attribute type="xs:string" use="optional" name="DiningRoom"/>
   <xs:attribute type="xs:string" use="optional" name="TableSize"/>
   <xs:attribute type="xs:string" use="optional" name="AgeCode"/>
   <xs:attribute type="xs:string" use="optional" name="Language"/>
   <xs:attribute type="xs:string" use="required" name="Sitting"/>
   <xs:attribute type="xs:string" use="optional" name="Status"/>
   <xs:attribute type="ns:PreferLevelType" use="optional" name="Preference"/>
 </xs:attributeGroup>
 


Constructor Summary
CruiseDiningGroup()
           
 
Method Summary
 java.lang.String getAgeCode()
          Get the 'AgeCode' attribute value.
 java.lang.String getDiningRoom()
          Get the 'DiningRoom' attribute value.
 java.lang.String getLanguage()
          Get the 'Language' attribute value.
 PreferLevel getPreference()
          Get the 'Preference' attribute value.
 java.lang.String getSitting()
          Get the 'Sitting' attribute value.
 java.lang.String getSmokingCode()
          Get the 'SmokingCode' attribute value.
 java.lang.String getStatus()
          Get the 'Status' attribute value.
 java.lang.String getTableSize()
          Get the 'TableSize' attribute value.
 void setAgeCode(java.lang.String ageCode)
          Set the 'AgeCode' attribute value.
 void setDiningRoom(java.lang.String diningRoom)
          Set the 'DiningRoom' attribute value.
 void setLanguage(java.lang.String language)
          Set the 'Language' attribute value.
 void setPreference(PreferLevel preference)
          Set the 'Preference' attribute value.
 void setSitting(java.lang.String sitting)
          Set the 'Sitting' attribute value.
 void setSmokingCode(java.lang.String smokingCode)
          Set the 'SmokingCode' attribute value.
 void setStatus(java.lang.String status)
          Set the 'Status' attribute value.
 void setTableSize(java.lang.String tableSize)
          Set the 'TableSize' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruiseDiningGroup

public CruiseDiningGroup()
Method Detail

getSmokingCode

public java.lang.String getSmokingCode()
Get the 'SmokingCode' attribute value. Indicates the guest smoking preference. Refer to OpenTravel Code table Option Type Code (OTC).

Returns:
value

setSmokingCode

public void setSmokingCode(java.lang.String smokingCode)
Set the 'SmokingCode' attribute value. Indicates the guest smoking preference. Refer to OpenTravel Code table Option Type Code (OTC).

Parameters:
smokingCode -

getDiningRoom

public java.lang.String getDiningRoom()
Get the 'DiningRoom' attribute value. Specifies the Dining Room

Returns:
value

setDiningRoom

public void setDiningRoom(java.lang.String diningRoom)
Set the 'DiningRoom' attribute value. Specifies the Dining Room

Parameters:
diningRoom -

getTableSize

public java.lang.String getTableSize()
Get the 'TableSize' attribute value. Specifies the table size of the dining.

Returns:
value

setTableSize

public void setTableSize(java.lang.String tableSize)
Set the 'TableSize' attribute value. Specifies the table size of the dining.

Parameters:
tableSize -

getAgeCode

public java.lang.String getAgeCode()
Get the 'AgeCode' attribute value. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Returns:
value

setAgeCode

public void setAgeCode(java.lang.String ageCode)
Set the 'AgeCode' attribute value. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Parameters:
ageCode -

getLanguage

public java.lang.String getLanguage()
Get the 'Language' attribute value. Typically used to define the preferred language of the server.

Returns:
value

setLanguage

public void setLanguage(java.lang.String language)
Set the 'Language' attribute value. Typically used to define the preferred language of the server.

Parameters:
language -

getSitting

public java.lang.String getSitting()
Get the 'Sitting' attribute value. Dining service. Typical values are: first, second, third, open.

Returns:
value

setSitting

public void setSitting(java.lang.String sitting)
Set the 'Sitting' attribute value. Dining service. Typical values are: first, second, third, open.

Parameters:
sitting -

getStatus

public java.lang.String getStatus()
Get the 'Status' attribute value. Dining status. Refer to OpenTravel Code table Status (STS).

Returns:
value

setStatus

public void setStatus(java.lang.String status)
Set the 'Status' attribute value. Dining status. Refer to OpenTravel Code table Status (STS).

Parameters:
status -

getPreference

public PreferLevel getPreference()
Get the 'Preference' attribute value.

Returns:
value

setPreference

public void setPreference(PreferLevel preference)
Set the 'Preference' attribute value.

Parameters:
preference -