Topic
No replies
SystemAdmin
SystemAdmin
20 Posts
ACCEPTED ANSWER

Pinned topic Creation of new OCL queries with "def"

‏2010-09-23T08:28:57Z |
Hi,

I want to create some more complex functions for analyzing a UML model. Thereto, I created an ocl file and started programming.

However, in that ocl file only "let" statements instead of "def" are allowed. And for things like:

functionA->functionB->functionC

I need def defined queries, because variables in a navigation are not allowed.

Can anybody help me, where and how to define def statements that I can call from a ocl file?

Regards,

Michael