org.ota.profile
Class Profile.PrefCollections.PrefCollection.HotelPref.FoodSrvcPref

java.lang.Object
  extended by org.ota.profile.Profile.PrefCollections.PrefCollection.HotelPref.FoodSrvcPref
Enclosing class:
Profile.PrefCollections.PrefCollection.HotelPref

public static class Profile.PrefCollections.PrefCollection.HotelPref.FoodSrvcPref
extends java.lang.Object

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" type="ns:FoodSrvcPrefType" name="FoodSrvcPref" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FoodSrvcPrefType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attributeGroup ref="ns:PreferLevelGroup"/>
       <xs:attribute type="xs:string" name="FoodSrvcType"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
Profile.PrefCollections.PrefCollection.HotelPref.FoodSrvcPref()
           
 
Method Summary
 java.lang.String getFoodSrvc()
          Get the 'FoodSrvcType' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setFoodSrvc(java.lang.String foodSrvc)
          Set the 'FoodSrvcType' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.HotelPref.FoodSrvcPref

public Profile.PrefCollections.PrefCollection.HotelPref.FoodSrvcPref()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -

getFoodSrvc

public java.lang.String getFoodSrvc()
Get the 'FoodSrvcType' attribute value. Identifies the types of food services offered by the hotel. Refer to OpenTravel Code List Main Cuisine Code (CUI).

Returns:
value

setFoodSrvc

public void setFoodSrvc(java.lang.String foodSrvc)
Set the 'FoodSrvcType' attribute value. Identifies the types of food services offered by the hotel. Refer to OpenTravel Code List Main Cuisine Code (CUI).

Parameters:
foodSrvc -