org.ota.dynamicpkg
Class AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
java.lang.Object
org.ota.shared.FreeText
org.ota.dynamicpkg.AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
- Enclosing class:
- AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment
public static class AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
- extends FreeText
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:complexContent>
<xs:extension base="ns:FreeTextType">
<xs:attribute type="xs:string" use="optional" name="Code"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Method Summary |
java.lang.String |
getCode()
Get the 'Code' attribute value. |
void |
setCode(java.lang.String code)
Set the 'Code' attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo
public AvailRS.SearchResults.AirResults.OriginDestinationInformation.OriginDestinationOption.FlightSegment.TrafficRestrictionInfo()
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
-