Yes, you can have one cartridge use pluralization and one cartridge not use pluralization by setting that property in its namespace�is that what you mean?
________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriela Chiribau Sent: Tuesday, January 25, 2005 1:34 PM To: [email protected] Subject: RE: [Andromda-user] Pluralize problems What I am trying to say I guess is that pluralization is a decision that should be put at cartridge level. � >From what I see the properties are set at the "plugin" level. � Can we override pluralization at cartridge level for the same project ? Chad Brandon <[EMAIL PROTECTED]> wrote: Have you seen the pluralizeAssociationEndNames property: http://www.andromda.org/andromda-metafacades-uml/namespace.html ? ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriela Chiribau Sent: Tuesday, January 25, 2005 12:49 PM To: [email protected] Subject: [Andromda-user] Pluralize problems Scenario: There are 2 cartridges that need diferent behavior: e.g. cartridge 1 needs to generate a getter with the pluralized name of the end in the association; this is a 3d party cartridge and we don't want to modify it cartridge 2 needs to generate a getter with non-pluralized name. How does one instruct cartridge no.2 to: if(end name not set) ����� generate non pluralized name else ������ generate the normal getter/setter � The main problem resides in the fact that andromda metafacade returns the pluralized name if the end name is not set. This is not correct, because there is no way for the template writer to detect the intention of the user. � ________________________________________ Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' ________________________________________ Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
