OCLEditorHelp OclPreconditionQuery
(Created page with "All methods allows you to define a precondition that must be met for execute of the method. You can check this precondition with auto created PreconditionQuery operator that...")
 
No edit summary
Line 3: Line 3:
You can check this precondition with auto created PreconditionQuery operator that is your method name with an appended questionmark:
You can check this precondition with auto created PreconditionQuery operator that is your method name with an appended questionmark:
  self.SomeMethod?
  self.SomeMethod?
[[Category:OCL Editor]]

Revision as of 13:07, 6 December 2022

This page was created by Hans.karlsen@mdriven.net on 2021-12-31. Last edited by Edgar on 2025-01-20.

All methods allows you to define a precondition that must be met for execute of the method.

You can check this precondition with auto created PreconditionQuery operator that is your method name with an appended questionmark:

self.SomeMethod?