Likes

Software engineering Lab@home 3 ans 1


The design team at Janes Technologies has created the sequence diagram for representing the order of the messages in a time sequence. Now, the design team wants to create a UML diagram focusing more on the collaborations of objects than the time sequence. Help team to perform this task.

Solutin


To create the communication diagram for the cash withdrawal process, you need to perform the following tasks:
1. Identify the collaboration and interactions.
2. Create the communication diagram.
Identifying the Collaboration and Interactions

Class/Actor Responsibilities
Bank Customer Inserts the card. Provides PIN. States the amount to be withdrawn.
ATM Accepts and reads the card information. Prompts the user for input. Accepts PIN from the user. Initiates the validation of PIN. Accepts inputs from the user. Checks the account balance of a customer. Supplies cash to a customer. Initiates the action of balance update. Generates the receipt of any transaction. Ejects the card after the transaction is complete.
ATM Card Validates PIN.
Account Retrieves the balance in the user's account. Updates the balance in the account after a transaction.


No comments: