You can refine the hierarchy of reactive classes without
using overrides and unoverrides (without losing any information).
About this task
For example, suppose you have class C inheriting
from class A, as shown in the following object model
diagram.
Suppose you want to change the hierarchy so C inherits
from B, which in turn inherits from A.
Therefore:
- The statechart that C inherited
from A is now inherited from B; B inherits
its statechart from A.
- The inheritance between A and C is
deleted.
- C does not lose any information
because its inherited elements reference new GUIds.
To change the hierarchy: