Book a Demo

Author Topic: Tag not getting generated for "Composition" Connector using MDG  (Read 3078 times)

Tafros

  • EA User
  • **
  • Posts: 25
  • Karma: +1/-0
    • View Profile
Tag not getting generated for "Composition" Connector using MDG
« on: November 18, 2019, 10:04:22 pm »
Hi everyone,

In MDG, I have created a Stereotyped connector with extended "Composition" metaclass and also added a tag value to the stereotyped connector. But, after importing generated MDG, the tag value for "Composition" Connector is not getting displayed.

Is this the issue in the "Composition" connector or I would miss anything?

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: Tag not getting generated for "Composition" Connector using MDG
« Reply #1 on: November 18, 2019, 10:17:45 pm »
You better use Association and set the default aggregationkind to "composite"

Composition as metaclass should not exist IMHO

Geert

Tafros

  • EA User
  • **
  • Posts: 25
  • Karma: +1/-0
    • View Profile
Re: Tag not getting generated for "Composition" Connector using MDG
« Reply #2 on: November 18, 2019, 11:18:22 pm »
Thanks, Geert.

I tried your way to set the Composite to Association Connector and with the Direction "UnSpecified". It looks good.
But I required the same with the direction "Source->Destination" without the Association arrow.

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: Tag not getting generated for "Composition" Connector using MDG
« Reply #3 on: November 19, 2019, 01:49:29 am »
"Source->Destination" is nothing more then saying you want to see an arrow from the source to the target.
So "Source->Destination" without an arrow is impossible.

Geert