Subject: If a stereotype property type is a metaclass, how can you for its tagged value select instances of that metaclass?
dear all,
I've defined a stereotype «crud» which extends metaclass 'Use Case'.
On this stereotype I've defined property 'maintains', of which the type is metaclass 'Class', with multiplicity 1..*.
When I apply this stereotype to a use case, I would expect that for the tagged value 'maintains' I can select one or more classes that I've defined in the same model.
Instead, in its value field I can type any text, as if the type of the defined property is 'string', and I cannot select any class for it.
What should I do to be able to select one or more classes for this property? I'm using Enterprise Architect version 7.0.817.
Hendrik Jan
P.S. To a certain extent a workaround is to define a stereotype «x» which extends metaclass 'class', and to define a 'tagged value' relationship named 'maintains' from «crud» to «x», with target role multiplicity 1..*.
However, this workaround has the following disadvantages:
1. For the tagged value 'maintains' you can select only one class, thus the multiplicity definition is apparently ignored.
2. It is ugly and inconvenient that you have to apply stereotype «x» to a class in order to make it selectable in the 'maintains' property.