Book a Demo

Author Topic: guard condition  (Read 4366 times)

SF_lt

  • EA User
  • **
  • Posts: 216
  • Karma: +1/-0
  • The Truth Is Out There
    • View Profile
guard condition
« on: March 23, 2005, 11:51:19 am »
how to set guard conditions on sequence diagram actor swimlane? for example, sequence goes on when [number=2]
UML2 supports guard condition on entities, is it possible to set such guard condition?
have tried to set constraint, but view is not how to supposed to be.
registertm everything to SparX

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: guard condition
« Reply #1 on: March 25, 2005, 11:15:23 am »
Did you try condition?

SF_lt

  • EA User
  • **
  • Posts: 216
  • Karma: +1/-0
  • The Truth Is Out There
    • View Profile
Re: guard condition
« Reply #2 on: April 06, 2005, 11:40:59 am »
of course
while drawing sequence diagram, i have noticed, that guard conditions can't be set on the objects, for example in the middle of the lifecycle line.
Condition could be set when signal occures, by using fragments.
But have seen, that this is possible for UML2. As for example, check "UML 2 for dummies" :-) by Michael Jesse Chonoles and James A. Schardt   ISBN:0764526146, Chapter 12: Capturing Scenarios with Sequence Diagrams, there are plenty examples of such guard conditions
registertm everything to SparX