posted 13 years ago
Hello friends!
I have quite simple question regarding Class and Sequence diagrams. Do we need to specify methods arguments/return types in aforementioned diagrams? I have tried doing so, and diagrams started to looking overcrowded with information. Classes boxes became huge. I wonder, do fine-grained methods arguments/returns types are mandatory, or they can be omitted if method name clearly states what it's intended to? E.g. searchProduct() method, it doesn't really matters which arguments this method takes and what it returns, IMHO...
Also, should we show generic arguments in Class attributes? E.g., I have a class with argument of type Map<Integer, Renderer>. How to correctly specify it in Class diagram?
Thanks a lot!