Cédric,

I implemented limited support for this feature, it should work although I
did not test it yet myself

I resolved this issue by creating an AssociationClassFacade class which
extends ClassifierFacade and has a property 'connectionAssociationEnds'
which returns both association ends on the connection (by calling the
'participant' property on those association ends you will then retrieve the
corresponding class)

give it a try and let me know if it works so I can close this issue
(http://galaxy.andromda.org:8080/jira/browse/UMLMETA-6)

-- Wouter

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:andromda-user-
> [EMAIL PROTECTED] On Behalf Of Wouter Zoons
> Sent: Friday, March 25, 2005 6:42 PM
> To: 'VIDAL Cedric'
> Cc: 'Andromda User'
> Subject: RE: [Andromda-user] Problem generating association classes
> 
> hi Cédric,
> 
> No I deleted what I had .. it was a while back, even before this issue was
> created
> 
> I have no idea what Stefan tried, I would get in touch with him directly.
> So
> you really-really need association classes ? I'm curious, why is that
> exactly ?
> 
> -- Wouter
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:andromda-user-
> > [EMAIL PROTECTED] On Behalf Of VIDAL Cedric
> > Sent: Friday, March 25, 2005 5:58 PM
> > To: '[EMAIL PROTECTED]'
> > Cc: 'Andromda User'
> > Subject: RE: [Andromda-user] Problem generating association classes
> >
> > No problem ;)
> >
> > Thanx for the reply, actually, I'm in a situation where I must have
> > something working quickly even if its specific, but if I can manage to
> > make
> > something generic, I would be pleased to send a patch. Would you mind me
> > having a look at what you've done so far in order for me to get started
> ?
> >
> > What's more, in the JIRA topic, Stefan Mlynarik seems to have gone close
> > to
> > something working, do you know where I could have a look at his work ?
> Or
> > maybe I should contact him directly ?
> >
> > Thanx Wouter,
> >
> > Cédric
> >
> > > -----Message d'origine-----
> > > De : [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] la part de Wouter
> > > Zoons
> > > Envoyé : vendredi 25 mars 2005 12:35
> > > À : VIDAL Cedric
> > > Cc : 'Andromda User'
> > > Objet : RE: [Andromda-user] Problem generating association classes
> > >
> > >
> > > my fault, jira was down when I wanted to reply to you with
> > > the link .. and
> > > so I forgot about it
> > >
> > > anyway, that topic has already been touched and you can find
> > > more about it
> > > here: http://galaxy.andromda.org:8080/jira/browse/UMLMETA-6
> > >
> > > you can try adding it yourself, I tried it once and wasn't
> > > happy with the
> > > result, it was working for the case I tried it for but I was
> > > also sure it
> > > would fail horribly in other cases (runtime exceptions),
> > > second reason was
> > > that the code was depending on side-effects ..
> > >
> > > send me a patch and I'll take a look at applying it
> > >
> > > -- Wouter
> > >
> > > > Really no ideas ?
> > > >
> > > > If that question has already been answered in the past,
> > > please, redirect
> > > > me
> > > > to the answer :)
> > > >
> > > > Should I add that of course, I'm in a hurry ;) Thanx again
> > > for your time,
> > > >
> > > > Cédric
> > > >
> > > >> -----Message d'origine-----
> > > >> De : [EMAIL PROTECTED]
> > > >> [mailto:[EMAIL PROTECTED] la
> > > part de VIDAL
> > > >> Cedric
> > > >> Envoyé : mercredi 23 mars 2005 15:52
> > > >> À : 'Andromda User'
> > > >> Objet : [Andromda-user] Problem generating association classes
> > > >>
> > > >>
> > > >> Hi,
> > > >>
> > > >> AndroMDA has a weird behavior regarding association classes,
> > > >> and I don't
> > > >> know whether it is a bug or a feature. I am using version
> > > >> 3.0M3 and modeling
> > > >> with MagicDraw 9 Standard Edition.
> > > >>
> > > >> Association classes don't seem to be recognised as such. I am
> > > >> writing a
> > > >> custom interface oriented template in which I would like to
> > > >> add support for
> > > >> association classes. For its creation, I have studied and
> > > >> tried the java
> > > >> cartridge, hibernate cartridge and spring cartridge as a
> > > >> reference but, in
> > > >> all of them, the association ends don't get generated in the
> > > >> association
> > > >> class 's source.
> > > >>
> > > >> If that feature is present in the latest SNAPSHOT version,
> > > >> please tell me so
> > > >> and ignore the rest of this email :) If that is the case
> > > >> though, could you
> > > >> please tell me if it is possible to backport that feature to
> > > >> 3.0M3, since I
> > > >> must use the latest non SNAPSHOT dependency.
> > > >>
> > > >> I have created a little example to highlight my problem,
> > > >> based on the well
> > > >> known java Locale class, I have joined the UML diagram, a
> > > >> screenshot and the
> > > >> expected generated source files. In each file, I have
> > > >> highlighted the piece
> > > >> of code that is not generated but that I would like to see
> > > generated.
> > > >>
> > > >> I have also joined my custom template in which I would
> > > like to add the
> > > >> association class support: DOInterface.dsl
> > > >>
> > > >> I would greatly appreciate your help,
> > > >>
> > > >> Thanx for your time,
> > > >>
> > > >> Cédric Vidal
> > > >>
> > > >>
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > SF email is sponsored by - The IT Product Guide
> > > > Read honest & candid reviews on hundreds of IT Products
> > > from real users.
> > > > Discover which products truly live up to the hype. Start
> > > reading now.
> > > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> > > > _______________________________________________
> > > > Andromda-user mailing list
> > > > Andromda-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/andromda-user
> > > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF email is sponsored by - The IT Product Guide
> > > Read honest & candid reviews on hundreds of IT Products from
> > > real users.
> > > Discover which products truly live up to the hype. Start reading now.
> > > http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk
> > > _______________________________________________
> > > Andromda-user mailing list
> > > Andromda-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/andromda-user
> > >
> > >
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
> > _______________________________________________
> > Andromda-user mailing list
> > Andromda-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/andromda-user
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
> _______________________________________________
> Andromda-user mailing list
> Andromda-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/andromda-user



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to