Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

20 Points You are modeling a small part of an online flight reservation system using object-oriented design, according to the following description. A flight is

image text in transcribed

image text in transcribed

20 Points You are modeling a small part of an online flight reservation system using object-oriented design, according to the following description. A flight is a single non-stop hop between a pair of cities. A booking can include several flights and travelers (think of a family vacation hitting multiple cities), with the requirement that all the travelers are on all the flights in a booking. Furthermore, every booking has a single owner who is one of the travelers on that booking (think one family member booking the tickets for the entire family), and the owner can manage functionality on the system that other travelers cannot. A separate ticket is issued and priced individually for each traveler on a booking, and the ticket applies to all flights within that booking. "Draw" (see below for special drawing instructions) the most appropriate UML class diagram for your object-oriented design. Identify entities (classes/abstract classes/interfaces) clearly, and separate them according to their functionality-the separation should be faithful to the description above. Set up relationships between entities as precisely as possible. Inside each class in the diagram, only list the class name and minimal number of attributes required to characterize objects of that class (no operations needed). For the attributes, you are not required to show access level. Instructlons for how to draw (Do NOT upload plctures): You must show all drawing in text, as described below. Class/Interface: Just list class name, and specify attribute names in that class in parentheses, e.g. Student (name, major) Put down "abstract" or "interface" before entity name, if applicable Relationships: - Subclass: A (for composition just write "composition" above or below the association line) - Dependency: same as unidirectional association, but write "dependency" above or below the association line - Association class: If A is association class for an X-Y association, simply spell it out instead of drawing a line hanging off the XY association. (e.g. "A is an association class for X-Y") - Multiplicity: write above either end as in the UML problem set solutions Write each relationship separately even if an entity happens to participate in more than one relationship - this way you don't need to do cumbersome "vertical" plain text drawings. e.g. Student-course Student-_-Professor

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

Genomes Browsers And Databases Data Mining Tools For Integrated Genomic Databases

Authors: Peter Schattner

1st Edition

0521711320, 978-0521711326

More Books

Students also viewed these Databases questions

Question

Discuss the states of accounting

Answered: 1 week ago