Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » How to exploit OCL constraints on derived features?
How to exploit OCL constraints on derived features? [message #1250761] Wed, 19 February 2014 15:18 Go to next message
Emre T is currently offline Emre TFriend
Messages: 119
Registered: April 2013
Senior Member
Hello, the Ecore model I am working on has a bunch of classes which have various derived references to other models elements. These derived references are backed up with OCL constraints. The notifier of these derived references have been generated by the EMF-IncQuery, so the UnsupportedOperationException is not an issue anymore. But the thing is, I couldn't manage to validate the instances of my model, since derived features can't be set via Properties view (after loading an instance of the other model to be referenced). Is there a way to achieve that practically? Thanks a lot!
Re: How to exploit OCL constraints on derived features? [message #1250850 is a reply to message #1250761] Wed, 19 February 2014 17:09 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Sorry too vague and complicated to answer directly: see
http://wiki.eclipse.org/OCL/ForumNetiquette

Regards

Ed Willink


On 19/02/2014 15:18, Emre T wrote:
> Hello, the Ecore model I am working on has a bunch of classes which
> have various derived references to other models elements. These
> derived references are backed up with OCL constraints. The notifier of
> these derived references have been generated by the EMF-IncQuery, so
> the UnsupportedOperationException is not an issue anymore. But the
> thing is, I couldn't manage to validate the instances of my model,
> since derived features can't be set via Properties view (after loading
> an instance of the other model to be referenced). Is there a way to
> achieve that practically? Thanks a lot!
Previous Topic:Pivot Setting Deletegate and oclIsKindOf operation problem
Next Topic:[OCLinEcore] Definition of TemplateSignatureCS?
Goto Forum:
  


Current Time: Fri Apr 19 16:40:54 GMT 2024

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

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

Back to the top