org.ota.air
Class ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo

java.lang.Object
  extended by org.ota.air.ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
Enclosing class:
ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment

public static class ScheduleRS.OriginDestinationOptions.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="9">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attribute type="xs:string" use="optional" name="Text"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getText()
          Get the 'Text' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setText(java.lang.String text)
          Set the 'Text' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo

public ScheduleRS.OriginDestinationOptions.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. A restriction in coded format that may affect the flight schedule. Refer to OpenTravel Code list TRC (Traffic Restriction Code).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. A restriction in coded format that may affect the flight schedule. Refer to OpenTravel Code list TRC (Traffic Restriction Code).

Parameters:
code -

getText

public java.lang.String getText()
Get the 'Text' attribute value. A restriction in text format that may affect the flight schedule.

Returns:
value

setText

public void setText(java.lang.String text)
Set the 'Text' attribute value. A restriction in text format that may affect the flight schedule.

Parameters:
text -