Adding unidirectional associations in main package
Add the following unidirectional associations in main package:
- Task — [*] Tag
- Task — [1] User
- User — [*] Idea
- Project — subProjects [*] Project
- Project — participants [*] User
Here, this ticket will allow us to create a unidirectional association between different Classes. For this, we have implemented these associations using MultipleValue essentially for four associations, with setter and getter methods, which are:
- Task that has several Tag
- User that has several Idea
- Project that has several subProject with the same type Project
- Project that has several User representing the participants
There is also Task which has a unique User representing the creator.
Before we started implementing the methods, we implemented and created the corresponding tests. They allow you to check and test the correct implementation of our code.
In TaskTest :
- testGetServerIdentifier()
- testGetLastModificationDate ()
- testGetName()
- testGetPriority()
- testGetEffortRate()
- testGetProgress()
- testGetFrequency()
- testGetCreator ()
InProjectTest :
- testGetName()
- testGetProgress()
- testGetCreator ()
- testGetServerIdentifier()
- testGetLastModificationDate ()