Book a Demo

Author Topic: Tagged values connector  (Read 5495 times)

deefer

  • EA User
  • **
  • Posts: 98
  • Karma: +0/-0
    • View Profile
Tagged values connector
« on: May 28, 2009, 10:19:17 pm »
Hi,
I don't know whether this is the proper discussion forum...

I'm interested in the tagged value connector functionality described here:
http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/usingthetaggedvalueconnect.html

My problem is that I'd like to use a standard UML stereotype as the target of the tagged value, not a custom created stereotype (i.e. a Signal or a Trigger, in the example the "Node").

I've tried to specify the name UML::Signal (or UML::signal) as the name of the target of the tagged value connector but no success.

Do you know wheter there is the possibility to do it (or to do it in some other way)

Many thanks
Davide

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Tagged values connector
« Reply #1 on: May 28, 2009, 10:39:15 pm »
Try EAUML or perhaps EAUML2 as the 'domain' of the target stereotype.
No, you can't have it!

deefer

  • EA User
  • **
  • Posts: 98
  • Karma: +0/-0
    • View Profile
Re: Tagged values connector
« Reply #2 on: May 28, 2009, 10:48:07 pm »
Hi Midnight,

thank you but it doesn't work....

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Tagged values connector
« Reply #3 on: May 29, 2009, 01:38:08 am »
So you mean that you'd like to apply the tagged value to extend a connector (Signal for example) instead of a classifier (Node in the case you cite).

I really don't know. Something similar, but perhaps not quite the same, was discussed recently in the forum. I do not know if the results reported there were promising.

Perhaps someone else can shed some light on this. If any of the Sparxians read this (later tonight in Frozen North time) they might be able to provide a definitive answer.

Sorry I cannot be of more help.

David
No, you can't have it!

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Tagged values connector
« Reply #4 on: May 29, 2009, 05:10:02 pm »
I think you cannot add a tagged value pointing to a metaclass in a profile. What you can to instead is use a RefGUID type tagged value.

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1239278843/1#1
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1238534229/5#5

deefer

  • EA User
  • **
  • Posts: 98
  • Karma: +0/-0
    • View Profile
Re: Tagged values connector
« Reply #5 on: May 29, 2009, 06:48:12 pm »
Thank you Frank.

As mentioned in the other topics, do you know how to use that when defining a stereotype? I don't want to add manually the tagged value every time I use that stereotype...

Greetings,
Davide

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Tagged values connector
« Reply #6 on: May 29, 2009, 07:45:39 pm »

deefer

  • EA User
  • **
  • Posts: 98
  • Karma: +0/-0
    • View Profile
Re: Tagged values connector
« Reply #7 on: May 29, 2009, 09:49:27 pm »
Thank you, it works!

What's missing in the documentation is that you have to create the same tagged value type also in the target model (where you use the imported stereotype).

Many greetings,
Davide