SET

SET assigns a value to a variable, which can be used in the OCL program.

Syntax

SET variable = expression

The expression can contain arithmetic and concatenation operators and built-in functions.