Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Flight Management System Exercise DescriptionObjective: Design a class diagram for a flight management system that includes the following classes and relationships. Ensure that the diagram

Flight Management System Exercise DescriptionObjective: Design a class diagram for a flight management system that includes the following classes and relationships. Ensure that the diagram showcases aggregation, inheritance, and association.Classes: 1. AircraftProperties: model, capacity, airlineMethods: scheduleFlight(), cancelFlight()2. CommercialAircraft (inherits from Aircraft)Properties: serviceClassTypes (e.g., Economy, Business) Methods: offerInFlightEntertainment()3. CargoAircraft (inherits from Aircraft)Properties: cargoCapacityMethods: loadCargo(), unloadCargo()4. FlightProperties: flightNumber, destination, origin, departureTimeMethods: delayFlight(), advanceFlight()5. CrewMemberProperties: name, role (e.g., Pilot, Flight Attendant) Methods: assignFlight(Flight), report()6. PassengerProperties: name, age, ticketNumber Methods: checkIn(), boardFlight()AirportProperties: name, locationMethods: listFlights (), announce ()FlightScheduleProperties: date, flights (list of Flights)Methods: addFlight (Flight), removeFlight (Flight)Relationships:Inheritance:CommercialAircraft and CargoAircraft inherit from Aircraft.Aggregation:FlightSchedule aggregates Flight.Airport aggregates Flight.Association:Flight is associated with Aircraft (a flight uses a specific aircraft).CrewMember is associated with Flight (crew members are assigned to flights).Passenger is associated with Flight (passengers are booked on flights).Task:Create a class diagram using a UML tool or drawing software that includes the following:Show the inheritance between Aircraft and its subclasses.Illustrate the aggregation relationships involving Flightschedule and Airport.Detail the associations between Flight, CrewMember, Passenger, and other relevant classes.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

6 Why do joint ventures often fail?

Answered: 1 week ago