|
|
Re: Valid OCL constraint - Validation Error in Editor [message #1775742 is a reply to message #1775721] |
Sat, 04 November 2017 23:06 |
Nina Doschek Messages: 2 Registered: November 2017 |
Junior Member |
|
|
Thank you very much for you explanations!
My Ocl constraint works now properly with oclContainer():
Quote:invariant checkAreas: self.oclContainer() = target.oclContainer().oclContainer();
But i do have a question:
If i try to evaluate my constraint on a instance of my model in the OCL console, i get the error, that the operation cannot be found.
If i do the Validation on my model, the constraints work as expected....
OCL console output:
Quote:self.oclContainer() = source.oclContainer().oclContainer()
Results:
Cannot find operation (oclContainer()) for the type (MyModel)
Thank you in advance!
[Updated on: Sat, 04 November 2017 23:07] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02978 seconds