Quote: Besides a getter and setter, I want to generate a canHaveAs method that's called in the setter method to check if the value you want to set is valid. So I added an attribute taggedvalue in magicdraw: @andromda.condition that holds the condition (eg. "> 0"). This also works fine. But in my template file I can't do canHaveAsName (like with getterName, setterName). How can I add such a method in the metafacades? The provided uml model for the metafacades is read-only, so I can't just add a method in there. (end of quote)
Create a new JavaMetafacadeModel that references the UMLMetafacadeModel (take a look at any of the other cartridge metafacade models to see what I mean). You can then model your JavaClass metafacade with the canHaveAs method. Again take a look at how any of the other cartridges are set up (they all use their own metafacades...the java cartridge does not). Quote: The comment I fill in in magicdraw comes with <p></p> tags in my code. Can I remove those tags somewhere somehow? (end of quote) Sure...you need to pass in the htmlStyle as false for the getDocumentation() method (http://team.andromda.org/docs/andromda-metafacades-uml/xref/org/andromda/metafacades/uml/ModelElementFacade.html) Quote: - How can I tell androMDA to add my stereotypes and tagged values default to the profile of new projects? (end of quote) You'll need to add them to your projects in packages different than the ones in the andromda-profile, or you can create a profile of your own that you use in addition to the andromda one. Quote: I can't find where the "primitive" attribute is defined. (end of quote) The primtive attribute is defined on the ClassifierFacade. -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2240#2240 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user