Book a Demo

Author Topic: Containment of package  (Read 13136 times)

N_i_c_o_l_e

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Containment of package
« on: September 24, 2010, 03:08:53 pm »
Hi folks,

Is there a way to automatically show a containment relationship (with the O and + inside) between a parent package and a nested package if both appear in the same diagram?

Or do such relationships have to be created explicty first between the respective packages? (I would think containment is implied by the fact of nesting)

Thanks.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Containment of package
« Reply #1 on: September 24, 2010, 03:10:44 pm »
Nicole,

You indeed have to manually add those relations.
Unfortunately EA doesn't automatically adds those.

Geert

N_i_c_o_l_e

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Containment of package
« Reply #2 on: September 24, 2010, 07:25:04 pm »
Geert,

Then I guess also dependencies between packages (where elements in one package "use" elements in another package) cannot be visualized automatically on EA diagrams. In my opinion, this would be of great help in architectural analysis for checking the dependencies between packages (coupling) and detecting cyclic dependencies (and then merge them for example...). Any ideas that can help here?
« Last Edit: September 24, 2010, 07:28:11 pm by Nicole99 »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Containment of package
« Reply #3 on: September 24, 2010, 07:47:09 pm »
Adding ownership relations between package must be pretty easy to script.
For the dependency relations, that is another question. The problem is that there are a whole lot of ways one package depent on another, and you'd have to check all of these possibilities to be able to create the dependencies accurately.

I'm not sure, but I think someone posted something about an addin that does this a while ago. A search on the forum (top left button) might help to find it.

Geert

N_i_c_o_l_e

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Containment of package
« Reply #4 on: September 24, 2010, 08:32:24 pm »
Aha... thanks for the hint to scripts. I'll have a look at that.

You're right about the dependencies. If the information is already in my analysis classes as generalization, (navigable) associations, etc. maybe scripting could also offer a solution here.