org.ota.air
Class FlightTypePrefGroup

java.lang.Object
  extended by org.ota.air.FlightTypePrefGroup

public class FlightTypePrefGroup
extends java.lang.Object

Indicates preferences for certain types of flights, such as connections or stopovers, when used for a specific travel situation. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FlightTypePrefGroup">
   <xs:attributeGroup ref="ns:PreferLevelGroup"/>
   <xs:attribute type="ns:FlightTypeType" use="optional" name="FlightType"/>
   <xs:attribute type="xs:int" use="optional" name="MaxConnections"/>
   <xs:attribute use="optional" name="NonScheduledFltInfo">
     <xs:simpleType>
       <!-- Reference to inner class NonScheduledFltInfo -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:boolean" use="optional" name="BackhaulIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="GroundTransportIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="DirectAndNonStopOnlyInd"/>
   <xs:attribute type="xs:boolean" use="optional" name="NonStopsOnlyInd"/>
   <xs:attribute type="xs:boolean" use="optional" name="OnlineConnectionsOnlyInd"/>
   <xs:attribute use="optional" name="RoutingType">
     <xs:simpleType>
       <!-- Reference to inner class Routing -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:boolean" use="optional" name="ExcludeTrainInd"/>
 </xs:attributeGroup>
 
 <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>
 
 <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FlightTypeType">
   <!-- Reference to inner class FlightType -->
 </xs:simpleType>
 


