org.ota.profile
Class Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref

java.lang.Object
  extended by org.ota.profile.Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref
Enclosing class:
Profile.PrefCollections.PrefCollection.CommonPref

public static class Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref
extends java.lang.Object

Enables a preference to be indicated for seating. 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:SeatingPrefType" name="SeatingPref" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeatingPrefType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attributeGroup ref="ns:PreferLevelGroup"/>
       <xs:attribute type="xs:string" use="optional" name="SeatDirection"/>
       <xs:attribute type="xs:string" use="optional" name="SeatLocation"/>
       <xs:attribute type="xs:string" use="optional" name="SeatPosition"/>
       <xs:attribute type="xs:string" use="optional" name="SeatRow"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref()
           
 
Method Summary
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 java.lang.String getSeatDirection()
          Get the 'SeatDirection' attribute value.
 java.lang.String getSeatLocation()
          Get the 'SeatLocation' attribute value.
 java.lang.String getSeatPosition()
          Get the 'SeatPosition' attribute value.
 java.lang.String getSeatRow()
          Get the 'SeatRow' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setSeatDirection(java.lang.String seatDirection)
          Set the 'SeatDirection' attribute value.
 void setSeatLocation(java.lang.String seatLocation)
          Set the 'SeatLocation' attribute value.
 void setSeatPosition(java.lang.String seatPosition)
          Set the 'SeatPosition' attribute value.
 void setSeatRow(java.lang.String seatRow)
          Set the 'SeatRow' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref

public Profile.PrefCollections.PrefCollection.CommonPref.SeatingPref()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -

getSeatDirection

public java.lang.String getSeatDirection()
Get the 'SeatDirection' attribute value. Direction seat faces during travel, when conveyance allows.

Returns:
value

setSeatDirection

public void setSeatDirection(java.lang.String seatDirection)
Set the 'SeatDirection' attribute value. Direction seat faces during travel, when conveyance allows.

Parameters:
seatDirection -

getSeatLocation

public java.lang.String getSeatLocation()
Get the 'SeatLocation' attribute value. Location of seat in cabin of conveyance. Suggested values include: Forward, Middle, Aft, ExitRow, Bulkhead, Right or Left Side, etc.

Returns:
value

setSeatLocation

public void setSeatLocation(java.lang.String seatLocation)
Set the 'SeatLocation' attribute value. Location of seat in cabin of conveyance. Suggested values include: Forward, Middle, Aft, ExitRow, Bulkhead, Right or Left Side, etc.

Parameters:
seatLocation -

getSeatPosition

public java.lang.String getSeatPosition()
Get the 'SeatPosition' attribute value. Preferred position of seat in a row, such as Aisle, Middle, Center, Window, etc.

Returns:
value

setSeatPosition

public void setSeatPosition(java.lang.String seatPosition)
Set the 'SeatPosition' attribute value. Preferred position of seat in a row, such as Aisle, Middle, Center, Window, etc.

Parameters:
seatPosition -

getSeatRow

public java.lang.String getSeatRow()
Get the 'SeatRow' attribute value. Preferred row for seating, indicates specific row number and/or seat identifier.

Returns:
value

setSeatRow

public void setSeatRow(java.lang.String seatRow)
Set the 'SeatRow' attribute value. Preferred row for seating, indicates specific row number and/or seat identifier.

Parameters:
seatRow -