Reference : Relaxing Behavioural Inheritance
Scientific congresses, symposiums and conference proceedings : Paper published in a journal
Engineering, computing & technology : Computer science
http://hdl.handle.net/10993/4730
Relaxing Behavioural Inheritance
English
Amalio, Nuno mailto [University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC) >]
2013
Electronic Proceedings in Theoretical Computer Science [=EPTCS]
Open Publishing Association
115
68–83
Yes (verified by ORBilu)
2075-2180
Australia
REFINE 2-13
May 2013
[en] object-orientation ; inheritance ; refinement ; design-by-contract ; behavioural subtyping
[en] Object-oriented (OO) inheritance allows the definition of families of classes in a hierarchical way. In behavioural inheritance, a strong version, it should be possible to substitute an object of a subclass for an object of its superclass without any observable effect on the system. Behavioural inheritance is related to formal refinement, but, as observed in the literature, the refinement constraints are too restrictive, ruling out many useful OO subclassings. This paper studies behavioural inheritance in the context of ZOO, an object-oriented style for Z. To overcome refinement's restrictions, this paper proposes relaxations to the behavioural inheritance refinement rules. The work is presented for Z, but the results are applicable to any OO language that supports design-by-contract.
http://hdl.handle.net/10993/4730
10.4204/EPTCS.115.5

File(s) associated to this reference

Fulltext file(s):

FileCommentaryVersionSizeAccess
Open access
1305.6114v1.pdfPublisher postprint466.83 kBView/Open

Bookmark and Share SFX Query

All documents in ORBilu are protected by a user license.