Define Multiple-Stereotype Level

The _strictness attribute is applied to a stereotype element. It defines to what level multiple stereotypes can be applied to an element. The type of the attribute is StereotypeStrictnessKind and it can have one of four values:

  • profile, which states that an element of this type cannot be given more than one different stereotype from the same profile
  • technology, which states that an element of this type cannot be given more than one different stereotype from the same technology
  • all, which states that an element of this type cannot have multiple stereotypes at all, or
  • none, which is the default Enterprise Architect behaviour and states that there are no restrictions on the use of multiple stereotypes

The following example is from SysML and shows that a flowPort cannot have any other stereotype applied to it.

StereotypeWithStrictness