posted on 2007-08-17, 11:08authored byP. Kosiuczenko
The paradigm of contractual specification provides a transparent way of specifying systems. It clearly distinguishes between client and implementer obligations. One of the best known languages used for this purpose is OCL. Nevertheless, OCL does not provide primitives for a compact specification of what remains unchanged when a method is executed. In this paper, problems with specifying invariability are listed and some weaknesses of existing solutions are pointed out. The question
of specifying invariability in OCL is studied and a simple but expressive
and flexible extension is proposed. It is shown that this extension has a simple OCL based semantics.
History
Citation
in Nierstrasz, O. et al. 2006 MoDELS'06, LNCS 4199, Springer.