One public operator per package#

Packages contain only one public operator.

Description#

This rule checks that each package only contains one public operator. All other operators shall be private. parameter: maximum number: e.g.: ‘1’

Rationale#

This enforces compliance with a specific modeling standard by placing an upper bound on the number of public operators in each package.

Verification#

This rule counts public operators in each of the model’s packages. It fails if one package exceeds the number of allowed public operators.

Resolution#

Modify the offending package to contain at most the number of authorized public operators.

Customization#

N/A.