Hey Matthias,
Take a look at bpm4struts, Wouter has put quite a bit of validation in that cartridge model. To see the generated code, check out the Logic class for each model element that has one or more constraints. For finder translation, unfortunately there aren't any good examples of queries in any models we have, once the car rental sample is converted to bpm4struts (which Carlos Cuenca is working on) (and therefore a Magic Draw model) I was gonna change finders to use constraints. However if you want to see examples of how the finder's are translated, see the files in andromda-all/translation-libraries/andromda-query/src/test/translations/query, there's one for testing the hibernate QL translation and one for testing the EJB-QL translation.
Chad
----- Original Message ----- From: "Matthias Bohlen" <[EMAIL PROTECTED]>
To: "Wouter Zoons" <[EMAIL PROTECTED]>; "Chad Brandon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 2004 10:19 AM
Subject: Back from vacation
Hi Wouter, hi Chad and the others,
now, I am back from a short one-week vacation and will resume email processing. I am also resuming work on AndroMDA - there is increasing demand from my clients.
Chad: Where can I find a good example for OCL constraint translation and validation in one of the AndroMDA models? Can you point me to some class with a lot of OCL and the generated code for it?
Cheers... Matthias
---
Matthias Bohlen "Consulting that helps project teams to succeed..."
Internet: http://www.mbohlen.de/ [EMAIL PROTECTED]
Phone: +49 (170) 772 8545
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
