MDrivenStart Methods
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Methods can be IsQuery=true - and then | Methods can be IsQuery=true - and then the body is OCL - meaning no change of data can be performed. | ||
Or a Method can be IsQuery=false - and then you can do action-language in the body and change data. | Or a Method can be IsQuery=false - and then you can do action-language in the body and change data. | ||
You can send in arguments to a method. | You can send in arguments to a method. |
Revision as of 12:36, 18 April 2023
This page was created by Hans.karlsen@mdriven.net on 2020-07-06. Last edited by Stephanie@mdriven.net on 2023-07-24.
Methods can be IsQuery=true - and then the body is OCL - meaning no change of data can be performed. Or a Method can be IsQuery=false - and then you can do action-language in the body and change data. You can send in arguments to a method. A method signature takes this form: MyMethod(argument1:String;argument2:Double):String