org.ota.air
Class SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails

java.lang.Object
  extended by org.ota.air.SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails
Enclosing class:
SeatMapRS.SeatMapResponses.SeatMapResponse

public static class SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails
extends java.lang.Object

This identifies the seat map details for the flight segment in the corresponding 'FlightSegmentInfo' element. If the responding system has different seat maps for different passengers for the same flight segment then this element will reccur accordingly. The availability of seats can differ based upon various conditions, such as a passenger's status within a loyalty program or by the amount paid or class of service booked for the ticket. For example, if one passenger has a certain status in the Frequent Flyer program of the airline, certain desirable seats may be available for selection. A passenger without such status may not be able to select those seats. Thus the availability of seats can differ by passenger. 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" type="ns:SeatMapDetailsType" name="SeatMapDetails" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeatMapDetailsType">
   <xs:sequence>
     <xs:element name="CabinClass" maxOccurs="5">
       <!-- Reference to inner class CabinClass -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="TravelerRefNumberRPHs"/>
 </xs:complexType>
 


Nested Class Summary
static class SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass
          Describes the Cabin details in a seat map.
 
Constructor Summary
SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails()
           
 
Method Summary
 void addCabinClass(SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass item)
          Add a 'CabinClass' element item.
 void clearCabinClasses()
          Remove all 'CabinClass' element items.
 SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass getCabinClass(int index)
          Get 'CabinClass' element item by position.
 java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass> getCabinClasses()
          Get the list of 'CabinClass' element items.
 java.lang.String getTravelerRefNumberRPHs()
          Get the 'TravelerRefNumberRPHs' attribute value.
 void setCabinClasses(java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass> list)
          Set the list of 'CabinClass' element items.
 void setTravelerRefNumberRPHs(java.lang.String travelerRefNumberRPHs)
          Set the 'TravelerRefNumberRPHs' attribute value.
 int sizeCabinClasses()
          Get the number of 'CabinClass' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails

public SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails()
Method Detail

getCabinClasses

public java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass> getCabinClasses()
Get the list of 'CabinClass' element items. Details of a seat map for a particular aircraft

Returns:
list

setCabinClasses

public void setCabinClasses(java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass> list)
Set the list of 'CabinClass' element items. Details of a seat map for a particular aircraft

Parameters:
list -

sizeCabinClasses

public int sizeCabinClasses()
Get the number of 'CabinClass' element items.

Returns:
count

addCabinClass

public void addCabinClass(SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass item)
Add a 'CabinClass' element item.

Parameters:
item -

getCabinClass

public SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass getCabinClass(int index)
Get 'CabinClass' element item by position.

Parameters:
index -
Returns:
item

clearCabinClasses

public void clearCabinClasses()
Remove all 'CabinClass' element items.


getTravelerRefNumberRPHs

public java.lang.String getTravelerRefNumberRPHs()
Get the 'TravelerRefNumberRPHs' attribute value. The reference number is used as a cross reference between the AirTravelerType and the SeatMapDetails. This will be used only if different seat maps are valid for different passengers for the same flight segment.

Returns:
value

setTravelerRefNumberRPHs

public void setTravelerRefNumberRPHs(java.lang.String travelerRefNumberRPHs)
Set the 'TravelerRefNumberRPHs' attribute value. The reference number is used as a cross reference between the AirTravelerType and the SeatMapDetails. This will be used only if different seat maps are valid for different passengers for the same flight segment.

Parameters:
travelerRefNumberRPHs -