This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Gates for Ref diagrams in Sequence diagram  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone used Gates for ref diagrams in the sequence diagram to depict decomposition or Interation fragment (esp using borland's Together Architect?)
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "gates"? I have used the UML 2.0 "ref" block.

Regards
 
kalai sen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for replying. We use ref to indicate another interaction.

For ex: I have Interaction A which references interaction B.

Interaction B takes input param1, input param2 and returns output param1.

From UML documents from OMG, gates could be used to represent input params and output params in interaction B.

( Otherwise we can skip their representaion or provide them also as lifeline).

So I was wondering if there is any way by which we can start a message from interaction itself ( this is how gates look like) instead from lifeline.
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm...I wonder if you mean using a guard in a frame? With a guard you can specify a condition within a frame. An example guard would be
[when payment type is credit card].

I'm planning on using guards on my sequence diagrams.

HTH?
Tom
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i use UML 2.0 ref in my sequence diagrams.
use this types:
- "loop" for iterations (like in price itinerary)
- "alt" for alternatives (like price or coach)
- "ref" to reference and descompouse a sequence diagram, for example i make 3 sequence diagram for paymente use case 1 for each payment method, and one abstract, so i use ref to join them ...
PD: i use Enterprise Architect (very goog tool)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!