Matthias, you are right. In fact, the UML tool should warn you. If you have two associations between the same classes, the names at the associationEnds must be unique. If trhe names are not unique, the model is not a well-formed UML model.
Jos Warmer [EMAIL PROTECTED]
At 10:51 PM 11/13/2003 +0100, Matthias Bohlen wrote:
Hi,
yes, there is! Simply give role names to the association ends. The getters/setters will be named after the roles.
Cheers... Matthias
---
Matthias Bohlen "Consulting that helps project teams to succeed..." http://www.mbohlen.de/
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of AndroMDA Users > Sent: Thursday, November 13, 2003 7:03 PM > To: [EMAIL PROTECTED] > Subject: [Andromda-user] HIbernate - two associations between > two classes > > > Hi folks, > I'm trying to generate the hibernate stuff from a model where > there are two diferent associations (diferent names) between > the same two classes. Well, the andromda-hibernate cartridge > generated two attributes with the same name... Is there a way > to avoid this ? > > Thanks in advance, > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, > and more! http://www.apachecon.com/ > _______________________________________________ > Andromda-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/andromda-user >
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
