Abbreviation

ControlOperator[1]

Description

This validation rule checks to if the operation has the «ControlOperator» stereotype applied. If yes, that operation also must have at least one parameter typed by the ControlValueKind enumeration.

Severity

warning

Constrained Element

Operation

Solvers

To fix this, do one of the following:

  • Apply the «ControlOperator» stereotype for the operation that has a parameter typed by the ControlValueKind enumeration.
  • Delete the parameter from the Activity (behavior).
  • Change the type to the ControlValueKind enumeration for the parameter.
  • Create a new parameter typed by the ControlValueKind enumeration.


Example

The return parameter type is ControlValueKind enumeration and its getTime Operation must be stereotyped by «ControlOperator».