OCLEditorHelp OclPreconditionQuery
m ((username removed) (log details removed): Moving to Documentation namespace) |
(Automatically adding template at the end of the page.) |
||
Line 4: | Line 4: | ||
self.SomeMethod? | self.SomeMethod? | ||
[[Category:OCL Editor]] | [[Category:OCL Editor]] | ||
{{Edited|July|12|2024}} |
Revision as of 15:38, 10 February 2024
This page was created by Hans.karlsen on 2021-12-31. Last edited by Edgar on 2025-01-20.
All methods allow you to define a precondition that must be met before you execute a method.
You can check this precondition with the auto-created PreconditionQuery operator, which is your method name with an appended question mark:
self.SomeMethod?