org.ota.shared
Class Restaurant.InfoCodes

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

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

Collection of types of 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="InfoCodes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="InfoCode" maxOccurs="unbounded">
         <!-- Reference to inner class InfoCode -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Restaurant.InfoCodes.InfoCode
          Indicates the generic type of restaurant such as fast food, cafe, fine dining, etc.
 
Constructor Summary
Restaurant.InfoCodes()
           
 
Method Summary
 void addInfoCode(Restaurant.InfoCodes.InfoCode item)
          Add a 'InfoCode' element item.
 void clearInfoCodes()
          Remove all 'InfoCode' element items.
 Restaurant.InfoCodes.InfoCode getInfoCode(int index)
          Get 'InfoCode' element item by position.
 java.util.List<Restaurant.InfoCodes.InfoCode> getInfoCodes()
          Get the list of 'InfoCode' element items.
 void setInfoCodes(java.util.List<Restaurant.InfoCodes.InfoCode> list)
          Set the list of 'InfoCode' element items.
 int sizeInfoCodes()
          Get the number of 'InfoCode' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Restaurant.InfoCodes

public Restaurant.InfoCodes()
Method Detail

getInfoCodes

public java.util.List<Restaurant.InfoCodes.InfoCode> getInfoCodes()
Get the list of 'InfoCode' element items.

Returns:
list

setInfoCodes

public void setInfoCodes(java.util.List<Restaurant.InfoCodes.InfoCode> list)
Set the list of 'InfoCode' element items.

Parameters:
list -

sizeInfoCodes

public int sizeInfoCodes()
Get the number of 'InfoCode' element items.

Returns:
count

addInfoCode

public void addInfoCode(Restaurant.InfoCodes.InfoCode item)
Add a 'InfoCode' element item.

Parameters:
item -

getInfoCode

public Restaurant.InfoCodes.InfoCode getInfoCode(int index)
Get 'InfoCode' element item by position.

Parameters:
index -
Returns:
item

clearInfoCodes

public void clearInfoCodes()
Remove all 'InfoCode' element items.