• DocumentCode
    2669069
  • Title

    MultiProperties

  • Author

    Vanderkimpen, Koen ; Steegmans, Eric

  • Author_Institution
    Dept. of Comput. Sci., K.U. Leuven, Leuven, Belgium
  • fYear
    2009
  • fDate
    12-14 Oct. 2009
  • Firstpage
    715
  • Lastpage
    721
  • Abstract
    Properties, which occur in C#, provide good support for features of objects with singular multiplicity and allow straightforward implementation and use of an object´s encapsulated state. If, however, used for features with a higher multiplicity, usually represented by collection objects, they fail to provide a natural approach to proper encapsulation of the one-to-many aspect of such characteristics. Lacking support by powerful concepts, such as properties, makes handling these associations with many-valued multiplicity necesitate much boilerplate code in mainstream programming languages. This makes the implementation of such features tedious and error-prone. In this paper, we introduce multiproperties: properties specifically developed to make implementing one-to-many relationships in object oriented programming languages easier and more robust. Multiproperties make use of operator overloading to access these multivalued features in a simple and natural way. They are aimed at reducing boilerplate code and making encapsulation of an object´s data automatic and configurable.
  • Keywords
    data encapsulation; object-oriented languages; object-oriented programming; programming languages; stability; Lacking support concepts; boilerplate code programming language; many valued multiplicity; natural approach proper encapsulation; object oriented programming languages; objects encapsulated state; one to many relationships; operator overloading access; robust; singular multiplicity; straightforward implementation; Books; Computer languages; Computer science; Data encapsulation; Information technology; Java; Libraries; Object oriented programming; Protection; Robustness;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Science and Information Technology, 2009. IMCSIT '09. International Multiconference on
  • Conference_Location
    Mragowo
  • Print_ISBN
    978-1-4244-5314-6
  • Type

    conf

  • DOI
    10.1109/IMCSIT.2009.5352760
  • Filename
    5352760