100 likes | 178 Views
Customers. 2. make selections by pressing the. pay for selections by inserting money into the. requests refunds by pressing the. Selection Buttons. Money Validators. Refund Button. Door Switch Resets the Mode. precedes. MIVM SOFTWARE. Customer Buys an Item.
E N D
Customers 2 make selections by pressing the pay for selections by inserting money into the requests refunds by pressing the Selection Buttons Money Validators Refund Button Door Switch Resets the Mode precedes MIVM SOFTWARE Customer Buys an Item Service Representative Prices an Item precedes invokes invokes invokes Customer Makes a Selection Customer Makes a Payment Customer Requests a Refund precedes invokes invokes invokes invokes Customer Selects the Column of an Item Customer Selects the Row of an Item Customer Inserts a Valid Bill Customer Inserts a Valid Coin invokes invokes invokes invokes invokes Attempt to Dispense invokes invokes Handle an Invalid Customer Selection Dispense Change invokes invokes Dispense Quarter precedes invokes precedes invokes Dispense Dime precedes Display Greeting Dispense Nickel Main Display Item Dispensers Coin Dispensers
currentModeProxy dispenseItemMode displayHistoryMode setPriceMode 7 COORDINATION PACKAGE serviceRepresentative displayTotalIncome (); displayTotalItemsSold (); displayMessages (); refund (); reset () throws CouldNotResetException; selected (anInteger); selected (aLetter); valid (aMoney); reset (); selected (anInteger); selected (aLetter); coinDispenser-Assembly-Loaded (); customer ROLE PACKAGE creditIncremented (); reset (); selected (anInteger); selected (aLetter); getTotal- Income (); getTotal- ItemsSold (); display-Messages (credit); add (aMoney); getAmount (); customer- Selection getAmount (); display (); refundMinus (price) throws CouldNotRefund-AllException; reset (); selected (anInteger); selected (aLeter); display-Location-Warning (); customer- Credit service- Representative- Selection loaded (); display (credit); displayMessages (credit); customer- Messages isPractical (price); isWarningNeeded (); dispenseAt (aLocation) throws Invalid-SelectionException; priceAt (aLocation) throws InvalidSelectionException; priceAt (aLocation) throws InvalidSelectionException; priceAt (aLocation,aMoney) throws InvalidSelectionException; coinDispenserAssembly itemDispenserAssembly dispense (aMoney) throws CouldNotDispense-AllException; inserted (aCoin); DISPENSER PACKAGE main- Display- display (credit); SERVER INTERFACE PACKAGE
10 HandleMoney HandleSelection CurrentModeProxy Operations: changeMode (); doorLocked (); refund (); selected (anInteger); selected (aLetter); valid (aMoney); 1 1 1 DispenseItemMode DisplayHistoryMode SetPriceMode Operations: displayMessages (); refund (); reset (); selected (anInteger); selected (aLetter); valid (aMoney); Operations: reset (); selected (anInteger); selected (aLetter); Operations: reset (); selected (anInteger); selected (aLetter); service representative task {complete,disjoint} ServiceRepresentativeMode Operations: refund (); valid (aMoney); used by {complete,disjoint} ActualMode Operations: reset (); actual versus proxy {complete,disjoint} Mode Operations: refund (); valid (aMoney); Operations: selected (anInteger); selected (aLetter);