OCLEditorHelp OclPreconditionQuery
No edit summary
No edit summary
Line 1: Line 1:
All methods allow you to define a precondition that must be met before you execute a method.
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:
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]]
  [[Category:OCL Editor]]

Revision as of 05:26, 31 October 2023

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