[Uml-devel] Data types and codegenerators

Jonathan Riddell jr at jriddell.org
Sun Mar 16 12:10:33 UTC 2003


On Sat, 15 Mar 2003, BARTKO, Zoltan wrote:

> I have a need to develop a SQL-code generator for Umbrello. There is one,
> and yes, I do help Nikolaus Gradwohl (the original author) with it.
>
> Since SQL is mostly different than Java, Cpp, or any object-oriented
> language, even if PostgreSQL claims to be an ORDBMS, (My final year project
> I am working on was designed in UML and the backend should be written in
> SQL) I was thinking of the following:
>
> * Add the possibility of switching sets of types with "a flick of the wrist"
> and be able to choose the set of types that should appear in the pull-down
> lists when defining the types of attributes and operators:
>
>     * UML default
>     * Java
>     * Cpp
>     * SQL
>     * etc.

Maybe adding a virtual method getDefaultAttributesTypeList() to
codegenerator could work, then the list is populated with those values in
the current Active Language.

Jonathan Riddell






More information about the umbrello-devel mailing list