aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes methods signature in sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "methods signature in sequence diagram" Watch "methods signature in sequence diagram" New topic
Author

methods signature in sequence diagram

serzeel khan
Greenhorn

Joined: Dec 25, 2011
Posts: 17
hello everyone,
I want to know that whether i should show method with signatures or simply use methods name only in sequence diagram
Thanks.


OCMJEA 5
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

If you overload methods, then you should maybe (for space and visual consideration) use type descriptors.

eg:

method1() -> method1()
method1(String s) -> method1(S)

etc..

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.

WP
shekar hari
Ranch Hand

Joined: Sep 07, 2011
Posts: 36
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.


SCEA/OCMJEA certified
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: methods signature in sequence diagram
 
Similar Threads
sequence diagram with actor
Alternate flows -- sequence diagrams
can I use fork to present multiple actions within a same method?
Passed PartII-III with 100%
Structural Organization