• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

sequnce diagrams  RSS feed

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we need to show all the objects that we created in the class diagrams in the sequence diagram.
Appreciate your reply .
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I guess class diagram would just show classe not objects. In a sequence i would show all the classes which, participate in execution of a use case.
Regards,
Balbhadra
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!