Book a Demo

Author Topic: OCL Validation  (Read 4270 times)

Yves C

  • EA User
  • **
  • Posts: 33
  • Karma: +1/-1
  • I love YaBB 1G - SP1!
    • View Profile
OCL Validation
« on: December 30, 2011, 03:08:47 am »
EA Model validation is supposed to verify OCL constraints but I can't find any example in the documentation and it seems that EA implements only part of OCL spec.
I would like to create an ocl constraint specifying that for a given relationship stereotype I can only have specific class stereotypes as source and target.
Example : Relationship "sends" has a source which is a "Sender" and a target which is a "Receiver".






Yves

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: OCL Validation
« Reply #1 on: December 30, 2011, 05:29:20 am »
EA does not verify your model using OCL but rather checks the syntax of the used OCL constraints.

q.

Yves C

  • EA User
  • **
  • Posts: 33
  • Karma: +1/-1
  • I love YaBB 1G - SP1!
    • View Profile
Re: OCL Validation
« Reply #2 on: January 02, 2012, 07:47:28 pm »
Seriously now, no one knows how OCL validation works with EA ?
Yves

Ernani Gaspar

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: OCL Validation
« Reply #3 on: January 24, 2012, 05:44:28 am »
I am also looking for additional material about using OCL in UML models, instead of OMG Spec.