I have the Class Diagram (from my system that was coded in Java), where the Class Diagram consists of the Business Logic and it has classes like Student, Exam, Topic, Question, etc.
The thing is I want to know if I should add the getter and setter methods to each class of the Diagram (because they're in the code) as well as the constructors and toString methods.
... Or is it better to add only the methods in those classes that were coded by me?
I'm asking because this is a homework for college and maybe the professor doesn't like to see these "auto generated methods" in the Diagram. What's your recommendation?
Does it matter if any class stays "empty"? I mean, without methods or with no attributes in case the class extends them from the superclass.