air gourmet case study
DESCRIPTION
my lecturer powerpoint about air gourmet studyTRANSCRIPT
![Page 2: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/2.jpg)
8 April 2023 rpl ganjil 2005/rd5 2
Use-Case Diagram
Use-case model for making a reservation
![Page 3: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/3.jpg)
8 April 2023 rpl ganjil 2005/rd5 3
Scenario: Making a Reservation
![Page 4: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/4.jpg)
8 April 2023 rpl ganjil 2005/rd5 4
Use-Case Diagram
Use-case for returning and scanning a postcard
![Page 5: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/5.jpg)
8 April 2023 rpl ganjil 2005/rd5 5
Scenario: Postcards
![Page 6: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/6.jpg)
8 April 2023 rpl ganjil 2005/rd5 6
Class Modeling : Noun Extraction
Stage 1. Concise Problem DefinitionDefine product in single sentence
A computerized system is needed to provide information regarding the efficacy of a special meals program.
![Page 7: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/7.jpg)
8 April 2023 rpl ganjil 2005/rd5 7
Class Modeling: Noun Extraction
Stage 2. Informal Strategy Incorporate constraints, express result
in a single paragraph Reports are to be generated to document
the efficacy of the special meals program. The reports concern meals loaded on flights, flights boarded by passengers, names and addresses of passengers, meal quality, and low-sodium meals.
![Page 8: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/8.jpg)
8 April 2023 rpl ganjil 2005/rd5 8
Class Modeling: Noun Extraction
Stage 3. Formalize the Strategy Identify nouns in informal strategy. Use
nouns as candidate classes Nouns report, efficacy, program, percentage,
meal, flight, boarding, passenger, name, address, quality
efficacy, program, percentage, boarding, quality are abstract nouns — exclude (they may become attributes)
name, address are attributes of passenger Question: Should meal and flight be
classes?It is easier to add classes than to remove themCandidate classes: Report and Passenger
![Page 9: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/9.jpg)
8 April 2023 rpl ganjil 2005/rd5 9
First Iteration of Class Diagram)Problems with this
class diagram Data for reports
are needed on a per-flight basis
Each report has to access multiple flights
Each flight has multiple passengers
Six reports (not four) are needed
![Page 10: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/10.jpg)
8 April 2023 rpl ganjil 2005/rd5 10
Second Iteration of Class DiagramCause of our problemsFlight
should have been a candidate class
![Page 11: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/11.jpg)
8 April 2023 rpl ganjil 2005/rd5 11
Dynamic Model (state
diagram)
![Page 12: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/12.jpg)
8 April 2023 rpl ganjil 2005/rd5 12
Object-Oriented Design
OOD consists of four steps:1. Construct interaction diagrams for
each scenario2. Construct the detailed class diagram3. Design the product in terms of
clients of objects4. Proceed to the detailed design
![Page 13: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/13.jpg)
8 April 2023 rpl ganjil 2005/rd5 13
Step 1. Interaction DiagramsExtended scenario for making a reservation
![Page 14: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/14.jpg)
8 April 2023 rpl ganjil 2005/rd5 14
Step 1. Sequence
Diagram for making a
reservation
![Page 15: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/15.jpg)
8 April 2023 rpl ganjil 2005/rd5 15
Step 1. Collaboration diagram for sending and returning a postcard
![Page 16: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/16.jpg)
8 April 2023 rpl ganjil 2005/rd5 16
Step 2. Detailed
Class Diagram
(C++ version)
![Page 17: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/17.jpg)
8 April 2023 rpl ganjil 2005/rd5 17
Step 2. Detailed
Class Diagram
(C++ version)
![Page 18: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/18.jpg)
8 April 2023 rpl ganjil 2005/rd5 18
Step 2. Detailed
Class Diagram
(Java version)
![Page 19: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/19.jpg)
8 April 2023 rpl ganjil 2005/rd5 19
Step 2. Detailed
Class Diagram
(Java version)
![Page 20: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/20.jpg)
8 April 2023 rpl ganjil 2005/rd5 20
Step 3. Client–Object
Relations (C++)
![Page 21: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/21.jpg)
8 April 2023 rpl ganjil 2005/rd5 21
Step 3. Client–Object
Relations (Java)
![Page 22: air gourmet case study](https://reader031.vdocuments.site/reader031/viewer/2022020714/5453d6b0b1af9f37608b4813/html5/thumbnails/22.jpg)
8 April 2023 rpl ganjil 2005/rd5 22
Step 4. Detailed Design
The detailed design can be found inAppendix H (for implementation in C++)Appendix I (for implementation in Java)