Data encapsulation in software components

  • Authors:
  • Kung-Kiu Lau;Faris M. Taweel

  • Affiliations:
  • School of Computer Science, The University of Manchester, Manchester, United Kingdom;School of Computer Science, The University of Manchester, Manchester, United Kingdom

  • Venue:
  • CBSE'07 Proceedings of the 10th international conference on Component-based software engineering
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Data encapsulation is a familiar property in object-oriented programming. It is not only useful for modelling things in the real world, but it also facilitates reuse by enabling the creation of multiple instances of the same class, each with its own identity and private data. For CBSE, this kind of reuse is clearly also one of the key desiderata. However, it must be achieved in conjunction with composition, which is central to CBSE. In this paper we show how data encapsulation can be combined with composition, by extending a component model we have defined previously.