Hi Thad,

Can you post your questions to the forum next time: http://forum.andromda.org?

About the OCL information, yeah you're right, the information on the support is limited, we need to improve that. The AndroMDA OCL 2.0 translation capabilities are handled through plugins we call "translation-libraries". The plugins we have currently support writing invariants and preconditions on our metafacade models, as well as queries through OCL body expression (as you've mentioned already). If you run andromda with an incorrect model you'll notice you'll get validation errors at the end of processing, these are written in OCL in the metafacade model and translated to java during the generation process.

You can also write preconditions on operations on spring services (this could be easily added to any cartridge as it just calls the andromda-validation-library for translation from OCL to Java). We're planning on improving the OCL translation capabilities in the near future. In regards to other resources, search the forum (http://forum.andromda.org), I recently answered a question about good OCL resources there.

Chad

Thad Smith wrote:

Hi,

I’m new to Andromda and MDA in general. I’m trying to find some more information on writing OCL queries. Specifically, which version of the OCL syntax does Andromda support? Does Andromda support using OCL constraints in all of its forms (pre and post conditions on operations, guards, etc.) or just for wring queries to translate into HibernateQL or EJBQL? Are there other resources out there besides the limited information on OCL support in Andromda that I found in the Spring how-to (not meant to be a jab, just an observation)?

Regards,

Thad Smith




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to