Book a Demo

Author Topic: Stereotypes in Transformations  (Read 2626 times)

Vincenzo

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Stereotypes in Transformations
« on: February 14, 2008, 12:00:43 pm »
Hi,
I'm writing a model transformation and I'm trying to get multiple stereotypes attached to a class.

Why does the %classStereotype% macro only returns the last of multiple attached stereotypes?

Is this a bug?

Thanks in advance.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Stereotypes in Transformations
« Reply #1 on: February 14, 2008, 03:47:15 pm »
I suspect (without checking) that this is a legacy issue. Is there not an "ex" version of the macro?
No, you can't have it!

Vincenzo

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Stereotypes in Transformations
« Reply #2 on: February 23, 2008, 08:49:11 pm »
There is no ex version of the macro. I've written some Add-in methods that return the values of the instance variables Element.StereotypeEx, Method.StereotypeEx, Attribute.StereotypeEx and Connector.StereotypeEx.