Book a Demo

Author Topic: Model Validation  (Read 2519 times)

RupIsGoodForYou

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Model Validation
« on: March 06, 2007, 06:59:54 am »
Hello,

is there a way to make a validation model indicating that one package has not to be linked to another one by using the stereotype (and how, if it s possible).

Thanks.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Model Validation
« Reply #1 on: March 06, 2007, 07:03:58 am »
I am assuming you are asking if it is possible to create such a validation rule in EA. If you are only asking if this is possible at the UML level, it is (almost) certainly possible in OCL.
No, you can't have it!

thomaskilian

  • Guest
Re: Model Validation
« Reply #2 on: March 07, 2007, 12:27:05 am »
Quote
Hello,

is there a way to make a validation model indicating that one package has not to be linked to another one by using the stereotype (and how, if it s possible).

Thanks.

How should a (validation) machine know what dependency is missing? It can't read your mind.

RupIsGoodForYou

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Model Validation
« Reply #3 on: March 07, 2007, 12:39:40 am »
I don't think a machine can read my minds but is it possible to set a rule in EA which test if the package stereotyped 'toto' have not to be linked to a package stereotyped 'tata'.
I would just like to check my analysis structure.

Thanks.  

thomaskilian

  • Guest
Re: Model Validation
« Reply #4 on: March 07, 2007, 12:44:00 am »
Now your intention is clearer ;) You could probably do so with a SQL. There's a similar recent thread dealing with that too.
Edit: see here
« Last Edit: March 07, 2007, 12:46:35 am by thomaskilian »