Question: According to the diagram, 1) How many objects are explicitly destroyed during the ProcessSale interaction? 2) List a pair of messages that could have been

According to the diagram,
1) How many objects are explicitly destroyed during the ProcessSale interaction? 2) List a pair of messages that could have been represented as an exclusive conditional pair? What would the condition be? 3) According to Common UML Interaction Diagram notation, what is wrong with the representation of each "Create" message in the diagram?
Cashier MakeNewSale more items Loop Enterttem(itemID, quantity) desaiption, subTatal Endsale EnterCashPayment amount) changeDue, reoeipt Register Sale EnterttermitemID, quantity) Create itemID, quantity) getSubTotalitemID) SubTotal eetDesaiptionnemID) desaiption desaription. subTotal getTaxableCodeoitemID) taxable Code getTotal Create locationCode) getTaxKSaleLineltems) Total EnterCashPayment amount) aeatelcashTendered) authorize change Due aooepted Message AccountingDe updatelsaleID, sub Total, Tax update(saleID, Sal Process Sale hemCatalogue get Taxa price, desaiption, taxableCode TaxCalculator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
