Skip to main content
Jump to: navigation, search

EMF Search OCL

Users wanting to contribute a target metamodel for OCL expression contextual evaluation should extends targetMetaModel.

targetMetaModel extension point requires three different atributes :

* nsURI - An EPackage nsURI according to the one set in .genmodel configuration file to generate the Java code of this Ecore package.
* level - The modeling level which will be used for the contextual OCL expression evaluation.
This level comes from the meta modeling levels commomly described in corresponding domain writtings 
(eg: M1 is an instance of a model, M2 a model, M3 the Ecore metamodel & M4 the EMOF).
* target - There are currently only two targets : "Ecore" & "UML". This has to be extended to support arbitrary model target contributions.


Back to the top