Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334133

Summary: Generate protected members instead of private ones in case of inheritance
Product: [Modeling] eTrice Reporter: Herward Ahlheit <herward.ahlheit>
Component: GeneratorsAssignee: Henrik Rentz-Reichert <hrr>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

Description Herward Ahlheit CLA 2011-01-12 11:45:34 EST
Build Identifier: M20100909-0800

If an actor class extends a base class which has members, the code generator should produce all members with accessability "protected" instead of "private".
The extending actor must reach the members of the base class because the generated code holds a copy of the behaviour code of the base class. By now the extending class cannot access the member directly but only using the automatically generated public getter method. 

Reproducible: Always

Steps to Reproduce:
1. Create a base class with member variable
2. Use the member directly inside the behaviour
3. Create another actor class extending the above base class
4. Generate code
Comment 1 Henrik Rentz-Reichert CLA 2011-02-01 06:36:36 EST
resolved with b899b7153107b7895067ad4b9504891aa847920a
Comment 2 Henrik Rentz-Reichert CLA 2011-12-16 02:45:29 EST
closed resolved bug
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:48:09 EST
tagged as version 0.1.0