Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » How to Apply OCL code on Ecore KDM Model(How to evaluate an OCL Code on Ecore KDM (Knowledge Discovery Metamodel) Instance ?)
How to Apply OCL code on Ecore KDM Model [message #1251880] Thu, 20 February 2014 17:58 Go to next message
Raphael Honda is currently offline Raphael HondaFriend
Messages: 7
Registered: November 2012
Junior Member
Hi, i'm new in OCL and Ecore models and i need to know how to apply an OCL core on a ECORE instance (i'm using the KDM metamodel) using Java.

The problem is:

I have:

A String that contains the OCL Code
A Ecore Model Instance that i need to apply de OCL code.

How do i evaluate this code?

Tks.

Re: How to Apply OCL code on Ecore KDM Model [message #1251895 is a reply to message #1251880] Thu, 20 February 2014 18:15 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Did you think to follow the tutorials distributed with Eclipse OCL?

Regards

Ed Willink

On 20/02/2014 17:58, Raphael Honda wrote:
> Hi, i'm new in OCL and Ecore models and i need to know how to apply an
> OCL core on a ECORE instance (i'm using the KDM metamodel) using Java.
>
> The problem is:
>
> I have:
>
> A String that contains the OCL Code
> A Ecore Model Instance that i need to apply de OCL code.
>
> How do i evaluate this code?
>
> Tks.
>
>
Re: How to Apply OCL code on Ecore KDM Model [message #1255716 is a reply to message #1251895] Mon, 24 February 2014 18:54 Go to previous messageGo to next message
Raphael Honda is currently offline Raphael HondaFriend
Messages: 7
Registered: November 2012
Junior Member
Hi Ed.
Yes, i tried, but everytime i had one problem with dependencies... i'm new in Java and OCL and the examples don't exmplain in details line by line. To me is very difficult.
But tks for your answer!

Re: How to Apply OCL code on Ecore KDM Model [message #1255723 is a reply to message #1255716] Mon, 24 February 2014 19:03 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Maybe https://wiki.eclipse.org/OCL/ForumNetiquette will show you why you
have got such useless answers.

Regards

Ed Willink


On 24/02/2014 18:54, Raphael Honda wrote:
> Hi Ed. Yes, i tried, but everytime i had one problem with
> dependencies... i'm new in Java and OCL and the examples don't
> exmplain in details line by line. To me is very difficult.
> But tks for your answer!
>
>
Previous Topic:[OCLinEcore] Definition of TemplateSignatureCS?
Next Topic:OCL Tuples in pivot
Goto Forum:
  


Current Time: Tue Mar 19 07:44:09 GMT 2024

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

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

Back to the top