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?
all cartridge meta-models use OCL to have it translated into validation rules (the errors you see at the end of an andromda run are violations of these OCL constraints)
the rules are translated into Java code because AndroMDA has been written in Java
just open-up any cartridge UML model from the AndroMDA source and take a look at the OCL constraints modeled on the metafacades contained therein
-- Wouter
------------------------------------------------------- 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
