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...")
 
(Automatically adding template at the end of the page.)
 
(4 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.
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|2024}}

Latest revision as of 15:38, 10 February 2024

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?
This page was edited 100 days ago on 02/10/2024. What links here