org.ota.shared
Class Restaurant.CuisineCodes.CuisineCode

java.lang.Object
  extended by org.ota.shared.Restaurant.CuisineCodes.CuisineCode
Enclosing class:
Restaurant.CuisineCodes

public static class Restaurant.CuisineCodes.CuisineCode
extends java.lang.Object

The code for the type of cuisine served at the restaurant. 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="CuisineCode" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:boolean" use="optional" name="IsMain"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Restaurant.CuisineCodes.CuisineCode()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 java.lang.Boolean getIsMain()
          Get the 'IsMain' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 void setIsMain(java.lang.Boolean isMain)
          Set the 'IsMain' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Restaurant.CuisineCodes.CuisineCode

public Restaurant.CuisineCodes.CuisineCode()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Main Cuisine Code (CUI).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Main Cuisine Code (CUI).

Parameters:
code -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Parameters:
codeInfoGroup -

getIsMain

public java.lang.Boolean getIsMain()
Get the 'IsMain' attribute value. Indicates whether this cuisine code is the main cuisine offered by restaurant.

Returns:
value

setIsMain

public void setIsMain(java.lang.Boolean isMain)
Set the 'IsMain' attribute value. Indicates whether this cuisine code is the main cuisine offered by restaurant.

Parameters:
isMain -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the Code applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the Code applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Parameters:
existsCode -