org.ota.rail
Class AvailRQ.RailPrefs.RailAmenities.RailAmenity

java.lang.Object
  extended by org.ota.rail.AvailRQ.RailPrefs.RailAmenities.RailAmenity
Enclosing class:
AvailRQ.RailPrefs.RailAmenities

public static class AvailRQ.RailPrefs.RailAmenities.RailAmenity
extends java.lang.Object

Describes a specific amenity along with the preference for that amenity. Preference may relect inclusion or exclusion. 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="RailAmenity" maxOccurs="9">
   <xs:complexType>
     <xs:attributeGroup ref="ns:CodeListGroup"/>
     <xs:attributeGroup ref="ns:PreferLevelGroup"/>
   </xs:complexType>
 </xs:element>
 
 <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
AvailRQ.RailPrefs.RailAmenities.RailAmenity()
           
 
Method Summary
 CodeListGroup getCodeListGroup()
          Get the 'CodeListGroup' attributeGroup value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setCodeListGroup(CodeListGroup codeListGroup)
          Set the 'CodeListGroup' attributeGroup value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRQ.RailPrefs.RailAmenities.RailAmenity

public AvailRQ.RailPrefs.RailAmenities.RailAmenity()
Method Detail

getCodeListGroup

public CodeListGroup getCodeListGroup()
Get the 'CodeListGroup' attributeGroup value.

Returns:
value

setCodeListGroup

public void setCodeListGroup(CodeListGroup codeListGroup)
Set the 'CodeListGroup' attributeGroup value.

Parameters:
codeListGroup -

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 -