RationalDB
Search
SiteMap
GofPatterns
OOPortal
Database Design
Object Oriented Analysis
OO - Problem Analysis
Project Life Cycle
System Object Requirements
Unified Modeling Language
OO-Design
Problem Analysis
Sequence Diagrams
Basic object modeling constraints - Exercise
Course project: modeling basic associations
Objective:
Draw class diagrams based on excerpts from the course project problem statement.
Exercise scoring
This exercise is worth a total of 10 points.
Background/overview
This is the second exercise in the course project.
Instructions
Given the two excerpts below from the course project problem statement, create a class diagram for each of the two excerpts. Be sure to:
Identify the classes involved.
Identify the associations between the classes.
Draw and name the associations.
Assign multiplicity to each end of each association.
Add constraints where needed to account for all the rules documented in the problem statement.
Hints
It is valid for there to be more than one association between the same pair of classes.
Use a verb or verb phrase. Try to use the active form whenever possible.
Remember to watch for how the time frame can effect your multiplicity choices. Sometimes a combination of multiplicity and constraints is required to clarify the rules.
Problem statement
Excerpt 1
The event floor plan defines the layout for all the shows for the same event.
All the show seating charts for the same event must refer to the same event floor plan.
(Focus on the event floor plan and the show seating chart for now. In later lessons, we will add the events and shows.)
Excerpt 2
Customers may hold seats while they try to figure out which ones they want to purchase. This prevents more than one customer from attempting to purchase a seat at the same time. Customers may also return the seats and get their money back.
Submitting your exercise
Step 1
In the text area below, type Course project, part 2
In addition, you can include any questions or comments you have about the exercise. When you are ready to submit the exercise, click the
Submit
button.