Book a Demo

Author Topic: Constraints in use cases  (Read 16809 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Constraints in use cases
« on: September 23, 2015, 06:56:30 pm »
I needed to show pre- and post-conditions for use cases on a diagram and thought it would be neat to use the Link to Element Feature. But this raised two issues:
  • The notes don't seem to show which kind (pre/post/invariant/OCL) the selected constraints are. Any way to show them except adding an additional manual note?
  • Right after the constraint text EA renders a colon. What is the rationale for this?

q.
« Last Edit: September 23, 2015, 06:57:12 pm by qwerty »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Constraints in use cases
« Reply #1 on: September 24, 2015, 10:16:01 am »
Quote
I needed to show pre- and post-conditions for use cases on a diagram and thought it would be neat to use the Link to Element Feature. But this raised two issues:
  • The notes don't seem to show which kind (pre/post/invariant/OCL) the selected constraints are. Any way to show them except adding an additional manual note?
  • Right after the constraint text EA renders a colon. What is the rationale for this?

q.
You know you're in trouble when you use the word "rationale" and EAUI...   ;)

Paolo

Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Constraints in use cases
« Reply #2 on: September 24, 2015, 05:31:40 pm »
Obviously. No answer at all.

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Constraints in use cases
« Reply #3 on: September 24, 2015, 05:33:59 pm »
When I create a pre-/post-condition from the Common toolbar the type is shown a stereotype. Why isn't this done when using the linked feature?? Probably another EAUI.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Constraints in use cases
« Reply #4 on: September 25, 2015, 08:19:42 am »
Quote
Right after the constraint text EA renders a colon.
It renders a colon between the constraint name and full text.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Constraints in use cases
« Reply #5 on: September 25, 2015, 04:59:59 pm »
Ah. Makes sense (stupid me). So there's just the constraint type question left open.

q.