• DocumentCode
    3326961
  • Title

    Inheritance and subtyping [object-oriented databases]

  • Author

    Ancona, Massimo

  • Author_Institution
    Dept. di Matematica, Genova Univ., Italy
  • fYear
    1991
  • fDate
    3-5 Apr 1991
  • Firstpage
    382
  • Lastpage
    388
  • Abstract
    A method for implementing subtyping and inheritance, as independent features of object-oriented languages, is presented. There are at least two reasons for decoupling subtyping from inheritance: the negative influence on encapsulation and the different perspective of specification inheritance (subtyping) and implementation inheritance (code sharing). Subtyping and inheritance are defined in two independent constructs: the class module and the implementation module which are separately compiled. Subtyping is declared in the class module which contains all the public definitions of the class (e.g., types ad operation signatures), while inheritance is defined in the implementation module, which contains the implementations of all the operations of the class. The class module includes assertions which are an algorithmic form of operation specification
  • Keywords
    object-oriented databases; assertions; class module; encapsulation; implementation module; inheritance; object-oriented databases; object-oriented languages; subtyping; Encapsulation; Object oriented databases; Object oriented modeling; Object oriented programming; Programming profession; Spatial databases; Vehicles;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Applied Computing, 1991., [Proceedings of the 1991] Symposium on
  • Conference_Location
    Kansas City, MO
  • Print_ISBN
    0-8186-2136-2
  • Type

    conf

  • DOI
    10.1109/SOAC.1991.143907
  • Filename
    143907