Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Jumbik on November 25, 2002, 01:20:52 pm
-
We are modelling system in Use Case Model. It is a great system integrated from another finished systems and only a "little part" will be programmed. Customer wants to see the whole system in whole integrated funkcionality, our developers from our team want to see only use cases of solved "little part". I think, it is possible to do this by stereotype of use case with name <<external>>. These use cases will have another color and they are not the subjects of developing, but they are also components of delivery.
But I cannot put new stereotype for use case. It is not possible, because use case is not in list of Base Class for new stereotype.
Is it purpose? I think, in metamodel UML is no constraint, the stereotype is for "anybody".
Thanks for answer,
Jumbik
-
Hi Jumbik,
True, in References -> Stereotypes there is no option for use cases in "Applies to"; true, also, that UML allows for stereotyping of any classifier and any association. But use cases are classifiers (for those not familiar with the concept, these are, basically, UML elements that have both attributes and behaviour), and there is an option for "Applies to" "classifier" in References -> Stereotypes, and you can create the <<external>> stereotype for your use cases there.
After you create this stereotype for classifiers, it will be available in your use case dialogs.
To automatically give these use cases a clear visual cue, just follow the instructions on metafiles in help.
Hope this works for you, and good luck!
Jaime Gonzalez
-
Hi jaime,
I had the same idea in last, but I think, it does not work. I added a stereotype <<external>> to classifier, but my use case does not feel it...
Jumbik.
-
What version and build are you using?
I created an <<external>> stereotype for classifiers using version 3.11, build 504 (Reference -> Stereotypes Stereotype: external, Applies to: classifier) and I can see it in the Stereotype dropdown edit in the use case's dialog.
Of course, it does not show up as <<external>> in the diagram representation of the use case; but very possibly you can give it a visual cue by using the metafile procedure. (I did not try the metafile.)
Jaime
-
Hi jaime,
I have ordered EA by Internet, now I am playing with trial with this infos:
3.50.577, build 577, database version 3.50 from oct 01 2002.
I see stereotype external in list of stereotypes (Stereotypes / Listview named Current stereotypes, row: Applies to = classifier, stereotype = external, note = empty), but it is not in list - combobox Stereotype in my Use Case ( I see in alpahabetical order values ...enumeration, exception, form..., and external is missing)
Jumbik
-
Hi,
I must return to my problem with sterotypes in Base Class Use Case. I have EA 3.50, build 584 (not trial but real version now) and the problem with stereotypes remains. I cannot put stereotype to Base Class Use Case and when I assign this stereotype to Classifier, Use Case has not this stereotype. I need stereotype for UC in my project... Do you know about any solution?
Jumbik.
-
Hi Jumbik,
You are right: in EA 3.1 use cases recognize classifier stereotypes, but not in 3.5. However, they do recognize class stereotypes.
I hope Sparx fixes this; but, meanwhile, why don't you use the procedure I suggested using class instead of classifier?
Hope this helps.
Jaime
-
Thanks jaime,
with class it works OK, problem is over (en passant - where was this suggestion with class? I really did not espy it and I missed it :) )
Jumbik.
-
Sorry that I did not express myself correctly: the suggestion I was reffering to is the one I already made on classifiers.
Jaime
-
Hi,
The next build of EA will contain a fix for this - use cases will appear in the stereotype drop list, and use cases will also pick up the classifier base class.
The next build will be 585 and it should be released in a day or two.
Geoff Sparks