Jakub Adelka wrote:I have skimmed the considerably part of the forum, and I really did not find out, an answer to this question, what class diagrams should be made of?
In the various UML articles, I did not find, that .jsp files, are part of it, but in Cade's book, it is. Since they will, after all, grade my worked solution, should I follow the patter of the diagrams they use their book?
Thanks
Hi!
I think in Cade's book is not so complete and accurate.
Personally I'm not a supporter of including the jsp's in the class diagram. First of all they are part of the presentation layer and not of the model that has to be designed in the class diagram.
Secondly, when those jsp's were included, no attribute or method was mentioned, but just a class name - this does not make too much sense either I suppose...
Also in the Cade's book I saw in the class diagram some helper classes such as "Money" which are not defined anymore, but they are used when the attributes of other classes are defined.
I'm wondering if a complete class diagram should not include these helper classes as well?
For example saying that Money contains a currency and an amount field, etc, etc...