-
Notifications
You must be signed in to change notification settings - Fork 2
Domain Model
Andre Kaba edited this page Feb 8, 2019
·
23 revisions
- User
- UserRole (Player-Role pattern), Abstract Class
- Program Manager
- Term Instructor
- Course
- Student
- CoopPosition
- RequiredDocument, Abstract Class
UserRole class: We decided to add a class for the role of the user. Derived from the player-role pattern, it allows one user to change roles. It also allows the term instructor for a specific coopPosition to change.
No Grade: We decided that each term instructor can grade a document pass or fail. If all documents are passed, the coop position itself will be completed. Otherwise, it will be failed.
- The program manager should have a
void ViewStudent(Student student)
function that allows him to look at a student's record. He should also have avoid ChangeStatus(Student student, Status status)
function to be able to pass or fail a student anytime. He should be able to have avoid ViewCoop(CoopPosition coopPosition)
function to see all the coops and get their information, like which courses were useful for this position. Lastly, there should be avoid ViewProblematicStudent()
function to view all the problematic students. - The course instructor should have a
void ChangeStatus(status)
function to be able to change the status of the documents submitted. He should also have avoid ViewDocument()
function to see the documents submitted by a student.
Group 19 BRODEUR Max, DENG Sophie, ELKHOURY Carl, KABA Andre, ZHOU Mia