Draw a collaboration diagram to show the collaboration.Draw the class diagram according to the class definitions.SalesLineItem s = new SaleLineItem(spec, qty) The following partially defined Java classes shows a collaboration among objects of these classes to implement the "enterItem()" operation of a SaleTerminal object.For a sale by check, the payment is validated by an external check authorization service. For a sale by credit, the payment is validated by an external credit authorization service, and is posted to an external account receivable system. Identify actors, use cases and their relationships from the description and then draw a use case diagram of the system.Ī Customer buys or exchanges items through a cashier, and pays the sale by cash, credit card, or check. The following is a brief requirement description of a Point-of-Sale Terminal System.
0 Comments
Leave a Reply. |