[ http://jira.andromda.org/browse/CORE-91?page=history ] Chad Brandon closed CORE-91: ----------------------------
Resolution: Fixed Fix Version: 3.1 In 3.1-SNAPSHOT It is now possible to turn on/off constraints, using the following notation (this turns off all constraints on the Entity): <model> ... <constraints enforceAll="true"> <constraint enforce="false">org::andromda::metafacades::uml::Entity::*</constraint> </constraints> ... </model> or (this turns off the single constraint "operation needs a return type" on the OperationFacade): <model> ... <constraints enforceAll="true"> <constraint enforce="false">org::andromda::metafacades::uml::Entity::org::andromda::metafacades::uml::OperationFacade::operation needs a return type</constraint> </constraints> ... </model> or (this turns off constraints in the "org::andromda::metafacades::uml" package and below): <model> ... <constraints enforceAll="true"> <constraint enforce="false">org::andromda::metafacades::uml**</constraint> </constraints> ... </model> > Ability to turn constraints on or off on model elements > ------------------------------------------------------- > > Key: CORE-91 > URL: http://jira.andromda.org/browse/CORE-91 > Project: AndroMDA Core > Type: New Feature > Reporter: Olaf Muliawan > Assignee: Chad Brandon > Fix For: 3.1 > > Reference to http://galaxy.andromda.org/forum/viewtopic.php?p=4670 > To turn the constraints on or off, an implementation in andromda.xml seems a > good suggestion. If constraints could be turned off individually, it would be > even better. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php