Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!