org.ota.pkg
Class PkgPassengerListItem.SpecialNeed

java.lang.Object
  extended by org.ota.pkg.PkgPassengerListItem.SpecialNeed
Enclosing class:
PkgPassengerListItem

public static class PkgPassengerListItem.SpecialNeed
extends java.lang.Object

A special requirement e.g. wheelchair or vegetarian meal. 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="SpecialNeed" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute type="xs:string" use="optional" name="Code"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
PkgPassengerListItem.SpecialNeed()
           
 
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

PkgPassengerListItem.SpecialNeed

public PkgPassengerListItem.SpecialNeed()
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 -