Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

A question about UML - sequence diagrams

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello folks!
My problem: I have a sequence diagram and a "sub" sequence diagram. How can I integrate a sub-diagram in a main diagram? Can I show the sub diagram as an actor in the main diagram?
Thanx for help!
Reklef
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Does this sub-sequence diagram represent an included use case? I have never seen sub-diagrams referenced but included use case sequence diagrams are often included.
Think use cases and as Simon Roberts told us keep it simple!!!
Noel
 
Asterix
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
> Does this sub-sequence diagram represent an included use case?
YES!
> I have never seen sub-diagrams referenced but included use case sequence diagrams are often included.
HOW? As an actor?
 
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I am pretty sure you can have a class object message an external use case in a sequence diagram. I might be wrong here, but I am pretty sure that sequence diagrams allow you to depict the exchanging of messages between classifier objects -- and actors, along with classes, components, nodes, use cases, packages, etc. are all classifiers. So I see no problem in this.
Darryl
 
Asterix
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I can have a use case in a sequence diagram, but once more, how does it looks like? Is it an actor named "Login In Use Case" or an object with this name or doesn't it make any difference?
Thanx all for your help! Great!
 
Darryl A. J. Staflund
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
Most sequence diagrams that I have seen whose classifiers refer to external use cases generally use the 'Use Case' icon to depict the external use case. Thus, a class object depicted by a rectangle would send a message to an external use case depicted by an oval.
Having said that, most UML IDEs vary in how they depict this. Some render the message sequencing as described above. Others render external use cases as stereotyped rectangles. etc. It's pretty varied in my experience.
Darryl
 
Asterix
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx Darryl!
I use Together and when I change the stereotype of an object, the object change his appearance. I don't now this before...
But there is no special stereotype for use cases. Now I name an object with the stereotype "usecase" with no special appearance
 
Darryl A. J. Staflund
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What happens if you create a use case in a use case diagram and then drag-and-drop it into your sequence diagram. Doesn't this work?
Darryl
 
Asterix
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It doesn't work.
Thanx for help!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic