Book a Demo

Author Topic: Role names as attributes  (Read 12725 times)

JayHollingsworth

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Role names as attributes
« 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.

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Role names as attributes
« Reply #1 on: August 13, 2013, 09:59:46 am »
Create an appropriate attribute and link that one?

Best regards,
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

JayHollingsworth

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Role names as attributes
« Reply #2 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.