Nested Class Summary
static class FlightTypePrefGroup.FlightType
          Specifies a particular type of flight (e.g.
static class FlightTypePrefGroup.NonScheduledFltInfo
          Schema fragment(s) for this class:
static class FlightTypePrefGroup.Routing
          Schema fragment(s) for this class:
 
Constructor Summary
FlightTypePrefGroup()
           
 
Method Summary
 java.lang.Boolean getBackhaulIndicator()
          Get the 'BackhaulIndicator' attribute value.
 java.lang.Boolean getDirectAndNonStopOnlyInd()
          Get the 'DirectAndNonStopOnlyInd' attribute value.
 java.lang.Boolean getExcludeTrainInd()
          Get the 'ExcludeTrainInd' attribute value.
 FlightTypePrefGroup.FlightType getFlight()
          Get the 'FlightType' attribute value.
 java.lang.Boolean getGroundTransportIndicator()
          Get the 'GroundTransportIndicator' attribute value.
 java.lang.Integer getMaxConnections()
          Get the 'MaxConnections' attribute value.
 FlightTypePrefGroup.NonScheduledFltInfo getNonScheduledFltInfo()
          Get the 'NonScheduledFltInfo' attribute value.
 java.lang.Boolean getNonStopsOnlyInd()
          Get the 'NonStopsOnlyInd' attribute value.
 java.lang.Boolean getOnlineConnectionsOnlyInd()
          Get the 'OnlineConnectionsOnlyInd' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 FlightTypePrefGroup.Routing getRouting()
          Get the 'RoutingType' attribute value.
 void setBackhaulIndicator(java.lang.Boolean backhaulIndicator)
          Set the 'BackhaulIndicator' attribute value.
 void setDirectAndNonStopOnlyInd(java.lang.Boolean directAndNonStopOnlyInd)
          Set the 'DirectAndNonStopOnlyInd' attribute value.
 void setExcludeTrainInd(java.lang.Boolean excludeTrainInd)
          Set the 'ExcludeTrainInd' attribute value.
 void setFlight(FlightTypePrefGroup.FlightType flight)
          Set the 'FlightType' attribute value.
 void setGroundTransportIndicator(java.lang.Boolean groundTransportIndicator)
          Set the 'GroundTransportIndicator' attribute value.
 void setMaxConnections(java.lang.Integer maxConnections)
          Set the 'MaxConnections' attribute value.
 void setNonScheduledFltInfo(FlightTypePrefGroup.NonScheduledFltInfo nonScheduledFltInfo)
          Set the 'NonScheduledFltInfo' attribute value.
 void setNonStopsOnlyInd(java.lang.Boolean nonStopsOnlyInd)
          Set the 'NonStopsOnlyInd' attribute value.
 void setOnlineConnectionsOnlyInd(java.lang.Boolean onlineConnectionsOnlyInd)
          Set the 'OnlineConnectionsOnlyInd' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setRouting(FlightTypePrefGroup.Routing routing)
          Set the 'RoutingType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlightTypePrefGroup

public FlightTypePrefGroup()
Method Detail

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 -

getFlight

public FlightTypePrefGroup.FlightType getFlight()
Get the 'FlightType' attribute value. Indicates type of stops preferred (Nonstop, Direct, Connection).

Returns:
value

setFlight

public void setFlight(FlightTypePrefGroup.FlightType flight)
Set the 'FlightType' attribute value. Indicates type of stops preferred (Nonstop, Direct, Connection).

Parameters:
flight -

getMaxConnections

public java.lang.Integer getMaxConnections()
Get the 'MaxConnections' attribute value. Indicates that if connection is chosen, then this attribute defines the maximum number of connections preferred.

Returns:
value

setMaxConnections

public void setMaxConnections(java.lang.Integer maxConnections)
Set the 'MaxConnections' attribute value. Indicates that if connection is chosen, then this attribute defines the maximum number of connections preferred.

Parameters:
maxConnections -

getNonScheduledFltInfo

public FlightTypePrefGroup.NonScheduledFltInfo getNonScheduledFltInfo()
Get the 'NonScheduledFltInfo' attribute value. To specify which types of non-scheduled air service should be included.

Returns:
value

setNonScheduledFltInfo

public void setNonScheduledFltInfo(FlightTypePrefGroup.NonScheduledFltInfo nonScheduledFltInfo)
Set the 'NonScheduledFltInfo' attribute value. To specify which types of non-scheduled air service should be included.

Parameters:
nonScheduledFltInfo -

getBackhaulIndicator

public java.lang.Boolean getBackhaulIndicator()
Get the 'BackhaulIndicator' attribute value. If true, include connections where one of the enroute stops is the same as the initial board point or the final off point of the flight.

Returns:
value

setBackhaulIndicator

public void setBackhaulIndicator(java.lang.Boolean backhaulIndicator)
Set the 'BackhaulIndicator' attribute value. If true, include connections where one of the enroute stops is the same as the initial board point or the final off point of the flight.

Parameters:
backhaulIndicator -

getGroundTransportIndicator

public java.lang.Boolean getGroundTransportIndicator()
Get the 'GroundTransportIndicator' attribute value. If true, include flights that include at least one leg that is ground transportation.

Returns:
value

setGroundTransportIndicator

public void setGroundTransportIndicator(java.lang.Boolean groundTransportIndicator)
Set the 'GroundTransportIndicator' attribute value. If true, include flights that include at least one leg that is ground transportation.

Parameters:
groundTransportIndicator -

getDirectAndNonStopOnlyInd

public java.lang.Boolean getDirectAndNonStopOnlyInd()
Get the 'DirectAndNonStopOnlyInd' attribute value. If true, direct and non-stop flights are requested.

Returns:
value

setDirectAndNonStopOnlyInd

public void setDirectAndNonStopOnlyInd(java.lang.Boolean directAndNonStopOnlyInd)
Set the 'DirectAndNonStopOnlyInd' attribute value. If true, direct and non-stop flights are requested.

Parameters:
directAndNonStopOnlyInd -

getNonStopsOnlyInd

public java.lang.Boolean getNonStopsOnlyInd()
Get the 'NonStopsOnlyInd' attribute value. If true, only non-stop flights are requested.

Returns:
value

setNonStopsOnlyInd

public void setNonStopsOnlyInd(java.lang.Boolean nonStopsOnlyInd)
Set the 'NonStopsOnlyInd' attribute value. If true, only non-stop flights are requested.

Parameters:
nonStopsOnlyInd -

getOnlineConnectionsOnlyInd

public java.lang.Boolean getOnlineConnectionsOnlyInd()
Get the 'OnlineConnectionsOnlyInd' attribute value. If true, only online connection flights are requested (i.e., same marketing airline).

Returns:
value

setOnlineConnectionsOnlyInd

public void setOnlineConnectionsOnlyInd(java.lang.Boolean onlineConnectionsOnlyInd)
Set the 'OnlineConnectionsOnlyInd' attribute value. If true, only online connection flights are requested (i.e., same marketing airline).

Parameters:
onlineConnectionsOnlyInd -

getRouting

public FlightTypePrefGroup.Routing getRouting()
Get the 'RoutingType' attribute value. Specifies the travel routing preference.

Returns:
value

setRouting

public void setRouting(FlightTypePrefGroup.Routing routing)
Set the 'RoutingType' attribute value. Specifies the travel routing preference.

Parameters:
routing -

getExcludeTrainInd

public java.lang.Boolean getExcludeTrainInd()
Get the 'ExcludeTrainInd' attribute value. When true, exclude connections that include travel by train for one of the legs.

Returns:
value

setExcludeTrainInd

public void setExcludeTrainInd(java.lang.Boolean excludeTrainInd)
Set the 'ExcludeTrainInd' attribute value. When true, exclude connections that include travel by train for one of the legs.

Parameters:
excludeTrainInd -