reservations
Interface Seat


public interface Seat

This optional interface (optional in the sense that if you choose to implement seat assignments in your system, your implementation of seat assignments should fully implement this interface to return meaningful results.


Method Summary
 SeatCategory getCategory()
          This method should return an indication of the seat category: first-class, economy, etc.
 SeatPrice getPrice()
          This method should return an object that encapsulates the price information for the passenger willbe billed for this seat.
 java.lang.String getSeatNumber()
          This method should uniquely identify the seat that has been assigned to a passenger on a flight.
 

Method Detail

getSeatNumber

public java.lang.String getSeatNumber()
This method should uniquely identify the seat that has been assigned to a passenger on a flight.


getCategory

public SeatCategory getCategory()
This method should return an indication of the seat category: first-class, economy, etc.


getPrice

public SeatPrice getPrice()
This method should return an object that encapsulates the price information for the passenger willbe billed for this seat.