Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Define a class diagram for the system you proposed, including a . Examples of classes ( at least 5 ) , including their respective methods

Define a class diagram for the system you proposed, including
a. Examples of classes (at least 5), including their respective methods and attributes
1. Passenger
o Attributes:
passengerID: String
name: String
passportNumber: String
contactInfo: String
o Methods:
checkIn()
submitQuery()
receiveNotification()
2. Flight
o Attributes:
flightID: String
flightNumber: String
departureTime: DateTime
arrivalTime: DateTime
destination: String
origin: String
o Methods:
updateStatus()
getSchedule()
3. Baggage
o Attributes:
baggageID: String
weight: Float
dimensions: String
checkedIn: Boolean
o Methods:
trackBaggage()
updateStatus()
4. Staff
o Attributes:
staffID: String
name: String
position: String
contactInfo: String
o Methods:
assignTask()
updateTrainingStatus()
5. Maintenance
o Attributes:
maintenanceID: String
description: String
scheduleTime: DateTime
o Methods:
logMaintenance()
generateReport()
b. Examples of different relationships and constraints, including inheritance, aggregation, and associations
Inheritance:
o Staff inherit from a generic Person class.
Aggregation:
Flight has multiple passengers and Baggage.
Association:
Passenger interacts with Kiosk.
Staff is assigned to TrainingProgram.
Relationships:
Automated Check-in Kiosks Aggregates Baggage Handling System (one-to-one)
Baggage Handling System has-a Baggage Tag (one-to-many)
Flight Information Display System (FIDS) has-a Flight Schedule and RealTimeUpdates (one-to-many)
Customer Service Portal has-a PassengerQuery (one-to-many)
Security Screening Equipment has-a PassengerInfo and BaggageTag (one-to-many)
Staff Training Programs has-a StaffMember and TrainingMaterial (one-to-many)
Boarding Management System has-a FlightSchedule and BoardingPass (one-to-many)
Real-time Flight Status Updates (Mobile App) has-a PassengerInfo, FlightSchedule, and RealTimeUpdates (one-to-many)
Maintenance Management System has-a MaintenanceLog and AircraftSchedule (one-to-many)
Operational Reports and Analytics has-a SystemData (one-to-one)
Constraints:
A passenger can only check-in once at an Automated Check-in Kiosk.
A baggage tag is associated with one bag only.
A flight schedule is associated with multiple flights.
A real-time update is associated with one flight only.
A staff member can receive training on multiple training materials.
A boarding sequence is generated for each flight.
2) Definae a sequence diagram for the system you proposed, including
a. Examples of classes, objects, and lifelines (at least 3)
Classes and Objects:
1. Passenger
o Object: passenger
2. Kiosk
o Object: kiosk
3. BaggageHandlingSystem
o Object: baggageHandlingSystem
4. FlightInformationDisplaySystem (FIDS)
o Object: fids
5. CustomerServicePortal
o Object: customerServicePortal
Lifelines:
1. Passenger
2. Kiosk
3. BaggageHandlingSystem
4. FlightInformationDisplaySystem (FIDS)
5. CustomerServicePortal
b. Examples of calls, methods, messages (synchronous and asynchronous) and parameters
Passenger checks in at Kiosk (synchronous): checkIn(passengerID, flightDetails)
Kiosk prints boarding pass (synchronous): printBoardingPass(passengerID, flightDetails)
Kiosk prints baggage tag (synchronous): printBaggageTag(passengerID, baggageDetails)
Kiosk sends luggage data to BaggageHandlingSystem (asynchronous): sendLuggageData(passengerID, baggageDetails)
BaggageHandlingSystem sorts and tracks luggage (synchronous): sortAndTrack(baggageID)
BaggageHandlingSystem updates FIDS with luggage status (asynchronous): updateStatus(flightID, baggageStatus)
Passenger submits a query to CustomerServicePortal (asynchronous): submitQuery(passengerID, query)
CustomerServicePortal processes the query and response to Passenger (asynchronous): processQuery(queryID, queryDetails) and respond(queryID, response)
Draw a class diagram

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

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

7-16 Compare Web 2.0 and Web 3.0.

Answered: 1 week ago