Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

MDT OCL/Ocl Checker

This work is developed by Obeo and sponsored by Airbus in the context of PolarSys.


Topcased proposes for years now some components tailored for industrial usage around the verification of static semantics of models based on MDT OCL:

  • An OCL evaluator, aiming to support and make the development of OCL rules easier. This view offers:
    • Choosing of a test model or (auto-)adaptating to the selection
    • OCL auto-completion
    • Decomposing complex OCL step by step to make debugging easier
  • An OCL checker that:
    • Evaluate a list of constraints and queries on any EMF mode
      OCLChecker global.png
    • Provides the results in either a GUI or the Problem View, or in reports based on templates
    • Can be called in GUI or batch mode
      TOPCASED OCL batch.png
    • Can raise errors, warnings, information and rule failure messages

The goal of this project is to contribute these tools to MDT OCL, and to propose a few improvements as:

  • Advanced meta-data around OCL rules: dependencies between rules, error messages, model scope
  • Auto-generation of OCL verification plug-ins based on rules files
  • Integration with the new MDT OCL rules editor

More information about those tools here.


This project is already in progress and should be completed before the end of 2013. Most contributions target MDT OCL.

Back to the top