The sub-class cannot use the attributes of its super class.
Please find attached an example. This example is intended to update a class by
modifying an attribute, which is located in its super class.
The based-ecore metamodel contains the class Person, that has two sub-classes
Male and Female, and two other classes Woman and Girl which are sub-classes of
the class Female. The class Person has an attribute name.
The xMOF configuration contains the configuration classes and only one activity
(the main activity).
The main activity contains six actions, which are two 'create object' actions
("create Women" and "create Girl"), two 'value specification' actions named
"specify String Lucie" and "specify String Clara", and two 'add structure
feature' actions named "set name".
This example should create two objects Women and Girl and update their
attributes 'name' located in the super class Person.
Original issue reported on code.google.com by SAIDIZ...@gmail.com on 11 Dec 2014 at 6:49
Original issue reported on code.google.com by
SAIDIZ...@gmail.com
on 11 Dec 2014 at 6:49Attachments: