[Uml-devel] Object A and B in association

Lea Anthony lea at fluidenterprises.co.uk
Wed May 21 02:20:03 UTC 2003


On Wednesday 21 May 2003 01:02, Jonathan Riddell wrote:
> You'll need to send us your actual code to be able to debug it more.

*Ahem* I was tired and had a typo! I wasn't going to say anything but now 
you've made me publicly admit that i'm an idiot :)

> Do you know that there is already an SQL code generator in KDE's CVS
> version (which is the version you need to be using if you're developing
> for Umbrello 1).

Yes I do. I wasn't sure what the idea was behind it as different databases 
will have different types. The only thing I've added is a type conversion 
function (UML->MySQL) and altered the foreign key constraint generation (I 
need to look at uml.org to see if I've handles role names correctly). On that 
note, is multiplicity a new name for cardinality?

For my application, I'm looking at creating an integrated php/mysql system. As 
such I've merged my mysql writer with the php writer and making alterations 
as required (I didn't want to tread on anyone's feet). As the PHP code 
references the SQL directly, it didn't seem right to simply change the PHP 
writer.

I've never really been on a OS project before so any tips would be great. 

Cheers,

-Lea.




More information about the umbrello-devel mailing list