Book a Demo

Author Topic: Table associations strange behavior -  EAUI?  (Read 3767 times)

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Table associations strange behavior -  EAUI?
« on: September 24, 2009, 01:04:13 am »
So I propably stumbled today about somethig which Paolo claims to be EAUI.

To reproduce: Create two tables (classes with stereotype "table"), give one a primary key and the second a foreign key on the attribute.
Needless to say that an association between both should be drawn.
 
Open the association properties. The name and stereotype fields are grayed out (Question 1: Why?).
Enter something in the Alias field -> Name and stereotype are changeable. (Question 2: Why?).
Similar things happen to source and target role.

Change the stereotype from "table" to something different, open the connector properties again -> Same behavior. (Question 3: Why?)
Draw a second association between both tables, open its properties dialog. Name and stereotype are easily editable. (Question 4: Why now?)

Try to change the name of the first connector through automation -> Does not work. (Question 5: Why?)

It seems as if something from the foreign key setting remains even after changing the stereotype which prevent from being recognised as normal association.

Any comments?

Oliver

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Table associations strange behavior -  EAUI?
« Reply #1 on: September 25, 2009, 01:00:03 am »
Well, I managed to set the name of the link by running through all connectors via automation interface.
However the inconsistent behavior of the connector dialog if the link had once been a foreign key connector remains.

Oliver