Common Features : Using the Repository : Handling Repository Objects : Object Variations : Variation Modeling Rules
   
Variation Modeling Rules
Consistency rules available in the HOPEX repository help you to check that your system of variations is correctly modeled.
To access modeling rules, you must have access to:
“Advanced” metamodel
(Windows Front-End) through Tools > Options > Repository).
(Web Front-End) through Main Menu > Settings > Options > Repository
the HOPEX Power Studio product.
Rules appear in the MetaStudio navigation window, under the "Repository Consistency" folder.
These rules are:
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 intervenes.
*For more details on substitution, see "Replacing one element by another: substitution".
An object cannot be the result of several variations.
An object cannot be its own variant.
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. Open the HOPEX options dialog box.
*To, access the options dialog box, see:
“Managing User Options (Windows Front-End)", page 60
“Managing User Options (Web Front-End)", page 44
2. Select Modeling and Methods Regulations.
3. In the Active modeling regulation field, click .
4. In the dialog box that appears, select "Variation Modeling Regulation" and click OK.
You can consult results linked to this regulation at any time. They appear in the properties dialog boxes 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", page 234.