org.ota.air
Class SeatMapRS.SeatMapResponses.SeatMapResponse

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

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

One SeatMapResponse element is returned for each of the flight segment requested in the input request. 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="SeatMapResponse" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="FlightSegmentInfo">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:FlightSegmentType">
               <xs:sequence>
                 <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
               </xs:sequence>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:SeatMapDetailsType" name="SeatMapDetails" maxOccurs="99">
         <!-- Reference to inner class SeatMapDetails -->
       </xs:element>
       <xs:element type="ns:UniqueID_Type" name="BookingReferenceID" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
     <xs:attribute type="xs:boolean" name="SeatUpgradeApplied"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails
          This identifies the seat map details for the flight segment in the corresponding 'FlightSegmentInfo' element.
 
Constructor Summary
SeatMapRS.SeatMapResponses.SeatMapResponse()
           
 
Method Summary
 void addBookingReferenceID(UniqueID item)
          Add a 'BookingReferenceID' element item.
 void addSeatMapDetail(SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails item)
          Add a 'SeatMapDetails' element item.
 void clearBookingReferenceIDs()
          Remove all 'BookingReferenceID' element items.
 void clearSeatMapDetails()
          Remove all 'SeatMapDetails' element items.
 UniqueID getBookingReferenceID(int index)
          Get 'BookingReferenceID' element item by position.
 java.util.List<UniqueID> getBookingReferenceIDs()
          Get the list of 'BookingReferenceID' element items.
 FlightSegment getFlightSegmentInfoFlightSegment()
          Get the extension value.
 Warnings getFlightSegmentInfoWarnings()
          Get the 'Warnings' element value.
 SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails getSeatMapDetail(int index)
          Get 'SeatMapDetails' element item by position.
 java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails> getSeatMapDetails()
          Get the list of 'SeatMapDetails' element items.
 java.lang.Boolean getSeatUpgradeApplied()
          Get the 'SeatUpgradeApplied' attribute value.
 void setBookingReferenceIDs(java.util.List<UniqueID> list)
          Set the list of 'BookingReferenceID' element items.
 void setFlightSegmentInfoFlightSegment(FlightSegment flightSegmentInfoFlightSegment)
          Set the extension value.
 void setFlightSegmentInfoWarnings(Warnings flightSegmentInfoWarnings)
          Set the 'Warnings' element value.
 void setSeatMapDetails(java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails> list)
          Set the list of 'SeatMapDetails' element items.
 void setSeatUpgradeApplied(java.lang.Boolean seatUpgradeApplied)
          Set the 'SeatUpgradeApplied' attribute value.
 int sizeBookingReferenceIDs()
          Get the number of 'BookingReferenceID' element items.
 int sizeSeatMapDetails()
          Get the number of 'SeatMapDetails' 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

public SeatMapRS.SeatMapResponses.SeatMapResponse()
Method Detail

getFlightSegmentInfoFlightSegment

public FlightSegment getFlightSegmentInfoFlightSegment()
Get the extension value.

Returns:
value

setFlightSegmentInfoFlightSegment

public void setFlightSegmentInfoFlightSegment(FlightSegment flightSegmentInfoFlightSegment)
Set the extension value.

Parameters:
flightSegmentInfoFlightSegment -

getFlightSegmentInfoWarnings

public Warnings getFlightSegmentInfoWarnings()
Get the 'Warnings' element value.

Returns:
value

setFlightSegmentInfoWarnings

public void setFlightSegmentInfoWarnings(Warnings flightSegmentInfoWarnings)
Set the 'Warnings' element value.

Parameters:
flightSegmentInfoWarnings -

getSeatMapDetails

public java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails> getSeatMapDetails()
Get the list of 'SeatMapDetails' element items.

Returns:
list

setSeatMapDetails

public void setSeatMapDetails(java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails> list)
Set the list of 'SeatMapDetails' element items.

Parameters:
list -

sizeSeatMapDetails

public int sizeSeatMapDetails()
Get the number of 'SeatMapDetails' element items.

Returns:
count

addSeatMapDetail

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

Parameters:
item -

getSeatMapDetail

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

Parameters:
index -
Returns:
item

clearSeatMapDetails

public void clearSeatMapDetails()
Remove all 'SeatMapDetails' element items.


getBookingReferenceIDs

public java.util.List<UniqueID> getBookingReferenceIDs()
Get the list of 'BookingReferenceID' element items. This is used for PNR record locator. If there are more than one PNR numbers because of muliple airlines in the itinerary then this element could be repeated.

Returns:
list

setBookingReferenceIDs

public void setBookingReferenceIDs(java.util.List<UniqueID> list)
Set the list of 'BookingReferenceID' element items. This is used for PNR record locator. If there are more than one PNR numbers because of muliple airlines in the itinerary then this element could be repeated.

Parameters:
list -

sizeBookingReferenceIDs

public int sizeBookingReferenceIDs()
Get the number of 'BookingReferenceID' element items.

Returns:
count

addBookingReferenceID

public void addBookingReferenceID(UniqueID item)
Add a 'BookingReferenceID' element item.

Parameters:
item -

getBookingReferenceID

public UniqueID getBookingReferenceID(int index)
Get 'BookingReferenceID' element item by position.

Parameters:
index -
Returns:
item

clearBookingReferenceIDs

public void clearBookingReferenceIDs()
Remove all 'BookingReferenceID' element items.


getSeatUpgradeApplied

public java.lang.Boolean getSeatUpgradeApplied()
Get the 'SeatUpgradeApplied' attribute value. This indicates if the respone has the Seat Map upgrade applied false

Returns:
value

setSeatUpgradeApplied

public void setSeatUpgradeApplied(java.lang.Boolean seatUpgradeApplied)
Set the 'SeatUpgradeApplied' attribute value. This indicates if the respone has the Seat Map upgrade applied false

Parameters:
seatUpgradeApplied -