Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic UML Questions - Sequence diagram

 
James Ward
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. How do i show pre-conditions in my UML diagram. For example a pre-condition is : User must be Logged in. He must have a profile.
How can i show this in my SEQUENCE diagram ?
2. How can i show executing another Use Case in my Sequence diagram ?
3. How can i show special requirements like : 'interaction between the user and the system must happen over SSL.' How can i show this in Sequence diagram ?
My sequence diagram are pretty huge now, and i don't like them that way..
Currently i have handled the points 1 & 2 by putting notes in my diagrams. I dont know if this is right.
 
James Ward
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more question :
4. In one of my Sequence diagram, the input is from another use case, how will i represent this.
Currently i have created a Actor in this particular sequence diagram, and named it as the '"input" use case'. Is this right ?
 
Rudi Vaum
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been looking for the same answers, here is what I found: In a book about UML Style, there was indicated, that executing a use-case is to be shown, by puting the use-case itself as an object with a life-line. Rational Rose actually allows you to do this.
As for the preconditions, I choose to modell that logic into the diagram itself. For example, no beeing logged in, takes the user to executing the "log in" use-case. There is a posibility to represent if-else blocks in a seq. diagr.
And SSL - I would say that is something that I would not modell into the Seq. Diag. It is maybe the deployment diagram I would put it (Web-server to Browser connection), and mention it in the text doc I submit with the asignment.
I only put important objects/components in the seq. diag., like Cade did - Sequence Locator, Business Delegate, Session Facade, some value objects, but nothing like remote or local interfaces. And there is only a customer interacting with these, I didn't show any trav. ag., asuming that the travel agent will mascarade as different customers in order to do the job, and that is a detail included in the app. client, that builds on the same structure and uses the same BDs, as the web client - so i assumed there is no need to modell that.
I would really apreciate your comments,
Rudi
 
James Ward
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using another Use Case as a object, is that correct UML ??
Rational Rose does not allow you to put if else conditions .... as far as i can see.
I have put notes everywhere like :
"Execute the following use case now"
I am quite worried about the the following :
How to show input from another Use Case, into the my current Use Case. ??? I have no clue about this one.
 
Jack Yang
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you solve it,Juti?Now you pass t already
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic