In my school management system I have this partial class diagram:
1- In one use case student want to see his schedule of classes in week. this is what i suppose to do:
student object from session and call method
getSchedule() on that and it will give me schedule(this method calls
Course for getting schedule).
Is this good place to put
getSchedule() method or I should place it elsewhere?
2- In another use class student's parent want to see his child class schedule, I plan to do something like this:
Because I have some use cases that parent want to see some other student information(course mark...), I create interface
StudentParentInterface that have method
getSchedule() and other methods and student implement
StudentParentInterface, then parent has reference to
student obj directly.
getSchedule() method on
StudentParentInterface, is this correct?