org.ota.air
Class Fare.TourCode

java.lang.Object
  extended by org.ota.air.Fare.TourCode
Enclosing class:
Fare

public static class Fare.TourCode
extends java.lang.Object

The tour code associated with the fare. 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="TourCode" minOccurs="0">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="ns:ActionType" use="optional" name="Operation"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Fare.TourCode()
           
 
Method Summary
 Action getOperation()
          Get the 'Operation' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setOperation(Action operation)
          Set the 'Operation' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fare.TourCode

public Fare.TourCode()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getOperation

public Action getOperation()
Get the 'Operation' attribute value. Indicates the required modification to the element.

Returns:
value

setOperation

public void setOperation(Action operation)
Set the 'Operation' attribute value. Indicates the required modification to the element.

Parameters:
operation -