IMMD-IV UP HELP Feb 13, 2004

Inheritance by aggregation

Technical Report TR-I4-91-04

Inheritance by aggregation
Thomas Eirich, Franz J. Hauck
english Nov. 1991, 15 pages
TR-I4-91-04
[Abstract] [Full Paper (ps,http) , 41 kB] [Full Paper (pdf) , 44 kB]

Abstract: Inheritance is an important concept in object-oriented programming. The mechanisms provided by many existing programming languages combine reuse of types and reuse of implementations. These mechanisms often violate encapsulation. Changes to an inheritance hierarchy affect related implementations. We separate type and class (implementation) and identify visibility of attributes and the binding of attributes to names as basic dimensions of class-based inheritance. To retain encapsulation we state requirements to an inheritance mechanism and show how to fulfill them with an approach to inheritance by aggregation. Initialization is used to change bindings of attributes.


Generated by tr2html V1.3 - © 1998-1999 Michael Golm.