• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

sequnce diagrams

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Water! People swim in water! Even tiny ads swim in water:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic