|Validation after Transformation [message #1015549]
||Fri, 01 March 2013 03:48
| Alex G
Registered: January 2012
I have a text editor (XText) which creates a model A conforming to a meta model MA.
In order to validate A I have to transform the model A to a model B conforming to a meta model MB and validate B afterwards. If using Epsilon ETL and EVL, I will get EvlUnsatisfiedConstraint for the model B. The corresponding object which leads to the constraint violation is given by EvlUnsatisfiedConstraint.getInstance().
What I need is to show up errors in the text editor. Therefore I need to link somehow the objects from A which were needed in order to transform to some specific object B. Is this linking/mapping possible with Epsilon? This means, that I need some access to the meta model for the transformation.
Powered by FUDForum
. Page generated in 0.02050 seconds