Hallo,
I have the following problem, maybe some one of you had a same problem in the past.
I use EA v11.1
I have created multiple stereotypes from the requirements element.
System Requirement(UML::Requirement)
_metatype=System Requirement
Software Requirement(UML::Requirement)
_metatype=Software Requirement
... an so on
until now, all is fine.
but I am not happy with the auto generated name at the creation:
"Software Requrement 1", "Software Requrement 2", ...
This is not so nice i think. I would prefer something like:
"SwR-0001 ", "SwR-0002 ", ...
I know it is possible for the basic EA elements with the auto name counter, where you could define prefix, counter, suffix. I was a little disappointed as is saw this only worked for the basic EA elements and not for stereotypes.
Did some one of you had have the same problem in the past? ... and maybe a solution?
I started working with EA at the end of last year, so I have low experience with it.
I do not know the full spectrum of possibilities and borders of EA.
So let me throw in some simple-headed thoughts of mine.
- Do EA throw a event where scripts can trigger on element creation?
- Is multiple inheritance on the stereotype a solution. I just let every ST inherit an additional meta-class witch i do not use any more and use this as trigger for the auto name counter function. But how do i say what meta-class is primary in charge?
Greetings and thanks for your time
--
Michael