Appendix C. A Business Modeling Syntax for OCL

This appendix describes an alternative syntax for OCL expressions, one that is easier for business modelers. Note that this syntax is not standardized.

The Octopus tool, already mentioned in Appendix B, is able to transform the standard OCL syntax to this one. The tool is available from the Klasse Objecten Web site: www.klasse.nl/ocl.

Introduction

In the past, objections have been raised about the syntax of OCL. Some find it too difficult, others find it too different from mathematical languages. As it is, the OCL standard separates the concepts in the language from the concrete syntax used. This means that alternative concrete syntaxes can be made available. OCL expressions written in such an alternative ...

Get Object Constraint Language, The: Getting Your Models Ready for MDA, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.