Question & Answer
Question
What are the different types of inheritance available for statecharts?
Answer
Each item in the derived statechart can be:
- Inherited where any modification to an item in the superclass is applied to the item in the subclass.
- Overridden where any modifications to an item in the superclass do not apply to the subclass. However, deleting an item from the superclass also deletes the item from the subclass. This is different from C++, for example, where deleting an overridden behavior in the superclass causes the overridden behavior to become a regular item.
- Regular where regular items are owned by the subclass. The item is not related to the superclass and is not affected by the superclass.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
ibm10718625