org.ota.shared
Class SeatRequestAttributes

java.lang.Object
  extended by org.ota.shared.SeatRequestAttributes

public class SeatRequestAttributes
extends java.lang.Object

Attributes for seat request. Note: you can choose a specific seat or just a general preference Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeatRequestAttributes">
   <xs:attribute type="xs:string" use="optional" name="SeatNumber"/>
   <xs:attribute type="xs:string" use="optional" name="SeatPreference"/>
   <xs:attributeGroup ref="ns:SmokingIndicatorGroup"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SmokingIndicatorGroup">
   <xs:attribute type="xs:boolean" use="optional" name="SmokingAllowed"/>
 </xs:attributeGroup>
 


Constructor Summary
SeatRequestAttributes()
           
 
Method Summary
 java.lang.String getSeatNumber()
          Get the 'SeatNumber' attribute value.
 java.lang.String getSeatPreference()
          Get the 'SeatPreference' attribute value.
 java.lang.Boolean getSmokingAllowed()
          Get the 'SmokingAllowed' attribute value.
 void setSeatNumber(java.lang.String seatNumber)
          Set the 'SeatNumber' attribute value.
 void setSeatPreference(java.lang.String seatPreference)
          Set the 'SeatPreference' attribute value.
 void setSmokingAllowed(java.lang.Boolean smokingAllowed)
          Set the 'SmokingAllowed' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeatRequestAttributes

public SeatRequestAttributes()
Method Detail

getSeatNumber

public java.lang.String getSeatNumber()
Get the 'SeatNumber' attribute value. Used to provide the seat number.

Returns:
value

setSeatNumber

public void setSeatNumber(java.lang.String seatNumber)
Set the 'SeatNumber' attribute value. Used to provide the seat number.

Parameters:
seatNumber -

getSeatPreference

public java.lang.String getSeatPreference()
Get the 'SeatPreference' attribute value. Refer to OpenTravel Code List Seat Preference (STP).

Returns:
value

setSeatPreference

public void setSeatPreference(java.lang.String seatPreference)
Set the 'SeatPreference' attribute value. Refer to OpenTravel Code List Seat Preference (STP).

Parameters:
seatPreference -

getSmokingAllowed

public java.lang.Boolean getSmokingAllowed()
Get the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Returns:
value

setSmokingAllowed

public void setSmokingAllowed(java.lang.Boolean smokingAllowed)
Set the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Parameters:
smokingAllowed -