This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Gates for Ref diagrams in Sequence diagram

 
kalai sen
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?)
 
Samuel Pessorrusso
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.
 
Tom Adams
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
 
Santiago Urrizola
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic