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...")
 
(Updated Edited template to July 12, 2025.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
All methods allows you to define a precondition that must be met for execute of the method.
<message>Write the content here to display this box</message>
All methods allow you to define a precondition that must be met before you execute a method.


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 the auto-created PreconditionQuery operator, which is your method name with an appended question mark:
  self.SomeMethod?
  self.SomeMethod?
[[Category:OCL Editor]]
{{Edited|July|12|2025}}

Latest revision as of 05:54, 20 January 2025

This page was created by Hans.karlsen@mdriven.net 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?