Model Reconciliation  «Prev  Next»
Lesson 5Recognizing patterns of reconciliation
ObjectiveSummarize the three-way comparison among use cases, class diagrams, and interaction diagrams, and apply iterative review, refinement, and enhancement.

Recognizing Patterns of Reconciliation

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.

Three-way comparison (Use cases ↔ Class diagram ↔ Interaction diagrams)

  1. From use cases to class diagram: extract nouns to candidate classes and attributes; map verbs to operations; turn pre/postconditions into invariants and constraints on associations or attributes.
  2. From use cases to interaction diagrams: realize each scenario with a sequence or communication diagram; identify lifelines, messages, and object responsibilities needed to satisfy the flow.
  3. From interaction diagrams back to class diagram: confirm every message targets a defined operation; ensure required associations, multiplicities, navigability, and exceptions exist; introduce interfaces or abstract classes where multiple collaborators share behavior.
  4. Close the loop to use cases: update the text to reflect discovered domain terms, alternate paths, error handling, and business rules; ensure traceability from steps → messages → operations.

Common reconciliation patterns

PairWhat to reconcile
Use cases ↔ ScenariosScenario steps are concrete examples of the use case; verify main and alternate flows are covered and terminology matches.
Use cases ↔ Class diagramNouns become classes/attributes; verbs become operations; confirm business rules appear as constraints and invariants.
Class diagram ↔ Interaction diagramsEvery message has a corresponding operation; responsibilities align with the chosen classes; multiplicities make collaborations feasible.
Scenarios ↔ Interaction diagramsMessage order matches the narrative; include error/timeout branches; validate temporal assumptions.
Data dictionary ↔ Use casesTerm definitions are used consistently; avoid synonyms that hide the same concept under multiple names.
Data dictionary ↔ Class diagramAttribute types and allowable values match definitions; units and ranges are explicit.
Object diagrams ↔ Class diagramSample snapshots are legal instances of the model; multiplicities and constraints hold on concrete examples.

Iterative review, refinement, and enhancement

1) Iterative review

2) Refinement

3) Enhancement

Checklist for each reconciliation pass

Exit criteria

Nothing is set in stone. Keep testing assumptions, asking questions, and using the diagrams to invite participation and uncover better solutions.


SEMrush Software