Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Redefinition
Redefinition [message #478148] Mon, 02 February 2009 10:04 Go to previous message
Alexandre Torres is currently offline Alexandre Torres
Messages: 132
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:No automatic generation of OCL classes
Next Topic:Re: Using UML Profiles with EMF
Goto Forum:
  


Current Time: Fri May 24 10:30:59 EDT 2013

Powered by FUDForum. Page generated in 0.02305 seconds