You're welcome.  Yes I think it could be done, I'll
have to think about the best way to do it (and still
keep it metamodel independant).  I think it would be
great to have this ability and I like you're example
below.  Thanks Francois,

Chad


--- François_Eric <[EMAIL PROTECTED]> wrote:

> Thanks for your quick answer Chad,
> 
> For now we'll use the stereotype approach but it
> would indeed be a good 
> idea to be able to specify modelelements in the form
> of:
> 
>         <modelElements variable="composition">
>             <modelElement>
>               <type
> class="org.omg.uml.foundation.core.AssociationEnd"/>
>               <property name="aggregation" value="composite"/>
>             </modelElement>
>         </modelElements>  
> 
> 
> Does this make sense?  Could it be done?
> 
> Thanks,
> 
> François
> 
> 
> Chad Brandon wrote:
> 
> >Unfortunately this isn't currently possible,
> >stereotypes are the only things that drive code
> >generation.  It would be great to provide other
> means
> >of providing code generation (like on the type of
> >model element, etc), like what you're asking for
> >below.  If anyone has any good ideas on a
> good/generic
> >way to implement this let me know and I'll see if I
> >can add something like this.
> >
> >Chad
> >
> >--- François_Eric <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>Hello all,
> >>
> >>I want to generate a file for every composition in
> >>my model (a 
> >>particular type of association).  Is it possible
> to
> >>do so with the 
> >>andromda generators by specifying a certain
> >>modelelement property I am 
> >>not aware of? 
> >>
> >>Otherwise my workaround is to tag the associations
> >>which are 
> >>compositions with a particular stereotype.  I
> would
> >>like to avoid to do 
> >>this since I am already specifying my associations
> >>as compositions and 
> >>therefore would be redundant in the model. 
> >>
> >>Hope I'm being clear,
> >>
> >>Thanks a lot,
> >>
> >>François
> >>
> >>
> >>
> >>
> >>
> >>    
> >>
>
>-------------------------------------------------------
> >  
> >
> >>This SF.Net email is sponsored by OSTG. Have you
> >>noticed the changes on
> >>Linux.com, ITManagersJournal and NewsForge in the
> >>past few weeks? Now,
> >>one more big change to announce. We are now OSTG-
> >>Open Source Technology
> >>Group. Come see the changes on the new OSTG site.
> >>www.ostg.com
> >>_______________________________________________
> >>Andromda-user mailing list
> >>[EMAIL PROTECTED]
> >>
> >>    
> >>
>
>https://lists.sourceforge.net/lists/listinfo/andromda-user
> >  
> >
> >
> >
> >
>
>-------------------------------------------------------
> >This SF.Net email is sponsored by OSTG. Have you
> noticed the changes on
> >Linux.com, ITManagersJournal and NewsForge in the
> past few weeks? Now,
> >one more big change to announce. We are now OSTG-
> Open Source Technology
> >Group. Come see the changes on the new OSTG site.
> www.ostg.com
> >_______________________________________________
> >Andromda-user mailing list
> >[EMAIL PROTECTED]
>
>https://lists.sourceforge.net/lists/listinfo/andromda-user
> >
> >  
> >
> 
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to