Abbreviation

ControlOperator[1]

Description

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

Severity

warning

Constrained Element

Behavior

Solvers

To fix this, do one of the following:

  • The behavior which is not typed by the «ControlOperator» stereotype but has a parameter typed by ControlValueKind enumeration: 
    • Apply the «ControlOperator» stereotype for the behavior.
    • Delete parameter typed by ControlValueKind enumeration from behavior.
  •  If the behavior is stereotyped by «ControlOperator» which does not have the parameter typed by ControlValueKind enumeration:
    • Change the type of parameter to ControlValueKind enumeration.
    • Create a new parameter typed by the ControlValueKind enumeration.
    • Remove the «ControlOperator» stereotype from the behavior.

Example

The out Parameter type is ControlValueKind enumeration and its Paint Activity must be stereotyped by «ControlOperator».