Book a Demo

Author Topic: Adding tagged values to requirements  (Read 6340 times)

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Adding tagged values to requirements
« on: January 09, 2009, 04:37:04 pm »
Hi,

I have lot of requirements that have around 10 tagged values. Its time consuming to attach all of them to individual requirements. Is there any smart way by which I can get the tagged values as default when I add a new requirement?

Thanks,
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Adding tagged values to requirements
« Reply #1 on: January 09, 2009, 06:58:40 pm »
Quote
Hi,

I have lot of requirements that have around 10 tagged values. Its time consuming to attach all of them to individual requirements. Is there any smart way by which I can get the tagged values as default when I add a new requirement?

Yes. Take a look at stereotyped elements in UML profiles.
This lets you create eg. a stereotyped requirements element which already holds a set of tagged values upon creation including default values if you want to.

Oliver

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Adding tagged values to requirements
« Reply #2 on: January 09, 2009, 08:39:50 pm »
Thanks for the reply.I am trying your proposed solution. Since I am not very familiar to EA, if you have more detailed steps / info please do share.

Thanks,
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Adding tagged values to requirements
« Reply #3 on: January 10, 2009, 12:15:15 am »
Quote
Thanks for the reply.I am trying your proposed solution. Since I am not very familiar to EA, if you have more detailed steps / info please do share.

I suggest you make yourself familiar with the process of creating a UML profile with stereotypes. The online help is a rather good source of information.

Basically what you have to do is create a stereotype for requirement elements and associate attributes to it. Afterwards you save it as a UML Profile and deploy it in a MDG technology.
This will create a new stereotyped requirements element which you can drop from your toolbox in the diagrams. All attributes you have associated in the profile will then appear as tagged values.

This sounds a bit strange at a first glance but it includes the keywords you need to look up: MDG technology, UML profile, stereotype and tagged values. Once you get familiar with the terminology you will get a better understanding of what this strange guy is trying to tell you  8-)

Regards,

Oliver

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Adding tagged values to requirements
« Reply #4 on: January 12, 2009, 11:58:36 am »
The whitepaper on Requirements Management covers this process in detail specificaly for requirements "Attributes" - see: http://www.sparxsystems.com.au/resources/whitepapers/index.html

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Adding tagged values to requirements
« Reply #5 on: January 13, 2009, 01:01:50 am »
Thanks to both of you for your replies. Its working for me.
But there is one exception. When tagged value has enumeration how do we define it as an attribute ? Attribute doesnt allow for multiple values.
What I tried was, I created  a tagged value for stereotype im my UML Profile hoping that it automatically gets applied to the all elements of that type. But it didnt.

Thanks again,
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Adding tagged values to requirements
« Reply #6 on: January 13, 2009, 01:35:44 am »
Quote
But there is one exception. When tagged value has enumeration how do we define it as an attribute ? Attribute doesnt allow for multiple values.

In your profile create a new class of stereotype "enumeration", name it as you like (here: A). Add each enumeration item as eg. a string attribute.

The stereotype B which is planned to use the enumeration needs an attribute of type "A" (as named above) with an arbitrary name (here: C), give it an initial value.
Save all as a profile.

Afterwards if you create a new element of type B you should be able to see a tagged value C which lets you choose between the elements as defined in the enumeration A.

HTH

Oliver

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Adding tagged values to requirements
« Reply #7 on: January 13, 2009, 04:02:52 pm »
It's Perfect!! . Thank you.

Thanks,
pH



<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

friehmaen

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Adding tagged values to requirements
« Reply #8 on: February 05, 2009, 12:32:56 am »
Worked fine with a requirement, but does this work for all other elements, too?

I tried to set up a stereotyped master document, which has about 10 predefined tagged values. But i didn't get it.

Thanks and Regards,
khr