I'm trying to draw an class diagram for my project management software describing the following. It contains the following classes:
Project
- software projectsProjectManager
- he/she who manage the projectEmployee
- people who are engage in project work
and the following relationships/associations:
a project manager may have to manage more than one project, while a project can only be managed by one project manager
a project manager can assign an employee to a project that he/she manages
For the above associations I created this class diagram:
- It's clear how to model the first association (between
ProjectManager
andProject
) - I have no idea how to model the second association
(how to implement that a project manager is only able to assign projects to employees that he is responsible to manage ?)