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

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

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

Row in a Cabin class of a flight 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:RowDetailsType" name="AirRow" maxOccurs="999"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RowDetailsType">
   <xs:sequence>
     <xs:element name="AirSeats">
       <xs:complexType>
         <xs:sequence>
           <xs:element name="AirSeat" maxOccurs="99">
             <!-- Reference to inner class AirSeat -->
           </xs:element>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
     <xs:element name="AirRowCharacteristics">
       <xs:complexType>
         <xs:attribute type="xs:string" use="required" name="CharacteristicList"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:int" name="MaxNumberOfSeats"/>
   <xs:attribute type="xs:int" use="required" name="RowNumber"/>
   <xs:attribute type="xs:string" use="optional" name="AirBookDesigCode"/>
 </xs:complexType>
 


Nested Class Summary
static class SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat
          A Seat within a row Schema fragment(s) for this class:
 
Constructor Summary
SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow()
           
 
Method Summary
 void addAirSeat(SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat item)
          Add a 'AirSeat' element item.
 void clearAirSeats()
          Remove all 'AirSeat' element items.
 java.lang.String getAirBookDesigCode()
          Get the 'AirBookDesigCode' attribute value.
 SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat getAirSeat(int index)
          Get 'AirSeat' element item by position.
 java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat> getAirSeats()
          Get the list of 'AirSeat' element items.
 java.lang.String getCharacteristicList()
          Get the 'CharacteristicList' attribute value.
 java.lang.Integer getMaxNumberOfSeats()
          Get the 'MaxNumberOfSeats' attribute value.
 int getRowNumber()
          Get the 'RowNumber' attribute value.
 void setAirBookDesigCode(java.lang.String airBookDesigCode)
          Set the 'AirBookDesigCode' attribute value.
 void setAirSeats(java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat> list)
          Set the list of 'AirSeat' element items.
 void setCharacteristicList(java.lang.String characteristicList)
          Set the 'CharacteristicList' attribute value.
 void setMaxNumberOfSeats(java.lang.Integer maxNumberOfSeats)
          Set the 'MaxNumberOfSeats' attribute value.
 void setRowNumber(int rowNumber)
          Set the 'RowNumber' attribute value.
 int sizeAirSeats()
          Get the number of 'AirSeat' 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.CabinClass.AirRows.AirRow

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

getAirSeats

public java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat> getAirSeats()
Get the list of 'AirSeat' element items. A Collection of Air Seat

Returns:
list

setAirSeats

public void setAirSeats(java.util.List<SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat> list)
Set the list of 'AirSeat' element items. A Collection of Air Seat

Parameters:
list -

sizeAirSeats

public int sizeAirSeats()
Get the number of 'AirSeat' element items.

Returns:
count

addAirSeat

public void addAirSeat(SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat item)
Add a 'AirSeat' element item.

Parameters:
item -

getAirSeat

public SeatMapRS.SeatMapResponses.SeatMapResponse.SeatMapDetails.CabinClass.AirRows.AirRow.AirSeat getAirSeat(int index)
Get 'AirSeat' element item by position.

Parameters:
index -
Returns:
item

clearAirSeats

public void clearAirSeats()
Remove all 'AirSeat' element items.


getCharacteristicList

public java.lang.String getCharacteristicList()
Get the 'CharacteristicList' attribute value. Describes the characteristics of a specific seat row. Refer to OpenTravel Code List Air Row Type (ROW).

Returns:
value

setCharacteristicList

public void setCharacteristicList(java.lang.String characteristicList)
Set the 'CharacteristicList' attribute value. Describes the characteristics of a specific seat row. Refer to OpenTravel Code List Air Row Type (ROW).

Parameters:
characteristicList -

getMaxNumberOfSeats

public java.lang.Integer getMaxNumberOfSeats()
Get the 'MaxNumberOfSeats' attribute value. Maximum number of seats per row.

Returns:
value

setMaxNumberOfSeats

public void setMaxNumberOfSeats(java.lang.Integer maxNumberOfSeats)
Set the 'MaxNumberOfSeats' attribute value. Maximum number of seats per row.

Parameters:
maxNumberOfSeats -

getRowNumber

public int getRowNumber()
Get the 'RowNumber' attribute value. Specifies the actual row number in the seat map.

Returns:
value

setRowNumber

public void setRowNumber(int rowNumber)
Set the 'RowNumber' attribute value. Specifies the actual row number in the seat map.

Parameters:
rowNumber -

getAirBookDesigCode

public java.lang.String getAirBookDesigCode()
Get the 'AirBookDesigCode' attribute value. Allows that a seat may be assigned a class code.

Returns:
value

setAirBookDesigCode

public void setAirBookDesigCode(java.lang.String airBookDesigCode)
Set the 'AirBookDesigCode' attribute value. Allows that a seat may be assigned a class code.

Parameters:
airBookDesigCode -