[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] [QVTO] Executing OCL queries

Hi everyone,

I'm using OCL to carry out some calculations on EMF models. This works quite well, however I'd like to replace essential OCL with imperative OCL because its additional expressions would enable the definition of more elaborate queries (but I don't need or want query-external side-effects nor any other QVT-related functionality).

Is there a way to easily switch from standard OCL to the imperative OCL implementation of the QVT project? I tried some things, e.g. replacing the environment factory...

OCL OCL_ENV = OCL.newInstance(QvtOperationalEnvFactory.INSTANCE);

..but unfortunately, without any success.

Any help would be highly appreciated :)

Regards,
Chris