Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Case Name Create Product Information Triggering Event A new product of interest to the business Brief Description Allows the Owner to record a new
Use Case Name Create Product Information
Triggering Event A new product of interest to the business
Brief Description Allows the Owner to record a new product.
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions Product is saved to the database and now can be purchased.
Flow of activities Actor System
Requests to add a new product Displays a list of product types and prompts for selection.
Prompts for product name, ingredients, description, price
Enter name, description, price, and ingredients.
Selects product type name, description and price must be entered.
Product type must be selected.
Generates identifier.
Data is valid.
Displays product.
Prompts to save
Request to save Saves the product and returns to the main menu
Exception Conditions Owner chooses to cancel adding the product
Use Case Name Query Products by Product Type
Triggering Event List of products required
Brief Description Allows the Owner to query products
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions Product information provided to the actor.
Flow of activities Actor System
Requests for products Displays a list of product types and prompts for selection
Selects product type Displays a list of products for that product type
Exception Conditions Owner chooses to cancel query products
Use Case: Maintain Purchase
User Story
As the owner of this business, I would like to record my purchases so that I can quickly see how much money Ive spent, what Ive ordered and from where. With each purchase, I want to record which location received the product. Because I like to order in bulk, I must be able to record multiple locations for each product.
Acceptance Criteria:
Must be able to record purchases by supplier.
Must be able to query purchase details by location.
Use Case Descriptions
Use Case Name Create Purchase
Triggering Event Purchase of products.
Brief Description Allows the Owner to record a new purchase.
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions Purchase is saved to the database and now can be queried.
Flow of activities Actor System
Requests to add a new purchase Displays a list of suppliers and prompts for selection. Prompts for purchase date and selection of receipt file location.
Selects a supplier.
Enters purchase date and receipt file selected. Verifies that a supplier was selected Verifies that date was entered and receipt selected.
Creates a unique identifier for the purchase.
Displays the purchase
Prompts to enter purchase details.
Loop Chooses new product Displays a list of products, sorted by product type, and prompts for selection.
Selects a product Display a list of locations and prompts for selection.
Prompts for quantity.
Selects location and enters quantity and price Creates a unique identifier for the detail.
Data is valid.
Extended price is calculated price quantity ordered
Taxes are calculated and displayed.
The purchase total is updated with the extended price taxes
Purchase tax is updated with the tax amount.
Displays purchase including totals, date, list of products and locations.
Prompts to add another location
Repeats above step until all locations for a product were selected Display a list of products and prompts for selection
End When all products are selected Prompts to save purchase
Chooses to save Saves the purchase and returns to the main menu
Exception Conditions Owner chooses to cancel adding the purchase
Use Case Name
Query Purchases
Triggering Event Owner requires a list of purchases for a date period listing Supplier, Products quantity purchased, price paid and the extended amount price quantity
Brief Description Allows the Owner to retrieve purchases for a specified date range
Actors Owner
Related Use Cases
Preconditions Owner has opened the Main Menu.
Post Conditions purchases are retrieved, totaled, and displayed
Flow of activities Actor System
Requests to query purchase by datetransactions Displays a calendar.
Selects date range.
Verifies that dates are selected.
Retrieves purchases in the specified date range, calculating totals.
Prompts to exit
Request to cancel returns to the main menu
Exception Conditions
Your tasks:
Create a class diagram to support the above case study and Systems Use Case Specifications
i want the class diagram for all use cases which also be shown connection using arrow where necessary
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