Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

18- Design the class diagram for the following example with the right type of relationships. 30 points) - We have a company which is consist

image text in transcribed
18- Design the class diagram for the following example with the right type of relationships. 30 points) - We have a company which is consist of projects, employees and departments - The company has at least 3 projects, at least 10 employees and 2-5 departments - The employees all have a name(String), last name (String) and birthday (Date). Also, the getter and setter functions for each attribute. - There are 2 different types of employees: Senior and junior - The seniors have the attribute resposibilityID(int) and the getter and setter functions for the resposibilityID. - The juniors have the attribute level(int) and it's getter and setter functions. - The juniors may be part of a learningTeam. - A learningTeam has the attribute name and it's getter and setter functions - All projects have the following attributes: Name(String), StartDate(Date) and the getter and setter functions for each of these attributes. - 2 types of projects exist: PracticalProjects and ResearchProjects. - Practical projects have the following attributes and their getter and setter functions: CustomerName(String) and ProjectCity(String) - Research projects have the following attributes and their getter and setter functions: StartDate(Date) and EndDate(Date) - We have two types of departments: ITDepartment and CustomerServiceDepartment - All the departments have the following attributes with their getter and setter functions: Name(String), location(String) - The IT department has the following attributes with the getter and setter functions: ResearchArea(String) and ContactEmail(String) - The CustomerService department has the following attributes with the getter and setter functions: workingHours(String), PhoneNumber(String)

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

1. List your top 10 film heroes.

Answered: 1 week ago