Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to define a stereotype which subsets a meta-class association / redefine an attribute
How to define a stereotype which subsets a meta-class association / redefine an attribute [message #958957] Fri, 26 October 2012 10:46 Go to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
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

Re: How to define a stereotype which subsets a meta-class association / redefine an attribute [message #958958 is a reply to message #958957] Fri, 26 October 2012 10:48 Go to previous message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

So sorry I posted it twice. It seemed not to be successfully posted.

Follow me on Twitter @andreasindico

Previous Topic:how to create a class with qualified association?
Next Topic:MARTE version and update site
Goto Forum:
  


Current Time: Mon Sep 22 22:23:56 GMT 2014

Powered by FUDForum. Page generated in 0.01526 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software