State value as a string
No edit summary
(Automatically adding template at the end of the page.)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  (#New).toString  
  (#New).toString  
  [[Category:OCL]]
  [[Category:OCL]]
{{Edited|July|12|2024}}

Latest revision as of 15:47, 10 February 2024

If you want to get a state machine state as a string, for example, using an OCL-PS expression, use:

(#state-name).toString

Or, for example:

(#New).toString
This page was edited 98 days ago on 02/10/2024. What links here