Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » [MDT-OCL] Use OCL in UML and Ecore
[MDT-OCL] Use OCL in UML and Ecore [message #677354] Wed, 08 June 2011 09:28 Go to next message
Ambros Morscher is currently offline Ambros Morscher
Messages: 28
Registered: June 2010
Junior Member
Hi everybody,

i have some questions about UML OCL integration.

I want to define constraints on an UML2 model, transform them to an ecore model using UML2Ecore transformation and have them available in the generated EMF code.
What is more i want to define the constraints for UML in a sperate file using the complete ocl. Is this possible with MDT-OCL

Could you please provide me any information or places to look at how to proceed on that.

Regards Ambros
Re: [MDT-OCL] Use OCL in UML and Ecore [message #677483 is a reply to message #677354] Wed, 08 June 2011 15:55 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4099
Registered: July 2009
Senior Member
Hi Ambros

[Please use the OCL newsgroup for OCL queries]

The Indigo release (currently at RC4) of Eclipse (MDT) OCL has an
additional Editors and Examples feature in which you will find

A Complete OCL editor that can import a *.uml file as the meta-model
definition. (Associations and States and Messages do not
work yet; just the Ecore equivalent class-like facilities.)

An OCLinEcore editor that can edit an Ecore file with embedded OCL. If
you have *.uml with embedded OCL do a UML2Ecore, then edit
with OCLinEcore, the old genmodel annotations are transformed to the new
delegate annotations faciloitainmg dynamic models.

See Help Contents. (There is twice as much OCL Documentation content on
Indigo as Helios).

Generation of direct Java by genmodel (rather than interpreted) is
targetted for an intermediate release before Juno.

Regards

Ed Willink

On 08/06/2011 10:28, Ambros Morscher wrote:
> Hi everybody,
>
> i have some questions about UML OCL integration.
>
> I want to define constraints on an UML2 model, transform them to an
> ecore model using UML2Ecore transformation and have them available in
> the generated EMF code.
> What is more i want to define the constraints for UML in a sperate
> file using the complete ocl. Is this possible with MDT-OCL
>
> Could you please provide me any information or places to look at how
> to proceed on that.
>
> Regards Ambros
>
Re: [MDT-OCL] Use OCL in UML and Ecore [message #677688 is a reply to message #677483] Thu, 09 June 2011 07:08 Go to previous message
Ambros Morscher is currently offline Ambros Morscher
Messages: 28
Registered: June 2010
Junior Member
Thanks for the answer. So I will have a look at the indigo release.

Regards Ambros
Previous Topic:[bpmn2] Extending the metamodel
Next Topic:[BPMN2] Creating a visual editor with GMF
Goto Forum:
  


Current Time: Sun Oct 26 09:42:28 GMT 2014

Powered by FUDForum. Page generated in 0.05984 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software