org.ota.rail
Class AvailRQ.RailPrefs.TransportModes

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

public static class AvailRQ.RailPrefs.TransportModes
extends java.lang.Object

Describes any preferences in terms of the transporation that may be used in the itinerary. For example, some journies may require that a bus be used to connect between two locations. Preference may reflect 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="TransportModes" minOccurs="0" maxOccurs="5">
   <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.TransportModes()
           
 
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.TransportModes

public AvailRQ.RailPrefs.TransportModes()
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 -