OCLOperators oclIsInState
(Adding message template to the top of the page) |
(Replacing message template with parser tag) |
||
Line 1: | Line 1: | ||
<message>Write the content here to display this box</message> | |||
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. | 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)) | Article.allinstances->select(a|a.oclIsInState(#Manufacturing)) |
Revision as of 07:51, 17 June 2024
This page was created by Hans.karlsen on 2017-09-14. Last edited by Stephanie on 2025-02-24.
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:
See also: State value as a string