org.ota.air
Class AvailRS.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo

java.lang.Object
  extended by org.ota.air.AvailRS.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
Enclosing class:
AvailRS.OriginDestinationInformation.OriginDestinationOption.FlightSegment

public static class AvailRS.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
extends java.lang.Object

Traffic restriction information for a specific flight. 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="TrafficRestrictionInfo" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:FreeTextType">
         <xs:attribute type="xs:string" use="optional" name="Code"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailRS.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 FreeText getFreeText()
          Get the extension value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setFreeText(FreeText freeText)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo

public AvailRS.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo()
Method Detail

getFreeText

public FreeText getFreeText()
Get the extension value.

Returns:
value

setFreeText

public void setFreeText(FreeText freeText)
Set the extension value.

Parameters:
freeText -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. The traffic restriction that applies to this flight segment. Refer to OpenTravel Code list TRC (Traffic Restriction Code).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. The traffic restriction that applies to this flight segment. Refer to OpenTravel Code list TRC (Traffic Restriction Code).

Parameters:
code -