17.2. Artifact Comments
Interaction Diagrams and Use-Case Realizations
In the current iteration we are considering various scenarios and system events such as:
Process Sale: makeNewSale, enterItem, endSale, makePayment
If collaboration diagrams are used to illustrate the use-case realizations, a different collaboration diagram will be required to show the handling of each system event message. For example (Figure 17.1):
Figure 17.1. Collaboration diagrams and system event message handling.
On the other hand, if sequence diagrams are used, it may be possible to fit all system event messages on the same diagram, as in Figure 17.2.
Figure 17.2. ...
Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.