1. Create a class diagram to support the above case study and Systems Use Case Specifications 2. Create an object level sequence diagram, detailing the Create Income Transaction systems use case specification 3. Create an object level sequence diagram, detailing the Create Income Transaction systems use case specification
Linda's bank account looks good but at a glance, she can't easily see which transactions are related to each of her locations.
She finds that at the end of the month manually, she's manually calculating profits. She is currently using a simple application built by her grandchildren, but find that she's missing cash sales. Linda would like to record a description of the transaction indicating whether or not the transaction was income or expense and more details of what the transaction was for. She usually pay for supplies using her credit card. Her customers pay by cash, credit card or debit card.
Linda needs a system that helps her with her HST calculations. She must be able to query income - expenses.
They would like a more robust system than Excel to manage these details.
Your task is to read the User Story below and create a class diagram and sequence diagrams to support the scenario.
Copy your diagrams to a word file. Analyze your model and outline what the .h files would look like if you generated code from your model. Include pseudo code to indicate what each method would do. Attach this word file and your visual paradigm file to your submission.
User Story
As the owner of this business, I would like to record my financial transactions so that I can quickly see how much money I've made and what I owe the government in HST. For my purposes, my expenses subtracted from my income.
Acceptance Criteria:
- Must be able to query transactions by date and provide a total profit and total HST
- Must be able to query transactions by date and by source of the income.
- Differentiate between expenses and income - provide a running total of income - expenses
- Calculate the HST owed to the government by subtracting HST paid on expenses from HST collected on income.
![Use Case Descriptions
Use Case Name
Triggering Event
Brief Description
Actors
Related Use Cases
Preconditions
Post Conditions
Flow of activities
Exception
Conditions
Use Case Name
Triggering Event
Brief Description
Actors
Related Use Cases
Preconditions
Post Conditions
Flow of activities
Exception
Conditions
Create an income transaction
Money coming into the business.
Allows the Owner to record an income transaction.
Owner
Owner has opened the Main Menu.
Income transaction is saved and added to financial totals.
Actor
1.
1.
1.
Actor
Requests to add a new income
transaction
1.
Selects the transaction Date
Selects the payment
Enters the transaction description
Enters the transaction amount
1.
Request to save
1.
• Owner chooses to cancel adding the transaction
Create an expense transaction
Money leaving the business.
Allows the Owner to record an expense transaction.
Owner
Owner has opened the Main Menu.
Expense transaction is saved and added to financial totals.
System
Displays a calendar
Prompts for description, transaction amount and
HST amount
System
Displays a calendar
Prompts for description, transaction amount and
HST amount
Displays a list of payment types and prompts for
selection
Requests to add a new expense
transaction
Verifies that date is selected
Verifies that description and amount have been
entered
Verifies that the payment type was selected.
Calculates HST
Selects the transaction Date
Enters the transaction description
Enters the transaction amount
Displays income transaction
Prompts to save
Request to save
Saves the transaction and returns to the main
menu
Verifies that date is selected
Verifies that description and amount have been
entered
Calculates HST
Displays financial transaction
Prompts to save
Saves the transaction and returns to the main
menu
• Owner chooses to cancel adding the transaction](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F96eb680b-bf96-4b4b-a2da-be1777b93ea0%2Fee7e6412-e00c-42b0-93a6-079a5699a14b%2Fm38jzdq_processed.png&w=3840&q=75)
![Use Case Name
Triggering Event
Brief Description Allows the Owner to retrieve financial totals for a specified date range
Owner
Actors
Related Use
Cases
Preconditions
Post Conditions
Flow of activities
Query Financial Transaction
Owner requires a list of transactions for a date period including Total Income, Total Expenses,
Total Profit, Total HST collected, Total HST Paid, HST Owed
Exception
Conditions
Owner has opened the Main Menu.
Financial transactions are retrieved, totaled and displayed
Actor
2.
1.
Requests to query financial
transactions
Selects date range
3. Request to exit
System
Displays a calendar
Verifies that dates are selected
Retrieves transactions in the specified date range
Calculates and displays total income, total expenses,
Profit, total HST Owed. Prompts to exit
returns to the main menu
Your tasks:
1. Create a class diagram to support the above case study and Systems Use Case Specifications
2. Create an object level sequence diagram, detailing the Create Income Transaction systems use case
specification
3. Create an object level sequence diagram, detailing the Create Income Transaction systems use case
specification
4. Create an object level sequence diagram, detailing the Query Financial Transaction system use case
specification.
5. Analyze your model and outline what the .h files would look like if you generated code from your model](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F96eb680b-bf96-4b4b-a2da-be1777b93ea0%2Fee7e6412-e00c-42b0-93a6-079a5699a14b%2Ff0x1zj_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 4 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)