org.ota.rail
Class NoFareReason

java.lang.Object
  extended by org.ota.rail.NoFareReason

public class NoFareReason
extends java.lang.Object

Encapsulates the reason code and text that provide details of why the price of a fare could not be calculated. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NoFareReasonType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:string" use="required" name="Code"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Constructor Summary
NoFareReason()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setCode(java.lang.String code)
          Set the 'Code' 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

NoFareReason

public NoFareReason()
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 -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value.

Parameters:
code -