Book a Demo

Author Topic: Toolbox Stereotype Items  (Read 9121 times)

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Toolbox Stereotype Items
« on: November 19, 2021, 12:56:30 pm »
Hey all

As far as I know, when specifying a Stereotype toolbox item, the Stereotype must be specified as:

UMLProfile::StereotypeName(UML::Metatype)

For example:

MyMDG::MyStereotype(UML::Generalization)

Where the toolbox item will create the stereotype MyStereotype specialising the Generalization metatype.

However, if we take a look at the Archimate2 MDG, it has toolbox items of the form:

<Tag name="Archimate2::Archimate_BusinessActor" type="" default="Business Actor" values="" unit="" description=""/>

The (UML::Metatype) portion has been omitted entirely.

What gives?
Can anyone point me to the documentation that says this is ok? And what happens if a stereotype extends more than one metatype?

Cheers

Jays :-)


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Toolbox Stereotype Items
« Reply #1 on: November 19, 2021, 01:48:25 pm »
Yes, that's okay.

If your stereotype extends more than one metatype you will see an icon for stereotype and get prompted for what type of element to use on creation.