Given the course project problem statement excerpts below, diagram the relationships using aggregation or composition:
-
Identify the classes involved (leave the event planner out for now).
-
Identify the associations between the classes.
-
Draw the associations and apply the proper icon to represent either aggregation or composition.
-
Assign multiplicity to each end of each association.
-
Add constraints where needed to account for all the rules documented in the problem statement.
Problem statement
Excerpt 1
The auditorium is made up of a number of seats arranged in a floor plan. There is only one floor plan for the auditorium. All possible seat
locations are accounted for on this plan.
Excerpt 2
Pricing is done using a pricing plan. A pricing plan consists of a set of price tiers. Each price tier defines prices for one or more price
types:, adult, senior, student, and child. The event planner may also add one or more discounts to the pricing plan to try to improve
sales.
To submit the exercise, follow the steps below:
Step 1
-
Launch your email program and address an email to ooad2tutor@DistributedNetworks.com .
-
Include your return email address if it is not already present.
-
In the Subject field, type OOA 2--Course project, part 3--Module 2--your student ID. This is very important! Without this specific text
in the Subject field, your tutors may not be able to match the exercise to the person who created it.
-
Attach your file. Make sure your file is named cp02p03.gif. Each email program has a slightly different way of attaching files. Please
check your program's documentation for full instructions.