Refactoring and aggregation

38Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Object-oriented programs evolve by means other than just the addition of new classes. The changes to object-oriented programs that have been most studied are those based on inheritance, on reorganizing a class hierarchy. However, aggregation is a relationship between classes that is just as important as inheritance, and many changes to an object-oriented design involve the aggregate/component relationship. This paper describes some common refactorings based on aggregation, including how to convert from inheritance to an aggregation, and how to reorganize an aggregate/component hierarchy just as one might reorganize a class inheritance hierarchy.

Cite

CITATION STYLE

APA

Johnson, R. E., & Opdyke, W. F. (1993). Refactoring and aggregation. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 742 LNCS, pp. 264–278). Springer Verlag. https://doi.org/10.1007/3-540-57342-9_78

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free