Book a Demo

Author Topic: How to set stererotype attribute values in EA?  (Read 2631 times)

czhao

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to set stererotype attribute values in EA?
« on: September 19, 2007, 08:15:08 am »
I have defined stereotypes in my custom profile, and some of those need to have attributes.

Let's say I have a stereotype called 'Pattern' which extends from <<metaclass>>Attribute and has one attribute called 'value'. When I apply 'Pattern' stereotype to my class attributes, I want to set the 'value' attribute of the stereotype to a string value, however I couldn't find a way to do this in EA. I am using EA 6.5.806.

I would highly appreciate it if someone can shed a light on this.

Thanks,

Charles

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: How to set stererotype attribute values in EA?
« Reply #1 on: September 19, 2007, 03:11:47 pm »
I think you need to synchronize tagged values.
The Sparx Team
[email protected]

czhao

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: How to set stererotype attribute values in EA?
« Reply #2 on: September 20, 2007, 08:34:43 am »
It doesn't work. This worked for stereotypes that extends <<metaclass>>Class which are applicable to classes. But not for stereotypes that extends <<metaclass>Attribute which are applicable to class attributes. Any idea?

Thanks for the response!