Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Redefinition
Redefinition [message #627353] Mon, 02 February 2009 15:04
Alexandre Torres is currently offline Alexandre TorresFriend
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
Previous Topic:Re: Loading a Resource fails
Next Topic:Redefined property type in Genmodel
Goto Forum:
  


Current Time: Thu Apr 25 23:19:47 GMT 2024

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

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

Back to the top