| How to define a stereotype which subsets a meta-class association / redefine an attribute [message #958957] |
Fri, 26 October 2012 06:46  |
Andrea Sindico Messages: 252 Registered: November 2010 |
Senior Member |

|
|
I would like to define a stereotype for the UML::Class meta-class which redefines the ownedBehavior attribute so that it can only refer to Activity instances. I guess one way to do that is via OCL constraints but I can't see the Constraints tab in the Stereotype's properties view (which should instead be present according to some docs I found on the Internet). Plus I'd like the editor to allow only the instantiation of Activity behaviors for class with such stereotype. Should I do that by means of a "static" profile?
Follow me on Twitter @andreasindico
|
|
|
|
Powered by
FUDForum. Page generated in 0.03574 seconds