Book a Demo

Author Topic: MDG : Error with Extension to MetaClass ???  (Read 6978 times)

Mesple

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
MDG : Error with Extension to MetaClass ???
« on: May 31, 2018, 12:45:57 am »
Hi all,

I'm using the last version V14.
I'd like to update my MDG Techno, by adding a new stereotype "A" from an existing metaclass "B".
And I've the following error msg when I create the "Extension" link between "A" and "B" : "The requested connection is not UML compliant"
????
Thanks for your help!
Olivier



Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: MDG : Error with Extension to MetaClass ???
« Reply #1 on: May 31, 2018, 09:12:23 am »
You have to use 'Generalize' if you are extending from a stereotype, it is a recommended practice to also have the actual meta class (that A extends) included in teh definition and have an extend connector from B to the Metaclass

So B must be a Subtype of A and extend the Metaclass.

Mesple

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: MDG : Error with Extension to MetaClass ???
« Reply #2 on: May 31, 2018, 05:32:38 pm »
Thanks for your response  :) but unfortunatly, it doesn't work.
Same msg : "The requested connection is not UML compliant" whatever the type of the link between the "metaclass" and the "stereotype" objects.
I suppose that I have probems with EA parameters or MDG Technology?
If I select a metaclass object in my profile diagram, the quick linker doesn't propose any stereotype to extend?
Any idea?

Thanks
Olivier

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG : Error with Extension to MetaClass ???
« Reply #3 on: May 31, 2018, 06:03:35 pm »
I'm not sure if you are doing something wrong or not, but you can bypass the error message by turning off the strict connector syntax option in the settings.

Geert

Mesple

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: MDG : Error with Extension to MetaClass ???
« Reply #4 on: May 31, 2018, 06:28:50 pm »
Thanks Geert :-)

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: MDG : Error with Extension to MetaClass ???
« Reply #5 on: June 03, 2018, 09:39:20 am »
I'm experimenting the same issue. Extending metaclasses is not working as always. Build 1421

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: MDG : Error with Extension to MetaClass ???
« Reply #6 on: June 03, 2018, 09:32:57 pm »
even after disabling strict syntax?

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG : Error with Extension to MetaClass ???
« Reply #7 on: September 12, 2018, 05:47:24 pm »
You have to use 'Generalize' if you are extending from a stereotype, it is a recommended practice to also have the actual meta class (that A extends) included in teh definition and have an extend connector from B to the Metaclass

So B must be a Subtype of A and extend the Metaclass.

As a side note, I always followed this practice of extend the MetaClass e.g. Class and create a Generalization to the existing Stereotype (e.g. Archimate, SysML...).
I noticed that it works when I don't extend the Metaclass but only use a Generalization. Hence I wonder if there's any use in including the Metaclass.

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG : Error with Extension to MetaClass ???
« Reply #8 on: September 12, 2018, 06:38:00 pm »
I did run into problems when not including the extension of the metaclass in my profile.
Seems like a bug to me, but for the moment I'm still including the metaclass relation to the profile.

Geert

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG : Error with Extension to MetaClass ???
« Reply #9 on: September 12, 2018, 09:08:32 pm »
Thanks for the info Geert.

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com