ocleclipse-sirius

How to integrate OCL constraints to a model created with Eclipse Sirius?


Its difficult to give more details as I haven't even found a clue in OBEO Designer Community to model OCL constraints.

Anyone has a idea how to do this?

Thanks


Solution

  • You should be able to add Validation rules with a constraint expressed in AQL -- Acceleo Query Language (a flavor of OCL) directly in the .odesign file.

    See thecorresponding part of the tutorial.