MDrivenStart Methods
Hans Karlsen (talk | contribs) No edit summary |
Hans Karlsen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Methods | Methods can be IsQuery=true - and then you 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 | |||
{{Template:MDrivenStart_Template}} | {{Template:MDrivenStart_Template}} | ||
[[Category:MDrivenStart]] | [[Category:MDrivenStart]] |
Revision as of 12:21, 18 April 2023
Methods can be IsQuery=true - and then you 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
This page was edited more than 1 years ago on 07/24/2023. What links here