Michael,
One of the problems you have is that in UML (unless something has recently happened to invalidate this), a named Association End IS an attribute. So what you want can be rendered both ways, as a UML Feature (Aggregative Attribute) OR Edge (Aggregative Association) OR both since they all mean the same thing.
Your problem is that EA makes them different. We have previously asked for better coordination between the two renderings and Sparx have done some work to improving it, but then stopped.
Certainly, making them the same "thing" is still a long way off.
HTH,
Paolo
Hello Paolo,
I would be satisfied if I could model just one of them.
And of course they are attributes at least in the code.
But I want to see this attribute as an aggregated class
in UML in EA.
May be I again wasn't able to explain what I want.
In rational rose I was able to drop an instantiated element of an template class. This instatiatian has conrete parameters for the templates elements.
And that' what I want to do with the generic class.
I have a generic (in c#, which is a template class in c++)
Now I want to drag an instantiated generic class and fill in the conrete classes for the template parameters, just as I would do it with a instantiated template class in C++ in rose.
The collection class option doesn't help, because this is a one time task.
The next aggregation modeled has different parameters.
What's the way to model it as an aggregation and not as an class attriubte. (I have done it as an class attribute, but this is a case where i want to exponate the special character of the member and therefore I want to use an UML aggregation.
And it should be generated as an class attribute in c# code.
Thanx for all answers until now.
Regards
Michael