Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Redefined feature diagnostic.
Redefined feature diagnostic. [message #627457] Thu, 26 March 2009 20:06
Faron is currently offline FaronFriend
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
Previous Topic:[Announce] MDT UML2 3.0.0 I200903261317 is available
Next Topic:Advantages of Static Profiles
Goto Forum:
  


Current Time: Mon Mar 30 11:35:32 GMT 2020

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

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

Back to the top