Book a Demo

Author Topic: Reflexive relationships after Code Rev Engineering  (Read 4606 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Reflexive relationships after Code Rev Engineering
« on: April 30, 2011, 06:40:01 pm »
I haven't done any source code reverse engineering for quite a while.

However, I recently reversed some C# code and was surprised to find that although EA created Associations for attributes that connected to other classes, it didn't create reflexive relationships for the attributes that referenced the imported class itself.

Should it have?  I would have thought so?

I didn't see any option in the Import Directory dialog to control that.

What's the "best practice" on such reflexive associations?

Should I report a bug?

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Reflexive relationships after Code Rev Enginee
« Reply #1 on: May 04, 2011, 10:23:58 am »
[size=14]Bump![/size]

Doesn't anybody have any views on this?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Reflexive relationships after Code Rev Enginee
« Reply #2 on: May 04, 2011, 04:47:03 pm »
Paolo,

If it creates associations for attributes that have other classes as type, then it should do so for attributes that have their owner class as type.
(just a matter of consistency  ;))

Geert