M2MRuleset modeling

To model a complete M2MRuleset, follow these steps:

  1. Right-click on the project, click on Add New | M2M | M2MRuleset

    Add New M2MRuleset

  2. Right-click on the M2MRuleset, and click on “Features…” in the context dialog

  3. Once the feature dialog is opened, click on the Tab “Tags”
    Add New M2MRuleset

  4. Next, fill in the Context Tags AbstractFromRhpRuleset.source_profile and AbstractToRhpRuleset.target_profile of your choice with the Tag tree view
    Fill In M2MRuleset Tags

  5. To organize a M2MRuleset with several packages, M2MPackage elements can be created. To create a M2MPackage, right-click on the M2MRuleset, and click on Add New | M2M | M2MPackage
    Add New M2MPackage

  6. When it is needed to move a Package into the target model, without applying any MappingRule on its children, the Package must be selected via the Context Tag M2MRuleset.packagesToCopy with the Tag tree view

    packagesToCopy Tag