Richtungswechsel bei Composition und Aggregation
Filed under How To
In Enterprise Architect werden Compositions und Aggregations standardmäßig vom Teil zum Ganzen gezogen, d. h., das Ende mit der Raute ist immer am Target und nicht am Source! Wer gerne andersherum modellieren will, kann dies mit einer kleinen Konfiguration unter Tools | Options | Links : Draw Aggregations Reversed erreichen (siehe Grafik). Nun kann die Aggregation und Composition gezeichnet werden und die Raute erscheint an dem Element, von dem die Relation gezeichnet wurde. Doch genauer betrachtet liegt die Raute immer noch am Target und nicht am Source!



September 10, 2011 at 9:41 pm
Repeating myself: this is one of the most annoying behaviors of EA. It does not change the way how EA represents the Aggregations. And this is really a problem:
1. the relationship view shows associations and aggregations not in the same direction. By this relationship view is really useless to to investigate the model, in particular the structural features of a class.
it is possible to overcome this manually, but this leads to the next issue:
2. Ea stores the aggreation such that the aggregation is stored in the same package as the composite end. This causes serious problems when transferring models from one project to another.
really messy! And Sparx service dos not provide a helpful solution.