Which is a common domain-model error?
- A domain model shows concepts, not implementation.
A worked case study: from the Movie Shop requirements statement to a domain model, analysing each requirement for classes, attributes, associations and generalizations, the solution diagram, and common errors.
Every original slide is shown unchanged. Yellow marks on a slide point to a numbered note: hover or tap a mark to jump to its note, and hover a note to see its marks. Questions tagged Past exam appeared on a real paper; Prediction questions are likely angles, not confirmed. Pick an answer to each question: a wrong pick tells you why it is wrong, so you can try again.
Read the requirements once for the big picture, then line by line for classes, attributes and associations.
Analysis: each requirement → the classes, attributes and associations it implies (e.g. Movie, PhysicalMovie, DigitalMovie, Customer, Member, Rental, Reservation, Review).
Solution: Movie generalizes into physical and digital movies; Rental and Reservation link customers to physical copies.
Common errors: modelling actions as classes, putting methods in a domain model, missing multiplicities, attributes that should be classes (and vice versa).
Which is a common domain-model error?