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

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

public static class Profile.PrefCollections.PrefCollection.HotelPref.PropertyAmenityPref
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:PropertyAmenityPrefType" name="PropertyAmenityPref" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PropertyAmenityPrefType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attributeGroup ref="ns:PreferLevelGroup"/>
       <xs:attribute type="xs:string" name="PropertyAmenityType"/>
     </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.PropertyAmenityPref()
           
 
Method Summary
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 java.lang.String getPropertyAmenity()
          Get the 'PropertyAmenityType' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setPropertyAmenity(java.lang.String propertyAmenity)
          Set the 'PropertyAmenityType' 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.PropertyAmenityPref

public Profile.PrefCollections.PrefCollection.HotelPref.PropertyAmenityPref()
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 -

getPropertyAmenity

public java.lang.String getPropertyAmenity()
Get the 'PropertyAmenityType' attribute value. Identifies the amenities offered by the hotel. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Returns:
value

setPropertyAmenity

public void setPropertyAmenity(java.lang.String propertyAmenity)
Set the 'PropertyAmenityType' attribute value. Identifies the amenities offered by the hotel. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Parameters:
propertyAmenity -