Lesson 5 | Recognizing patterns of reconciliation |
Objective | Summarize the three-way comparison among use cases, class diagrams, and interaction diagrams, and apply iterative review, refinement, and enhancement. |
Reconciliation is the disciplined practice of comparing and aligning your use cases, class diagram, and interaction diagrams so that behavior, structure, and collaborations tell one consistent story. Each pass reveals omissions, conflicts, and naming drift; addressing these quickly keeps models accurate and build-ready.
Pair | What to reconcile |
---|---|
Use cases ↔ Scenarios | Scenario steps are concrete examples of the use case; verify main and alternate flows are covered and terminology matches. |
Use cases ↔ Class diagram | Nouns become classes/attributes; verbs become operations; confirm business rules appear as constraints and invariants. |
Class diagram ↔ Interaction diagrams | Every message has a corresponding operation; responsibilities align with the chosen classes; multiplicities make collaborations feasible. |
Scenarios ↔ Interaction diagrams | Message order matches the narrative; include error/timeout branches; validate temporal assumptions. |
Data dictionary ↔ Use cases | Term definitions are used consistently; avoid synonyms that hide the same concept under multiple names. |
Data dictionary ↔ Class diagram | Attribute types and allowable values match definitions; units and ranges are explicit. |
Object diagrams ↔ Class diagram | Sample snapshots are legal instances of the model; multiplicities and constraints hold on concrete examples. |
Nothing is set in stone. Keep testing assumptions, asking questions, and using the diagrams to invite participation and uncover better solutions.