OCLOperators oclIsInState
No edit summary
m ((username removed) (log details removed): Moving to Documentation namespace)
(No difference)

Revision as of 21:02, 20 December 2023

oclIsInState checks whether an object has 1 or more state machines defined - and if one of these state machines is currently in the state in question.

Article.allinstances->select(a|a.oclIsInState(#Manufacturing))

A state machine can be defined like this:

2017-09-14 14h02 09.png

See also: State value as a string

This page was edited 89 days ago on 02/10/2024. What links here