
I don’t know if this is me setting something wrong, or it’s the way EA works
Let’s say I have created 2 classes, after I create an aggregate(or any) association between them and give one of the ends a name. I generate the code- looks OK, one of my classes
has the member variable of the other class named with the end name I gave to the association end, Then I reverse engineer, Now the class which has a member variable
of the other class type has both: and Association and the Attribute? Shouldn’t it be one
or another?, Any tool I ever used never displayed both, some like(XDE) will give you
the option to convert association link into attribute or vise versa, some not, but they don’t display both of them, and I don’t recall that the UML specs set for this way?
Even worse, If I convert the association into aggregation and then reverse engineer
from generated file now I have 2 links aggregation, new association and attribute for
1 member variable
And the funniest thing is that in the code it’s always one declaration regardless that the
diagram shows 2(association and attribute)
Could someone Please clarify this for me, is there a setting to set or something else or it’s
just a bug
Thank you