org.ota.shared
Class OriginDestinationInformation.ConnectionLocations.ConnectionLocation

java.lang.Object
  extended by org.ota.shared.OriginDestinationInformation.ConnectionLocations.ConnectionLocation
Enclosing class:
OriginDestinationInformation.ConnectionLocations

public static class OriginDestinationInformation.ConnectionLocations.ConnectionLocation
extends java.lang.Object

Specifies a connection location, preference level, min connection time, and whether the location is allowed for stopping or changing. 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="ConnectionLocation" maxOccurs="9">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:LocationType">
         <xs:attribute type="xs:boolean" use="optional" name="Inclusive"/>
         <xs:attributeGroup ref="ns:PreferLevelGroup"/>
         <xs:attribute type="xs:int" use="optional" name="MinChangeTime"/>
         <xs:attribute use="optional" name="ConnectionInfo">
           <xs:simpleType>
             <!-- Reference to inner class ConnectionInfo -->
           </xs:simpleType>
         </xs:attribute>
         <xs:attribute type="xs:boolean" use="optional" name="MultiAirportCityInd"/>
       </xs:extension>
     </xs:simpleContent>
   </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>
 


Nested Class Summary
static class OriginDestinationInformation.ConnectionLocations.ConnectionLocation.ConnectionInfo
          Schema fragment(s) for this class:
 
Constructor Summary
OriginDestinationInformation.ConnectionLocations.ConnectionLocation()
           
 
Method Summary
 OriginDestinationInformation.ConnectionLocations.ConnectionLocation.ConnectionInfo getConnectionInfo()
          Get the 'ConnectionInfo' attribute value.
 java.lang.Boolean getInclusive()
          Get the 'Inclusive' attribute value.
 Location getLocation()
          Get the extension value.
 java.lang.Integer getMinChangeTime()
          Get the 'MinChangeTime' attribute value.
 java.lang.Boolean getMultiAirportCityInd()
          Get the 'MultiAirportCityInd' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setConnectionInfo(OriginDestinationInformation.ConnectionLocations.ConnectionLocation.ConnectionInfo connectionInfo)
          Set the 'ConnectionInfo' attribute value.
 void setInclusive(java.lang.Boolean inclusive)
          Set the 'Inclusive' attribute value.
 void setLocation(Location location)
          Set the extension value.
 void setMinChangeTime(java.lang.Integer minChangeTime)
          Set the 'MinChangeTime' attribute value.
 void setMultiAirportCityInd(java.lang.Boolean multiAirportCityInd)
          Set the 'MultiAirportCityInd' attribute 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

OriginDestinationInformation.ConnectionLocations.ConnectionLocation

public OriginDestinationInformation.ConnectionLocations.ConnectionLocation()
Method Detail

getLocation

public Location getLocation()
Get the extension value.

Returns:
value

setLocation

public void setLocation(Location location)
Set the extension value.

Parameters:
location -

getInclusive

public java.lang.Boolean getInclusive()
Get the 'Inclusive' attribute value. When true, indicates the location is acceptable for a connection. When false the location should not be included for a connection. true

Returns:
value

setInclusive

public void setInclusive(java.lang.Boolean inclusive)
Set the 'Inclusive' attribute value. When true, indicates the location is acceptable for a connection. When false the location should not be included for a connection. true

Parameters:
inclusive -

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 -

getMinChangeTime

public java.lang.Integer getMinChangeTime()
Get the 'MinChangeTime' attribute value. Number of minutes between connections.

Returns:
value

setMinChangeTime

public void setMinChangeTime(java.lang.Integer minChangeTime)
Set the 'MinChangeTime' attribute value. Number of minutes between connections.

Parameters:
minChangeTime -

getConnectionInfo

public OriginDestinationInformation.ConnectionLocations.ConnectionLocation.ConnectionInfo getConnectionInfo()
Get the 'ConnectionInfo' attribute value. Specifies whether a connection is for a stopover or a change of flights.

Returns:
value

setConnectionInfo

public void setConnectionInfo(OriginDestinationInformation.ConnectionLocations.ConnectionLocation.ConnectionInfo connectionInfo)
Set the 'ConnectionInfo' attribute value. Specifies whether a connection is for a stopover or a change of flights.

Parameters:
connectionInfo -

getMultiAirportCityInd

public java.lang.Boolean getMultiAirportCityInd()
Get the 'MultiAirportCityInd' attribute value. If true, other airports within this city may be considered (e.g., EWR, JFK when origin location is LGA.)

Returns:
value

setMultiAirportCityInd

public void setMultiAirportCityInd(java.lang.Boolean multiAirportCityInd)
Set the 'MultiAirportCityInd' attribute value. If true, other airports within this city may be considered (e.g., EWR, JFK when origin location is LGA.)

Parameters:
multiAirportCityInd -