Inheriting Multiple and Repeated Parts in Timor

By: J. Leslie Keedy, Christian Heinlein, Gisela Menger

Abstract

The paper describes one aspect of multiple inheritance in the Timor programming language, viz. how “parts” such as a type Radio and a type Cassette Player can be inherited, where appropriate repeatedly, in subtypes such as a Radio Double Cassette Player. Because such types can also be defined via aggregation the paper begins by comparing inheritance with aggregation. It then shows how such cases can be handled first at the type level and then at the implementation level in Timor.

Cite as:

J. Leslie Keedy, Christian Heinlein, Gisela Menger, “Inheriting Multiple and Repeated Parts in Timor”, Journal of Object Technology, Volume 3, no. 10 (November 2004), pp. 99-120, doi:10.5381/jot.2004.3.10.a1.

PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn

The JOT Journal   |   ISSN 1660-1769   |   DOI 10.5381/jot   |   AITO   |   Open Access   |    Contact