[Uml-devel] Code generation proposal, take 3

Sebastian Stein seb_stein at gmx.de
Wed May 14 14:38:07 UTC 2003


Brian Thomas <thomas at mail630.gsfc.nasa.gov> [030514 21:47]:
>             C. Support auto-generation of methods  (e.g. in most languages
>             this means ability to auto- generate accessor methods)

But the user should be able to control if an accessor method is needed. If
you add an accessor method for each member, this could really blow up the
code. Maybe most of this method are not needed. And it would be interesting
to say, if an accessor for writing or for reading or for both actions are
needed. In some programming languages accessor methods for both actions are
done only with one method, but in C# for example you have 2 "functions" (ok,
they are properties, but that isn't important yet).

Steinchen
-- 
Umbrello UML Modeller
Description     : UML diagram drawing tool for KDE with code generation
Homepage        : http://www.umbrello.org/




More information about the umbrello-devel mailing list