Sponsors

Engineering logo

Bosch logo

Intland logo

RCP logo

BMW logo

Sigsdatacom logo

BSI logo

Microsoft logo

CAS logo

Andrena logo

bsi logo

OSBF logo

Open Source logo

Bredex logo

sopera logo

Microdoc logo

O'Reilly logo

Soyatec logo

compeople logo

itemis logo

dpunkt logo

Sontatype logo

Eclipsesource logo

sap logo

Xored logo

Oracle logo

Vogel logo

Actuate logo

Enriching your models using OCL

Adolfo Sanchez-Barbudo Herrera, , Ed Willink

Modeling · Long
Wednesday, 10:30, 55 minutes | Seminarräume 1-3

7
·
8
·
9
·
10
·
11
·
12
·
13
·
14
·
15
·
16
·
17
·
18

The utility of the Object Constraint Language for modeling within Eclipse has increased dramatically in the last few years, so that MDT/OCL is now useful for everyday modelers rather than just advanced Java programmers. This long talk is focused on both non-OCL users and advanced OCL users so that any kind of audience may learn how OCL can enhance your (meta-)model definitions and how OCL forms the foundation of advanced modeling technologies such as Acceleo and QVT.

In the first part of the talk, focused on modelers who have yet to discover OCL, you will get a short introduction to the OMG's OCL language and its main capabilities. Then you will learn how OCL can be embedded within Ecore to define constraints for validation, operation bodies for evaluation and derived features for initialization of EMF models (both dynamic instances and those from generated Java classes using "genmodel"). A presentation of the OCL Interactive Console will be used to help the user to alternatively write and validate their OCL constraints.

Finally, focusing on the advanced OCL audience, you will learn about ongoing work to exploit Xtext to provide an enhanced OCL development environment and of OCL to define its own editors and language semantics. Extensive use of OCL within OCL mandates a dramatic performance improvement requiring a flexible Java code generator for an efficient first evaluation of an OCL expression and an impact analysis to avoid redundant re-evaluation following a model change.

An OCL Impact Analysis component is available at https://www.hpi.uni-potsdam.de/giese/gforge/svn/bp2009/sources/trunk/de.hpi.sam.bp2009.solution.impactAnalyzer. (Get an account here: https://www.hpi.uni-potsdam.de/giese/gforge/)

Adolfo Sanchez-Barbudo Herrera, committer for the MDT/OCL and Tools/Orbit projects, is the Open Canarias representative for OMG OCL RTF. He also participates in the QVT RTF discussions to make the open specification evolve and he has been working with Eclipse Modeling for 4 years.

Ed Willink is the leader of the MDT/OCL and M2M/QVTd projects, co-founder of the GMT project and the Thales representative for the OMG OCL and QVT RTFs. He has been working with Eclipse Modeling for 8 years.

Slides

Download Material

Download file of related material.