| 
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Uses of Reservation in airline | 
|---|
| Subclasses of Reservation in airline | |
|---|---|
 class | 
ProvisionalReservation
This subclass of Reservation is used to represent
 a tentative reservation in its intermediate
 stages while being constructed by a Customer. | 
| Fields in airline declared as Reservation | |
|---|---|
private  Reservation | 
Flight.Ticket.resv
The underlying reservation for the purchase of this seat.  | 
| Methods in airline with parameters of type Reservation | |
|---|---|
 Flight.Ticket | 
Flight.purchaseTicket(Reservation resv,
               int travelerNumber)
Adds the specified traveler from the given Reservation to this flight. | 
| Constructors in airline with parameters of type Reservation | |
|---|---|
Flight.Ticket(Reservation res,
              int traveler,
              String seat)
Initialize an underlying seat assignment that will be given as a reference to the Reservation when booking the seat.  | 
|
  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||