Explore BrainMass

Company Class Diagram

The following situation describes a company who would like to implement an information system. The company would like to keep track of its employees, departments, and projects. Suppose that the MIS department of the company did the requirements collection and analysis phase and give you a specification report with the following description:

"The company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department. A department may have several locations.

A department controls a number of projects, each of which has a unique name, a unique number, and a single location.

We store each employee's name, social insurance number, address, salary, sex, and birth date, An employee is assigned to one department but may work on several projects, which are not necessarily controlled by the same department.

We keep track of the number of hours per week that an employee works on each project. We also keep track of the direct supervisor of each employee.

We want to keep track of the dependents of each employee for insurance purposes. We keep each dependent's first name, sex, birth dale, and relationship to the employee."

a. Draw a Class Diagram for this situation

Solution Summary

A Class Diagram of a virtual company is presented.