Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: skelesp on August 13, 2013, 11:40:39 pm
-
Hi
I was just playing around with the tagged values of a stereotype. After some tests it seems that is doesn't matter which value you give to the type-attribute of the tag-element.
<Tag name="Test" type="xxx" description="" unit="" values="1,2,3" default="1"/>
If you want to specify the tagged value type, you have to create a new one with the same name as the tagged value (in this case "Test").
Am I correct or is there some use in setting the type-attribute?
S.
-
Yes, you are right. If you want to include a predefinde Tagged Value, ehte ones you define using Settings -> UML Types -> Tagged Value Types, you have to add an Attribute to your Stereotype element with the exact name as you gave the Tagged Value when you entered it.
Henrik