Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Zvolensky on December 14, 2016, 07:37:52 pm

Title: Tagged values on a package
Post by: Zvolensky on December 14, 2016, 07:37:52 pm
Hello all
Is there a way to have a set of predefined custom tagged values attached to a new package after the package was created? Or do i need to add them each time i create a new package?
Any advise?
Title: Re: Tagged values on a package
Post by: Boron on December 14, 2016, 08:29:16 pm
You could create a specialized UML profile with a new stereotyped package containing the tags.
We did this as we want to use packages with stereotypes like <<Functionality>> or <<Component>>. Along with the stereotypes we have tags like "ASIL" where we can select an enum value (QM, ASIL-A, ASIL-B, ASIL-C, ASIL-D, undefined). You see that I am working in automotive industry :).

Not sure if this is the best starting point: http://sparxsystems.com/enterprise_architect_user_guide/13.0/model_domains/umlprofiles.html (http://sparxsystems.com/enterprise_architect_user_guide/13.0/model_domains/umlprofiles.html).
Title: Re: Tagged values on a package
Post by: Geert Bellekens on December 14, 2016, 09:56:37 pm
Have you tried the template package?

Geert
Title: Re: Tagged values on a package
Post by: Zvolensky on December 14, 2016, 10:08:14 pm
Hello
Yes, we did and t works like a charm for objects
I can try it out on packages, but will also take a look on Boron's approach