Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sequence Diagram Lab: Composition, Generalization, and Service Controllers Objectives: Make a class and sequence diagrams with generalized and specialized objects Make a class and sequence

Sequence Diagram Lab: Composition, Generalization, and Service Controllers

Objectives:

  • Make a class and sequence diagrams with generalized and specialized objects
  • Make a class and sequence diagrams for objects in a composition relationship
  • Use Service controllers to show interfaces with subsystems.

This is an individual lab. Finish a Visual Paradigm model as per the following requirements (case study and use case descriptions). Copy your diagrams to a MS-Word compatible file and include both the Word and source .VPP files in your submission.

Case Study:

Brant's Property Management (BMS) operates in York Region servicing the property needs of Residential, Commercial and Institutional needs. Focusing on the snow clearing part of their business, BMS is looking for a system to manage their employees, clients and contract.

BMS employees often start as students, working with plow operators to take care of client's snow shoveling needs. The new system must record employee work history noting changes in position titles and pay raises.

All clients have contracts with BMS. Residential contracts record the max plow size allowed and extra shoveling notes. Commercial and Institutional contracts require a site diagram with number of entrances, ramps and staircases recorded. Residential and Institutional contracts are fixed price for the season, where as Commercial contracts require payment for each visit, noting the amount of salt used per visit. Clients with commercial contracts are emailed after every visiting, listing the date, time and quantity of salt used.

Part 1: Class Diagram

Create a Class Diagram based on the case study background above and the sequence diagrams below. Demonstrate that you understand Composition and Inheritance / Generalization, where applicable. Solutions that do not demonstrate these concepts will be penalized.

Part 2: Sequence Diagrams

Create a Sequence Diagram for each of the use cases below.Demonstrate that you understand Encapsulation / Composition, Inheritance, and the appropriate use of Service Controllers, where applicable.

Part 3: Operations

Each message in the sequence diagram is an operation assigned to your classes (including controllers). Update each class with it's operations. Remember, returns are not operations. Operations in your classes do not include parameters.

For example:

image text in transcribedimage text in transcribedimage text in transcribed
\fUse Cases: Promote Employee. The Office Administrator is logged in: they have chosen to promote an employee by adding to the employee's job history. Requests a list of employees. Retrieves a list of employees including employeelD and name and rom ts for selection Selects an employee Retrieve employee's job history. Displays a list of positions. Prompts for new position and salary. Defaults start date to the s stem date Selects position, enters salary adds the employee history with selected position, salary and start date. Displays the employee's job history and prompts to save Save the new em lo ee histo record to the s stem. Create an Institutional Contract The Office Administrator is logged in to the system, has received the clients' site diagram as conrmation that the contract is confirmed Request list of clients Retrieves a list of clients including ClientlD, client name, address and phone number and prompts for selection Selects a client Displays a list of institutional contracts for the client including start date, end date and total cost of the contract. Prompts for start date, end date, total cost of the new contract and link to the site dia Enters start date, end date, total cost, Assigns a unique contract identifier. Displays Contract. number of entrances, staircases and ramps Prompts for confirmation and selects file location for the site diagram. Saves the contract Add Commercial Contract visits Snowed last night, so crews were busy. The Office Manager is logged into the system and requests a list of active (current date is between contract start date and end date) commercial contracts to add visits. Office Administrator System Requests list of active commercial contracts Retrieve a list of active contracts and prompts for selection Selects a commercial contract Displays a list of visits and prompts to add a new visit. Displays a list of employees Enters date and time of visit and quantity of Adds visit to list of visits and prompts to confirm salt used. Selects employees involved in the visit Confirms visit Saves visit and sends email to client Repeats above steps until all visits have been added

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Effective small business management An Entrepreneurial Approach

Authors: Norman M. Scarborough

10th Edition

132157462, 978-0132157469

More Books

Students also viewed these General Management questions

Question

2. Why do economists build models?

Answered: 1 week ago