Page 63 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 63
Unit 5: Advanced Class Modelling – II
Example of Packages Notes
Here we will discuss various examples of packages.
Figure 5.6 shows a model for an airline information system with packages organized on a
functional basis. The reservations package records customer booking of airline travel. Flight
operations deal with the actual logistics of planes arriving and departing. The aircraft information
package stores seating layout and manufacturing data. Travel awards tracks bonus free travel
for each customer; a person may submit a frequent flyer account number at the time of a
reservation, but does not receive credits until after taking the flight. Baggage handling involves
managing bags in conjunction with flights and accommodating errant pieces of luggage.
Crewscheduling involves scheduling to staff flight needs. The subsequent diagrams elaborate
all packages except CrewScheduling.
Figure 5.6: A Partial High-level Object Model for an Airline Information System
Source: http://www.pearsonhighered.com/assets/hip/us/hip_us_pearsonhighered/samplechapter/
0131238299.pdf
Figure 5.7 describes the reservations package. A trip reservation consists of a sequence of flight
reservations, where each flight reservation refers to a specific flight. Sometimes another flight
is substituted for a booked flight because of equipment problems, weather delays, or customer
preference. The passenger may reserve a seat for each flight. A trip reservation is made on some
date; the passenger must purchase a ticket within a certain number of days or the reservation
becomes void. The airlines use record locators to find a particular trip reservation quickly and
unambiguously. A trip is reserved by an agent, who either works for an airline or a travel
agency. The frequent flyer account may be noted for a passenger.
Figure 5.7: An Object Model for the Reservations Package
Source: http://www.pearsonhighered.com/assets/hip/us/hip_us_pearsonhighered/samplechapter/
0131238299.pdf
LOVELY PROFESSIONAL UNIVERSITY 57