Answered step by step
Verified Expert Solution
Question
1 Approved Answer
. Consider an ATM machine which provides the following services to the customer: A customer can have one or more accounts. Each account is either
. Consider an ATM machine which provides the following services to the customer: A customer can have one or more accounts. Each account is either a chequing or a savings account. A customer has a bank card that is linked to all of their accounts. A Bank can have multiple ATMs. A transaction (i.e. deposit or withdrawal) can be performed using an ATM. A customer can make a cash withdrawal from any of the accounts that are linked to their card. . . A customer can make a cash deposit to any of the accounts linked to their card. Use Cases UC1: The customer can enter their card in the ATM and input their PIN. The PIN is validated by a back-end validation server. The user has up to three attempts to enter the correct PIN before the system locks their account. UC2: If the PIN is validated, the customer can initially select the account (chequing or savings), and subsequently choose the type of transaction (deposit or withdrawal). UC3: If the transaction is DEPOSIT, the system prompts for the user to enter the cash or the cheque into the ATM. The customer can either enter the funds or select CANCEL. If the customer opted to enter funds (cash or cheques) to deposit, rather than select CANCEL, the system validates these funds, makes the deposit and completes the transaction which is then considered COMPLETED. The system then returns the card to the customer. No other transaction can be performed on the account while a deposit operation is being performed. UC4: If the transaction is WITHDRAWAL, the user is prompted to provide the amount they want to withdraw. The user either enters the amount using the ATM's UI or selects CANCEL. If the customer entered an amount to withdraw, rather than select CANCEL, the system performs the withdrawal, provided there are sufficient funds in the account. It then provides the cash to the customer and completes the transaction which is then considered COMPLETED. The system then returns the card to the customer. No other transaction can be performed on the account while a withdrawal operation is being performed. UC5: After the completion of a transaction, the ATM will a) provide the customer with a printed receipt for the successful transaction, showing the date, time, machine location, type of transaction, account, amount, and available balance of the affected account, and b) return the card. 1. Create a Domain Model for UC1-UC5. Make sure you provide basic attributes for each class and clearly specify the names of the associations and their multiplicities. . Consider an ATM machine which provides the following services to the customer: A customer can have one or more accounts. Each account is either a chequing or a savings account. A customer has a bank card that is linked to all of their accounts. A Bank can have multiple ATMs. A transaction (i.e. deposit or withdrawal) can be performed using an ATM. A customer can make a cash withdrawal from any of the accounts that are linked to their card. . . A customer can make a cash deposit to any of the accounts linked to their card. Use Cases UC1: The customer can enter their card in the ATM and input their PIN. The PIN is validated by a back-end validation server. The user has up to three attempts to enter the correct PIN before the system locks their account. UC2: If the PIN is validated, the customer can initially select the account (chequing or savings), and subsequently choose the type of transaction (deposit or withdrawal). UC3: If the transaction is DEPOSIT, the system prompts for the user to enter the cash or the cheque into the ATM. The customer can either enter the funds or select CANCEL. If the customer opted to enter funds (cash or cheques) to deposit, rather than select CANCEL, the system validates these funds, makes the deposit and completes the transaction which is then considered COMPLETED. The system then returns the card to the customer. No other transaction can be performed on the account while a deposit operation is being performed. UC4: If the transaction is WITHDRAWAL, the user is prompted to provide the amount they want to withdraw. The user either enters the amount using the ATM's UI or selects CANCEL. If the customer entered an amount to withdraw, rather than select CANCEL, the system performs the withdrawal, provided there are sufficient funds in the account. It then provides the cash to the customer and completes the transaction which is then considered COMPLETED. The system then returns the card to the customer. No other transaction can be performed on the account while a withdrawal operation is being performed. UC5: After the completion of a transaction, the ATM will a) provide the customer with a printed receipt for the successful transaction, showing the date, time, machine location, type of transaction, account, amount, and available balance of the affected account, and b) return the card. 1. Create a Domain Model for UC1-UC5. Make sure you provide basic attributes for each class and clearly specify the names of the associations and their multiplicities
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started