aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Gates for Ref diagrams in Sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Gates for Ref diagrams in Sequence diagram" Watch "Gates for Ref diagrams in Sequence diagram" New topic
Author

Gates for Ref diagrams in Sequence diagram

kalai sen
Greenhorn

Joined: Jul 24, 2006
Posts: 3
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

Joined: Jul 21, 2005
Posts: 164
What do you mean by "gates"? I have used the UML 2.0 "ref" block.

Regards
kalai sen
Greenhorn

Joined: Jul 24, 2006
Posts: 3
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

Joined: Feb 07, 2003
Posts: 56
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


Tom
Santiago Urrizola
Ranch Hand

Joined: Apr 27, 2006
Posts: 172
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)


Santiago Urrizola : La Plata - Argentina<br />SCEA (89%-92%)<br /><a href="http://gpitech.wordpress.com/" target="_blank" rel="nofollow">http://gpitech.wordpress.com/</a>
 
 
subject: Gates for Ref diagrams in Sequence diagram