A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Architect Certification (SCEA/OCMJEA)
methods signature in sequence diagram
Joined: Dec 25, 2011
Aug 17, 2012 09:31:55
I want to know that whether i should show method with signatures or simply use methods name only in sequence diagram
William P O'Sullivan
Joined: Mar 28, 2012
Aug 17, 2012 09:59:26
If you overload methods, then you should maybe (for space and visual consideration) use type descriptors.
method1() -> method1()
s) -> method1(S)
This may not work if you Objects (which String is), but for simple types should be understandable.
I have seen many many unwieldy UML diagrams, and usually just ignore them and hit the code.
Joined: Sep 07, 2011
Aug 21, 2012 10:33:02
The more detail the better, I have included method signature with return type in all of my sequence diagrams, the variable names were similar to object type names.
I agree. Here's the link:
subject: methods signature in sequence diagram
can I use fork to present multiple actions within a same method?
Alternate flows -- sequence diagrams
Passed PartII-III with 100%
sequence diagram with actor
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015