Chapter 6. The Context of OCL Expressions

This chapter describes the relationship between the UML and OCL parts in a combined model. Much of the information presented here is also described in Chapter 3: Building Models with OCL. Because the current chapter is part of the reference manual we think the descriptions of the constructs in this chapter should be complete, even when this results in some overlap with material in the user manual part of this book.

As in the user manual, all examples in this reference manual refer to the R&L system as depicted in Figure 2-1, unless stated otherwise.

A Combined Model

OCL relies on the types (classes, datatypes, and so on) defined in a UML model; thus, using OCL includes the use of (at least some aspects of) ...

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.