This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes stereotypes for providing adittional behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "stereotypes for providing adittional behaviour" Watch "stereotypes for providing adittional behaviour" New topic
Author

stereotypes for providing adittional behaviour

Guadalupe Ortiz
Ranch Hand

Joined: Sep 12, 2003
Posts: 74
I have got three different questions:
*I want to create an stereotype which extends an operation behaviour. In this sense I create an sterotype, called xx, which extends the operation metaclass.

When I want to use it I just add the lable <<xx>> before the operation name.

I wondered if it is "legal" in uml to add, as chacrteristic of the sterotype one or more attributes and operations [I mean into the profile where I define the stereotype], then this attributes and operations would be specified to the particular stereotype by using a note.

* On the other hand, if I define a stereotype called <xx> for an operation, can I have different instances of this stereotype qith different names?, How would they apper in the final model, something like <<xx: name>>operation?

* My last question is if i have an abstract stereotype can I specify a new generalization for this sterotype in a model and then use the new stereotype (children) in order to apply to an element in the model.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: stereotypes for providing adittional behaviour
 
Similar Threads
Companies not using UML
Stereotype Inheritance
[LONG POST] IBM Pre-assessment Test
Something seems wrong in Pre-Assessment/Sample Test for Test 486
Stereotype Vs constraint