org.ota.shared
Class Restaurant.InfoCodes.InfoCode

java.lang.Object
  extended by org.ota.shared.Restaurant.InfoCodes.InfoCode
Enclosing class:
Restaurant.InfoCodes

public static class Restaurant.InfoCodes.InfoCode
extends java.lang.Object

Indicates the generic type of restaurant such as fast food, cafe, fine dining, etc. 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="InfoCode" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute use="optional" name="Name">
       <xs:simpleType>
         <!-- Reference to inner class Name -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Restaurant.InfoCodes.InfoCode.Name
          Schema fragment(s) for this class:
 
Constructor Summary
Restaurant.InfoCodes.InfoCode()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 Restaurant.InfoCodes.InfoCode.Name getName()
          Get the 'Name' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setName(Restaurant.InfoCodes.InfoCode.Name name)
          Set the 'Name' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Restaurant.InfoCodes.InfoCode

public Restaurant.InfoCodes.InfoCode()
Method Detail

getName

public Restaurant.InfoCodes.InfoCode.Name getName()
Get the 'Name' attribute value. This name refers to an OpenTravel Code List table (e.g. RestaurantCategoryCode/InfoCode). The actual code is passed in the Code attribute.

Returns:
value

setName

public void setName(Restaurant.InfoCodes.InfoCode.Name name)
Set the 'Name' attribute value. This name refers to an OpenTravel Code List table (e.g. RestaurantCategoryCode/InfoCode). The actual code is passed in the Code attribute.

Parameters:
name -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Restaurant Category (RES).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Restaurant Category (RES).

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 -