The domain model
The conceptual classes taken from the business vocabulary, their attributes, named associations and multiplicities: an analysis model, with no methods and no technical choices.
- 23 cards
- 3 topics
- Free
The outline, topic by topic
Each topic is weighted the way the exam weighs it.
- Concepts
- Questions
- Sort and link
A few cards from the deck
Domain model: what is it?
Show the answer
A representation of the business notions and the links between them, drawn from the client's vocabulary and independent of any technical choice.
It is the shared language between the client and the team: it holds classes, attributes and associations, never methods, screens or tables.
A student takes several lessons; a lesson concerns a single student. Which multiplicities go on the Student-Lesson association?
1at the Student end,0..*at the Lesson end0..*at the Student end,1at the Lesson end1..*at the Student end,1..*at the Lesson end0..*at the Student end,0..*at the Lesson end
Show the answer
1at the Student end,0..*at the Lesson endThe multiplicity at one end is read starting from the other class: for a given student, how many lessons?
0..*, written at the Lesson end. For a given lesson, how many students? One, written at the Student end. Swapping them is the most common mistake.In a domain model, classes carry attributes but no …: behaviour is a matter for design.
Show the answer
In a domain model, classes carry attributes but no method: behaviour is a matter for design.
Analysis describes what the business knows, not how the software will do it. Methods arrive with the design class diagram.
Conceptual class: what is it?
Show the answer
A business notion found in the client's vocabulary, whose instances we want to keep track of: a student, a lesson, a vehicle.
It is first looked for among the nouns of the business description. A component of the software (screen, database) is not one.
A Lesson-Vehicle association has
0..1at the Vehicle end. What does it mean?- A lesson always uses exactly one vehicle
- A lesson uses at most one vehicle, and sometimes none (a theory lesson)
- A vehicle can serve only one lesson
- A lesson uses one or more vehicles
Show the answer
A lesson uses at most one vehicle, and sometimes none (a theory lesson)
The
0makes the link optional, the1caps it at one. What is counted is vehicles for a given lesson, because the multiplicity is written at the Vehicle end.