reservations
Interface Reservation


public interface Reservation

This interface describes the pieces of information (in the form of object references) that a airline flight reservation should be able to return.


Method Summary
 Flight getFlight()
          Should return the Flight that this reservation has been assigned to.
 Passenger getPassenger()
          Should return a reference to the Passenger object this reservation was issued to.
 Seat getSeat()
          Should return the seat assignment for this reservation.
 SeatCategory getSeatCategory()
          Should return the SeatCategory that this reservation is for.
 SeatPrice getSeatPrice()
          Should return the Price that the passenger will pay for a seat on this flight.
 

Method Detail

getFlight

public Flight getFlight()
Should return the Flight that this reservation has been assigned to.


getPassenger

public Passenger getPassenger()
Should return a reference to the Passenger object this reservation was issued to.


getSeatPrice

public SeatPrice getSeatPrice()
Should return the Price that the passenger will pay for a seat on this flight.


getSeatCategory

public SeatCategory getSeatCategory()
Should return the SeatCategory that this reservation is for.


getSeat

public Seat getSeat()
Should return the seat assignment for this reservation.