OCL: Modularising the Language

David H. Akehurst, Steffen Zschaler, Gareth Howells


The Object Constraint Language (OCL) was originally designed as an `add-on' to the Unified Modelling Language (UML) in order to facilitate writing textual constraints complementing the graphical specifications. Since its original standardisation many extensions have been added to the language and many more have been proposed. The original structure of the OCL definition has not been formed, however, with a view of extensibility. Still, OCL can be redesigned in such a manner that it becomes easy to extend the language. In this paper we present a modular redefinition of OCL and illustrate how it supports extension. This new approach to the design of OCL enables you to consistently extend or customise OCL to your own needs.

Full Text:


DOI: http://dx.doi.org/10.14279/tuj.eceasst.9.100

DOI (PDF): http://dx.doi.org/10.14279/tuj.eceasst.9.100.95

Hosted By Universit├Ątsbibliothek TU Berlin.