17.5. Object Design: enterItem
The enterItem system operation occurs when a cashier enters the itemID and (optionally) the quantity of something to be purchased. Here is the complete contract:
Contract CO2: enterItem
|
An interaction diagram will be constructed to satisfy the postconditions of enterItem, using the GRASP patterns ...
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.