EMF attributes overriding [message #418595] |
Mon, 21 April 2008 16:34  |
Eclipse User |
|
|
|
Hello,
is it possible to override attributes of classes in an EMF model (ecore
file)?
Into my ecore I have a class A with the attribute "name" with lower bound
set to 0 and upper bound set to 1. Then I have a class B that inherits
from A but in B I need to set the lower bound of the attribute "name" to 1.
If I simply redefine the "name" attribute in B as a result I obtain two
different "name" attributes in B, the one inherited from A and the one
defined in B!!!
Maybe I need to change some properties of the "name" attribute in A or in
B?
Thanks to all
Enrico
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04797 seconds