Answered step by step
Verified Expert Solution
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: 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started