Book a Demo

Author Topic: Profile: Attribute doesn't create Tag Values  (Read 4434 times)

scs

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Profile: Attribute doesn't create Tag Values
« on: February 07, 2009, 12:20:58 am »
On Profile I am creating two stereotypes.

I am creating a class stereotype (NewClass) of the class metaclass Profile.

I am creating an attribute stereotype (NewAttribute) of the attribute metaclass with Profile too.

For both, I am defining a specific Tags Values.

I save the Profile and after I import into “Resources”

Then I am going to use the class (NewClass) on class diagram and on this class I click in “Properties / Details / Attributes” to create an attribute and I select the stereotype as (NewAttribute).

But I have a problem. The attribute created on the class doesn’t create the Tag Values.

Is it normal or I am doing anything wrong?

I need that new attributes steotypes from Profile have Tag Values from too.

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Profile: Attribute doesn't create Tag Values
« Reply #1 on: February 07, 2009, 03:49:23 am »
Quote
I save the Profile and after I import into “Resources”

This is the problematic part *sigh*
It does not work if you import the profile via the resources view but wrap the UML profile into a MDG technology file.

Oliver

scs

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Profile: Attribute doesn't create Tag Values
« Reply #2 on: February 07, 2009, 05:52:59 am »

Oliver,

I tried to import with UML profile into a MDG technology file, but didn’t work too.

Just remember, my problem is that the class attributes (Stereotyped) doesn’t create the Tag Values when I create the class attribute into class (Properties / Details/ Attributes).

Just is created the Tag Values of the attributes if I drag-and-drop de Attribute (Stereotyped) indo Class.

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Profile: Attribute doesn't create Tag Values
« Reply #3 on: February 10, 2009, 07:08:27 pm »
Quote
Just is created the Tag Values of the attributes if I drag-and-drop de Attribute (Stereotyped) indo Class.

This is true. You will also not get tagged values for a class if you create and afterwards manually set the stereotype to the one from your profile.

UML profiles seem to be applied only when used via the toolbox.

Oliver

Alantach.

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Profile: Attribute doesn't create Tag Values
« Reply #4 on: February 12, 2009, 09:02:51 pm »
When you right-click on the profile in the panel "resources" there is a synchronization function "synch tagged values and constrains" that these tagged values add to elements using this profile. I think it's easiest to correct the problem.

Alantach

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Profile: Attribute doesn't create Tag Values
« Reply #5 on: February 12, 2009, 09:57:46 pm »
Quote
When you right-click on the profile in the panel "resources" there is a synchronization function "synch tagged values and constrains" that these tagged values add to elements using this profile. I think it's easiest to correct the problem.

And again, SparxSystems does not recommend importing the profile in the resource view but points to using a MDG technology file instead in which case the synchronisation feature is not available any more.

Oliver