Question: 18- Design the class diagram for the following example with the right type of relationships. 30 points) - We have a company which is consist
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
Get step-by-step solutions from verified subject matter experts
