• 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
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Do I need to show Pre-conditions of use case in Sequence Diagram

 
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Should the sequence diagram include classes etc. that meet the pre-conditions of the use case? Or, can I just create the sequence diagram for the use case thinking that pre-conditions are already being met and not bother showing all the classes that are required for pre-conditions in the sequence diagram itself?

So, what is the answer:
Show or not show classes related to pre-conditions in the sequence diagram?
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my whole opinion, it is not a requirement to show pre-conditions as part of the sequence diagram for the listed usecases in the assignment.

In other words, you dont have to show the login sequence in your pay for itinerary usecase. If time permits you have two options
a) Mention that the pre-conditions are not shown (OR)
b) Draw a seperate sequence-diagram (ofcourse you wont be marked for this), to show the login sequence (which I guess is the pre-condition you are taking about).
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic