Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: JayHollingsworth on August 13, 2013, 08:16:13 am

Title: Role names as attributes
Post by: JayHollingsworth on August 13, 2013, 08:16:13 am
Is there a setting somewhere which would enable me to see the role name of an association as a attribute at the other end?

In particular, I use as association to link a class to an <<enumeration>> class. Then, when moving the parent class onto an object diagram I want to set the value of the attribute to one of the values in the enumeration. But I can't, because the role name of the association doesn't appear as an attribute on the list.
Title: Re: Role names as attributes
Post by: g.makulik on August 13, 2013, 09:59:46 am
Create an appropriate attribute and link that one?

Best regards,
Günther
Title: Re: Role names as attributes
Post by: JayHollingsworth on August 14, 2013, 02:26:15 am
I know I can manually do that. But other software either gives a display option on the class to make the local property visible or there is an automated step one can take to create ("migrate") the local attribute based on the target role name after having created the link.

I assumed there was some way to easily do this in EA.