Book a Demo

Author Topic: How to add a TaggedValue to a Model  (Read 5894 times)

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
How to add a TaggedValue to a Model
« on: December 03, 2010, 02:13:33 am »
Hi,

is there a way to add TaggedValues to a root node?

Regards
Rainer

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How to add a TaggedValue to a Model
« Reply #1 on: December 03, 2010, 08:16:37 am »
No, there isn't.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to add a TaggedValue to a Model
« Reply #2 on: December 03, 2010, 07:28:57 pm »
Rainer,

The problem is that Root Nodes are treated a bit special in EA.
They are only defined as packages, but don't have an Element associated to them as other packages have.
And it is exactly this Element which allows for the tagged values.

Geert

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
Re: How to add a TaggedValue to a Model
« Reply #3 on: December 03, 2010, 08:25:12 pm »
Hello Geert,

yes this was what I thought, as I realized that I can't get the "special element" by GUID form the root node.

This is a pity, because I need a place for my "ScrumAddIn" to hold my "ScrumProperties" like velocity, product owner, scrum master,....

Adding a additional package just for the purpose of having a place on where to put these parameters some how doesn't "look" very good.

Regards
Rainer

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to add a TaggedValue to a Model
« Reply #4 on: December 03, 2010, 08:31:43 pm »
Rainer,

I've read a best practice (I think it was from Paolo) to always have only one root node and start dividing into models from that point on.
That would be a solution for your problem.

Geert

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
Re: How to add a TaggedValue to a Model
« Reply #5 on: December 03, 2010, 08:48:10 pm »
Hi Geert,

in general you are right. But I like to separate Project-Management and model a little from each other  and still have both in the same .eap

I don't know how familiar you are with scrum, but in general Scrum is a agile project management. I believe a good one ;-) and I want to have its process available in EA, that is why I am working on this AddIn.

Regards
Rainer

To give you a Idea on what I am working on....

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to add a TaggedValue to a Model
« Reply #6 on: December 03, 2010, 08:57:57 pm »
Hi Rainer,

I'm nowhere near a scrum specialist, but we use a scrum-based project methodology as well.
Looks really impressive, are you building this for internal purposes, or are you planning to release it as a commercial product?

We had a similar question a while ago, and I think I suggested to "abuse" the notes field of the root node.
This won't show up in EA, but still allows for plenty of room to put your data.

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to add a TaggedValue to a Model
« Reply #7 on: December 03, 2010, 08:59:59 pm »
This http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1289471324 was the topic I was referring to.

Geert

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
Re: How to add a TaggedValue to a Model
« Reply #8 on: December 03, 2010, 09:18:47 pm »
Hi Geert,

Quote
I'm nowhere near a scrum specialist
nor am I. I only "read a book" and started to adapt this process ;-)

Currently I am developing this AddIn for internal purposes, but once it runs quite stable and provides a certain minimum of Scrum functionality I might give away the Version 1.0 for free. I haven't made up my mind yet.

To use the root nodes notes sounds like a idea. I already wrote a generic "TypedTaggedValue" class to store my properties as Tagged values and it would be nice to only use "one" storage type for my properties. Well I guess I could write me a "PropertyFromNotes" mechanism as well. Still not very elegant ;-)

Regards
Rainer