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.
I want a hand written answer

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

Step: 3

blur-text-image

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

Brand Comparison between two product. stp and product

Answered: 1 week ago