posted 21 years ago
Sequence diags r dynamic diags, so they do show objects. In fact u can show both classes/objects separated by colon.....its ur call.
For a particular flow f1 and if alternate flow f2 is not too complex, u generally show the flow f1 which may or may not have all the classes of ur class diagram. e.g consider an example
f1 = usecase(login flow) + usecase(view presentation)
say my app has a custom ACM which does authentication and delegates to ReqProcessor for authorisation.
(assuming u decide to mingle framework classes with businessdomain...just assume ..okay)
ur class diag will show both ACM and ReqProcessor but seq diag will show ACM call only since ur business comp is only concerned with ACM and not consequent calls from thereon, it may excludes ReqProcessor..okayyy
unless it is genuinely dealing with reqprocessor...
so IMO, the only criteria being if ur obj in seq diag r making calls to those classes or not.
...may be that helps u
rgds
SCEA-I, BCJP<p>IBM (India)