Variation Modeling Rules
Consistency rules available in the HOPEX repository help you to check that your system of variations is correctly modeled.
To access the modeling rules, you must have access to HOPEX Power Studio product.
*The Modeling rules are available in the MetaStudio navigation window, under the Repository Consistency folder.
Rules concerning the variations are the following:
A substituting object must be correctly contextualized: this means that a substitution must connect objects of the same type and must also be connected to the variation in which it is involved.
*For more details on substitution, see Replacing an element with another: substitution.
An object cannot be the result of several variations.
An object cannot be its own variation.
A variation relates to two objects of the same MetaClass.
To apply this regulation and thus check the consistency of objects you create with the rules to be respected:
1. Access the HOPEX options (Main Menu > Settings > Options).
2. In the Options tree, select Workspace > Modeling and Methods Regulations.
3. In the right section, in the Active modeling regulation field, click the arrow and select Select a regulation.
4. In the dialog box that appears, select “Variation Modeling ”Regulation.
5. Click OK.
You can access the results pertaining to this regulation at any time. They appear in the General > Rules Application property page of the objects concerned.
You can also display them in diagrams and navigators with status indicators showing objects that are not validated with respect to the regulation.
*For more details on modeling rules, see Consistency Rules.