Author Topic: TaggedValues vs. TaggedValuesEx difference  (Read 3578 times)

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
TaggedValues vs. TaggedValuesEx difference
« 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!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: TaggedValues vs. TaggedValuesEx difference
« Reply #1 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.