Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: McMannus on June 16, 2015, 05:52:45 am

Title: TaggedValues vs. TaggedValuesEx difference
Post by: McMannus on June 16, 2015, 05:52:45 am
Hi guys,

I have a problem while interpreting the API docs concerning the two collections.

Element.TaggedValues - Returns a collection of TaggedValue objects.
Element.TaggedValuesEx - Returns a collection of TaggedValue objects belonging to the current element and the elements specialized or realized by the current element.

What exactly is meant with the specialization and realization relations in that case? Is this related to stereotype inheritance within the profile or in the sense of common UML specialization/realization?

Thanks for help!
Title: Re: TaggedValues vs. TaggedValuesEx difference
Post by: qwerty on June 16, 2015, 06:29:06 am
Elements can inherit tagged values. Create two classes and assign a TV to either. Then draw a generalization between both. You'll see the inherited TVs afterwards.

q.