Redefinition [message #627353] |
Mon, 02 February 2009 15:04 |
Alexandre Torres Messages: 139 Registered: July 2009 |
Senior Member |
|
|
Hi.
I'm creating a profile where stereotype B extends stereotype A. Stereotype
A extends the uml::Class, by the extension_A/base_Class relation.
I created a relation btw B and Class called extension_B/base_Class. I want
it to redefine extension_A.
When I execute OCL constraints in my model, extension_B is not recognized.
The good news is that base_Class works for both A and B, and I can still
use the extension_A on both stereotypes.
Until now I just set the Redefined property of my extension_B to point
extension_A, but can't figure out what to put on the member end
association.
If I create a new property base_Class on extension_B, using the redefine
property pointing to extension_A's base_Class, I get warnings from the
"define" menu about duplication and "should be annotated as redefinition".
There are so many options here that I'm a bit lost. If someone has a
example model that I could download and learn what I'm doing wrong, it
would really help.
Is there some emf annotation I need to add to the model?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02763 seconds