Redefined feature diagnostic. [message #627457] |
Thu, 26 March 2009 20:06 |
Faron Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi all,
Class A defines a property x of Type T.
Class B specializes A and also defines a property x (same name) of type U.
Class U specializes class T making property x covariant.
In the model, I have set the Redefined Property on B::x to A::x
I then open the New EMF Model wizard to create the genmodel, select the
UML
model, click next, etc.
I am presented with the UML Import dialog, which has the Redefining
Properties setting set to Report.
I click the Load button, which give me a Warning Dialog with the following
message:
Feature 'B::x' should be annotated as redefinition of feature 'A::x'.
I do not understand why I get this message since I have set the Redefined
Property on B::x to A::x. Is there something I'm missing?
Thanks,
Faron.
UML2 v2.2.2.v200902101430
Eclipse 3.4.1
Java 1.6
|
|
|
Powered by
FUDForum. Page generated in 0.04374 seconds