Hi Wouter,

> one thing though, if Lofi is right and the convention is to use
> lowercase names shouldn't we put this in the 3.0 release ?

I checked at this OMG spec document:
http://www.omg.org/cgi-bin/apps/doc?ptc/03-09-15.pdf

Page 175 - 178: Defining and Using Stereotypes: Using stereotypes:
Style Guidelines:
"The first letter of an applied stereotype should *not* be capitalized.
The values of an applied stereotype are normally not shown."

As I understand this docu, you *define* a stereotype just like a class
with <<stereotype>>:

<<stereotype>>
   Entity

<<stereotype>>
  PrimaryKey

To *use* these stereotypes in your diagrams:

<<entity>>
 Customer

<<primaryKey>>
   MyKey

the bpm4struts cartridge also has some stereotype names coded in the scripthelper, it's not the most beautiful way of working but it avoids loading resources bundles with constants (adding complexity).. anyway, it should not be too difficult (at least in this cartridge) to switch to a more flexible approach,

as for any workarounds, I don't see any except compiling your changes in the Andromda code.

I don't like to change the core code of AndroMDA, it will make my template code difficult to manage if I upgrade AndroMDA to the next version ;-) If I understand you correctly I can add my own ScriptHelper in my templates? Is there any HOW-TO for this purpose?

If this is possible, I could overwritte the SimpleOOHelper.java to
change the uppercase... Could you give me more hints?

Thanks!
--
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
OpenUSS - Open University Support System
http://openuss.sourceforge.net
---------------------------------------------------
E-Mail   : [EMAIL PROTECTED]
ICQ      : 39343280
---------------------------------------------------




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to