Author Topic: UML Profile via Diagram, set Units and Values  (Read 887 times)

mvinca

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
UML Profile via Diagram, set Units and Values
« on: March 17, 2012, 06:54:04 am »
If I am creating an UML Profile using a diagram and "Save Package as UML Profile", how do I populate the "unit" and "values" attributes of the resultant XML?

<Tag name="TopLevelPbsElement" type="RefGUID" description="" unit="" values="" default=""/>

I can hand code it, but I'm not sure what to do in the GUI to fill this in.

qwerty

  • EA Guru
  • *****
  • Posts: 10881
  • Karma: +248/-232
  • I'm no guru at all
    • View Profile
Re: UML Profile via Diagram, set Units and Values
« Reply #1 on: March 17, 2012, 07:23:11 am »
Not sure if it's simply done when saving the diagram instead of the package as profile.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2705
  • Karma: +45/-2
    • View Profile
Re: UML Profile via Diagram, set Units and Values
« Reply #2 on: March 19, 2012, 09:01:26 am »
Use a «taggedValue» association from the «stereotype» class that you want to own the tagged value to the «stereotype» class that you want to reference. Give the association a target role name of "TopLevelPbsElement".
The Sparx Team
support@sparxsystems.com