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: AircraftProperties: model, capacity, airlineMethods: scheduleFlight cancelFlight CommercialAircraft inherits from AircraftProperties: serviceClassTypes eg Economy, Business Methods: offerInFlightEntertainment CargoAircraft inherits from AircraftProperties: cargoCapacityMethods: loadCargo unloadCargo FlightProperties: flightNumber, destination, origin, departureTimeMethods: delayFlight advanceFlight CrewMemberProperties: name, role eg Pilot, Flight Attendant Methods: assignFlightFlight report PassengerProperties: name, age, ticketNumber Methods: checkIn boardFlightAirportProperties: name, locationMethods: listFlights announce FlightScheduleProperties: date, flights list of FlightsMethods: addFlight Flight removeFlight FlightRelationships: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 aircraftCrewMember is associated with Flight crew members are assigned to flightsPassenger is associated with Flight passengers are booked on flightsTask: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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
