Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a class diagram representing a system defined by the following statements: -> An OfficeSpace is a collection of Offices, Open Spaces, and Conference Rooms.

Create a class diagram representing a system defined by the following statements:

-> An OfficeSpace is a collection of Offices, Open Spaces, and Conference Rooms. It has an address (defined as a simple String).

-> Each Office or Open Space contains one or more Desks. A Desk is assigned to an Employee. Desks have a desk number (defined as a integral number).

-> An Employee has a name (String) and employee id (integral number).

-> Conference Rooms have a name (String).

-> A Meeting is defined as a collection of Employees (the invitees to the meeting), the Conference Room the meeting will occur in, and a meeting time (use an attribute of type DateTime). A meeting is hosted by a specially-designated instance of Employee known as the meetings leader.

-> Each Employee has a Manager (a special case of an Employee), except for the Chief Executive Officer (who has no Manager).

Be sure to indicate multiplicity of each association and name/label the association something mean- ingful. Be sure each attribute has a name and type defined.

What kind of relationship did you determine was appropriate between an Office Space and Offices? Explain.

What kind of relationship(s) did you determine was appropriate between Conference Rooms and Employees? Explain.

What classes are appropriate for using abstraction/inheritance? Explain. Include such inheritance in the class diagram.

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

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions