Nathan Coast wrote:



The validation translation library doesn't play any part in the bpm4struts validation (that's all tagged values). The validation TL generates the code the validates the constraints on the metafacade models (however I'm currently making the the spring services operations take advantage of the validation TL so that we can model preconditions that are verified before the service operations iare executed).



Thanks Chad,

found the bpm4struts tagged values on the signal event parameters.

So at present, there's no part of AndroMDA that uses the validation TL to generate struts/commons validation artefacts? Currently, are there any examples of the validation TL being used to generate anything?

Yeah, our metafacades use them for all model validation, take a look at EntityLogic (in the andromda-all/metafacades/uml/uml14 module), in there you'll see a bunch of genered code in the "validateInvariants" operation (which is a result of having them modeled on the Entity in the UML metafacade model). Also take a look at the SpringCartridgeTestModel (in andromda-all/cartridges/andromda-spring/test/uml), if you look on the ServiceOne::operationWithMultipleArguments you'll see a precondition modeled which is then translated into java code in the ServiceOneBase (andromda-all/cartridges/andromda-spring/target/cartridge-test/actual)



cheers Nathan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to