Book a Demo

Author Topic: MDG extend stereotype  (Read 10573 times)

milan.petrak

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
MDG extend stereotype
« on: November 24, 2021, 06:44:48 am »
Hi all,

It's possible define <profile> with some how extended <stereotype> or build it as composite ?

https://www.dropbox.com/s/u9ey1lksflc9ei6/Snimka.JPG?dl=0

In my case Element<stereotype> is composite from _ElementType

Tx

Milan

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: MDG extend stereotype
« Reply #1 on: November 24, 2021, 08:00:19 am »
Generalization from Element to _ElementType.

Extension is only from a stereotype to a UML type.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG extend stereotype
« Reply #2 on: November 24, 2021, 09:38:17 am »
The other Extensions just look strange, don't they? I thought that Extension is only from Stereotype to Metaclass? What would be an Extension from Class to Stereotype. Nothing defined in UML, I guess.
Quote from: UML 2.5 . 271
An extension is used to indicate that the properties of a metaclass are extended through a stereotype, and gives the ability to flexibly add (and later remove) stereotypes to classes.

q.

milan.petrak

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: MDG extend stereotype
« Reply #3 on: November 28, 2021, 06:09:05 am »
I made _ElementType ... where I want to use those parameters in stereotype Element which will extend class <metaclass>

I want to try make mdg for openui ...

https://photos.app.goo.gl/fyZW6UcEu3jVcY8y5

i thing i must build it in jscript

tx

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG extend stereotype
« Reply #4 on: November 28, 2021, 07:18:11 am »
Again: Extension works only from Stereotype to Metaclass. Anything else would be undefined.

q.