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

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

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

Describes the Cabin details in a seat map. 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="CabinClass" maxOccurs="5">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:CabinClassType">
         <xs:attribute type="xs:int" use="optional" name="StartingRow"/>
         <xs:attribute type="xs:int" use="optional" name="EndingRow"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CabinClassType">
   <xs:sequence>
     <xs:element name="AirRows" minOccurs="0">
       <!-- Reference to inner class AirRows -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="ns:CabinType" use="required" name="CabinType"/>
   <xs:attribute type="xs:string" use="optional" name="Name"/>
 </xs:complexType>
 


Nested Class Summary
static class SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows
          Collection of Air Rows Schema fragment(s) for this class:
 
Constructor Summary
SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass()
           
 
Method Summary
 SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows getAirRows()
          Get the 'AirRows' element value.
 Cabin getCabin()
          Get the 'CabinType' attribute value.
 java.lang.Integer getEndingRow()
          Get the 'EndingRow' attribute value.
 java.lang.String getName()
          Get the 'Name' attribute value.
 java.lang.Integer getStartingRow()
          Get the 'StartingRow' attribute value.
 void setAirRows(SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows airRows)
          Set the 'AirRows' element value.
 void setCabin(Cabin cabin)
          Set the 'CabinType' attribute value.
 void setEndingRow(java.lang.Integer endingRow)
          Set the 'EndingRow' attribute value.
 void setName(java.lang.String name)
          Set the 'Name' attribute value.
 void setStartingRow(java.lang.Integer startingRow)
          Set the 'StartingRow' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass

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

getAirRows

public SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows getAirRows()
Get the 'AirRows' element value. Describes the Cabin details in a seat map

Returns:
value

setAirRows

public void setAirRows(SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows airRows)
Set the 'AirRows' element value. Describes the Cabin details in a seat map

Parameters:
airRows -

getCabin

public Cabin getCabin()
Get the 'CabinType' attribute value. Cabin class for which the seat map details is being given. Could be first, business or economy.

Returns:
value

setCabin

public void setCabin(Cabin cabin)
Set the 'CabinType' attribute value. Cabin class for which the seat map details is being given. Could be first, business or economy.

Parameters:
cabin -

getName

public java.lang.String getName()
Get the 'Name' attribute value. Name that a particular airline/ CRS may give to the cabin class

Returns:
value

setName

public void setName(java.lang.String name)
Set the 'Name' attribute value. Name that a particular airline/ CRS may give to the cabin class

Parameters:
name -

getStartingRow

public java.lang.Integer getStartingRow()
Get the 'StartingRow' attribute value. Specify the starting row number for this cabin class.

Returns:
value

setStartingRow

public void setStartingRow(java.lang.Integer startingRow)
Set the 'StartingRow' attribute value. Specify the starting row number for this cabin class.

Parameters:
startingRow -

getEndingRow

public java.lang.Integer getEndingRow()
Get the 'EndingRow' attribute value. Specify the ending row number for this cabin class.

Returns:
value

setEndingRow

public void setEndingRow(java.lang.Integer endingRow)
Set the 'EndingRow' attribute value. Specify the ending row number for this cabin class.

Parameters:
endingRow -