I have been thinking about the amount of detail I show in the sequence diagrams, is is common to show all the various parameters and return values for each method call? Do we need to show things like any VO's we use?
Does anyone show this level of detail in the sequence diagram? So far I have only specified the method calls, nothing more.
What I am doing is to include a section on the UML modeling conventions I use. This is basically a collection of how I model many situations in a simplified form. Since the complete form can always be derived straight from the simplified form, I can simplify the modeling in the sequence diagrams.
As far as call and return parameters are concerned, I am using names whereever appropriate, for instance to show that the result of one call is input to another call I name the return and call parameters. I just show enough to understand the general concept.
Also, I include text to explain the sequence diagrams. I am assuming that those people who are grading the exams are sensible people.
Do I need to show all this in method call in seq diagram or mentioing it in Notes will suffice? Parag
for me, yes will be suffice, the idea of sequence diagram is to represent what are the responsabilities of each class ... i think creation of VOs as details of implementation .. just mention in notes ... its my idea ..I am doing it of that way. I dont explicitly mention in the sequence diagram the creation of VOs or DTOs.