O'Reilly logo

Object Constraint Language, The: Getting Your Models Ready for MDA, Second Edition by Anneke Kleppe, Jos Warmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Implementing OCL

This chapter describes how OCL expressions can be implemented in code. Although the Java language is used in the examples, the principles explained can be applied using any object-oriented programming language as target language. Even a non-object-oriented language could be used, but the process would be more cumbersome.

The process of mapping OCL expressions to code can be perfomed manually or by automated tools. Several available tools can translate OCL to code. Because the tool market is rapidly changing, we do not provide a list of tools in this book; it would be outdated quickly. Instead, on the Web site http://www.klasse.nl/ocl/ you can find an up-to-date list of tools that are currently available.

This chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required