|
MDA for Groovy using EMF
During the past few weeks I have read through loads of material regarding MDA, especially the Eclipse Modelling Framework (EMF) and all the tools around it... this is the way to go IMO! I'm considering making a more loosely coupled constraints framework, where the constraints are defined in a separate model and then mapped to the Domain Classes for reuse. Fx enablecreation of ConstraintClass "UserName" (in ecore model) with constraints of unique, minlength, regEx etc. Such a ConstraintClasses could then be extended and referenced by the static constraints closures of multiple DCs. What do you think? Kristian
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||