4. Object Structures, Aliasing, and Encapsulation
4. Object Structures, Aliasing, and Encapsulation
4. Object Structures, Aliasing, and Encapsulation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
„Unless objects are conceptually allowed to containother objects in their entirety, there is little hope tomaster complexity in a pure object-oriented approach.... It is, therefore, <strong>and</strong> quite paradoxically,nontrivial to introduce the notion of components intoobject systems.“[ David Luckham et al. ]<strong>4.</strong>1 <strong>Object</strong> <strong>Structures</strong> <strong>and</strong> <strong>Aliasing</strong>• <strong>Object</strong>s are the basic building blocks ofobject-oriented programming.• However, interesting system components <strong>and</strong>program abstractions are almost always providedby sets of cooperating objects.Explanation:(<strong>Object</strong> structure)An object structure (Objektgeflecht) is a set ofobjects that are connected via references.13.05.13© A. Poetzsch-Heffter, TU Kaiserslautern2