I would just like to add myself to the list of those who are not "hip"
to the "The" prefix for default association end names. I made a change
to the EJB templates (and I think the code) a while back to make it
default to the class name at the other end (lower case first letter).
Unfortunately it was not incorporated into the code base (my fault - I
didn't know how to use patch files at the time), and I don't have time
at the moment to make the change in the new code base.

But I mention this in case there are others who are turned off by the
"The" - it really is a small change that may make a lot of people happy.
I suggest that there be a configurable prefix (which can be nothing). A
"many" end of an association probably should be explicitly named anyway,
so it doesn't matter what the default is there.

David Wann.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Topping
Sent: Wednesday, 10 December 2003 9:02 AM
To: [EMAIL PROTECTED]
Subject: [Andromda-user] extricating "THE"

hi all,

just back into using AndroMDA for another round, see if I can catch the
wave
this time...

I'm looking at the generated output, and associations that don't have
named
ends end up being named "TheFoo", etc.  Aside from conventions of not
liking
local variables to start with an uppercase letter, I'm not real hip to
having
instance variables be anything but the lowercased name of the class.

Is there a way to turn this off?  I don't see any names in my XMI of
this
form, and it looks like andromda is just simply calling OMG libraries.
Am I
stuck with this behavior?

An alternative is to painstakingly name the association ends.  Blech.

Okay, thanks...

-b


-------------------------------------------------------
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



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to