Hi guys,
I am in the process of constructing a Class diagram for an appointment system.
My question is that when objects are generalized is it compulsory to place attributes and operations for each generalization tree?
Please see the image I have uploaded.
The Nurse, Admin staff, and Doctor are generalization of the Employee. However there are no attributes or operations mentioned in their boxes. Is this normal - or do you have to list additional attributes and operations?
Advice will be much appreciated guys, :)
Kind regards,
I am in the process of constructing a Class diagram for an appointment system.
My question is that when objects are generalized is it compulsory to place attributes and operations for each generalization tree?
Please see the image I have uploaded.
The Nurse, Admin staff, and Doctor are generalization of the Employee. However there are no attributes or operations mentioned in their boxes. Is this normal - or do you have to list additional attributes and operations?
Advice will be much appreciated guys, :)
Kind regards,