Chapter 18
Use Case Realization Implement a Use Case Implement one or more scenarios (Use case is sum of all scenarios)
Fig. 18.1 Use Case Realization
Realization Use case SSD – contain: Systems operations Build communications diagrams or sequence diagrams
Fig. 18.2 Sys Ops in Communication diagrams
Fig. 18.3 Sys Ops in Interaction diagrams
Operational Contracts Fill in details in an interaction diagram Look at enterItem Contract Post condition : sli is created
Fig. 18.4 Apply post condition
Fig. 18.5 Design makeNewSale
Example NextGen Now walk through the design
Fig. 18.6 Create new sale
Fig. 18.7 enterItem Interaction Diagram
Fig. 18.8 Data Class Diagram
Fig. 18.9 How to complete a sale
Fig. 18.10 getTotal
Fig. 18.11 & 18.12
Fig. 18.13 Payment
Fig. 18.14 Alt choice
Fig. 18.15 Log complete sale
Fig. 18.16 get balence
Fig. 18.17 Final DCD
Connect the UI
Fig. 18.18 enterItem
Fig. 18.19 Add getTotal
Fig. 18.20 Sys Start
Fig. 18.28