Jump to: navigation, search

EMF Search OCL Extensibility---org.eclipse.emf.search.ocl.targetMetaModel

Revision as of 08:49, 25 April 2008 by Lucas.bigeardel.gmail.com (Talk | contribs) (org.eclipse.emf.search.ocl.targetMetaModel)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.