You are here: User Customizations > Configuring and Maintaining Model External References

Configuring and Maintaining Model External References

You can use model-external references between different models if the necessary requirements have been configured. Changes to the configuration may require maintenance of this configuration.

Motivation for Model External References

Model elements from different models and repositories, and also within a model, can be linked using a special reference mechanism. This stores references in the models concerned, which make it possible to navigate from one element to the element linked to it.

The model-external reference is fundamentally composed of two components.

The following setup options are available as appropriate.

  1. If the idea is that elements are always copied from a certain model A and the model-external reference is always pasted to another model B, the following configuration results:

    1. The REVERSE component is installed in source model A, from which the copy is taken.
    2. The FORWARD component is installed in the target model B, in which the model-external reference is pasted.
  2. If the idea is that model references will be copied back and forth between the two, i.e. that on one occasion an element will be selected from model A and on another occasion from model B, both components are required in both models.

The configurations are made available as XML files in the same ways as the previous profile add-ons (\$INODIR\java\M2MSDK\configuration\Innovator.Model.Configuration\Mapping\Mapping.GeneralMapping\).

You can customize the GeneralMapping.FORWARD and GeneralMapping.REVERSE configuration descriptions to suit your needs. You must already have experience with meta model elements and model configuration in Innovator (stereotypes, templates and content configuration in particular) to be able to do this.

Import via the configuration loader evaluates configuration descriptions and creates the corresponding, model-compliant configuration and model elements required in the model.

Note:

Reload the configuration descriptions once you have changed the model configuration (new stereotypes) in order to maintain configuration prerequisites for model-external references.

Setting Up the Model External References

Prerequisites

A requirement for setup is that the configuration loader is configured as an engineering action; this is included in later Innovator profiles but needs to be done retrospectively for older profiles.

Context

The configuration must be reloaded in all models in which model-external references are to be used.

How to proceed

  1. Login to the relevant model as model administrator.
  2. Select the system models into which you want to import a configuration. These are the system models under which the elements are found; they should be associated using model-external references.
    If you select the model nodes yourself, the model-external referencing will be prepared in all system models beneath them.
  3. From the Extras>Engineering Actions>Commands submenu, run the engineering action Configuration loader.

    The available configurations are shown.

  4. Select the GeneralMapping.FORWARD and/or GeneralMapping.REVERSE model configuration depending on what you need.
  5. Confirm the selection with OK.
  6. Once the engineering action is complete, update the model contents using View>Synchronize>Reload Contents (F5).

    Additional model elements appear in the model structure for the relevant system model, if they were not already present: the systemModelManagement with packages for the reference information.

Creating a Model External References

Prerequisites

The requirements for a model-external reference are met by creating model-compliant configuration and the necessary model elements.

How to proceed

  1. Select an element in the source model (with REVERSE component).
  2. Copy the element with Start>Clipboard>Copy (Ctrl+C).
  3. Jump to the FORWARD model and select the element you want as your future starting point for navigation.
  4. Insert the copied element as a reference using the Start>Clipboard>Paste>Paste as Model-External Reference (Ctrl+R) command.

    Proxy references are then present in both models and you can jump from either of the two elements concerned to the other linked element.

  5. To jump between the linked elements, select one of the elements concerned from the context menu Go to>Linked Elements... (Ctrl+Shift+Enter).

    The dialog of the same name appears.

  6. Select the linked element in the dialog and confirm the selection with OK. If the model with the referenced element has not yet been opened, you must log in to this model.

    The target element is then selected there.

 

 

© 1986-2014 MID GmbH Nuremberg Germany. DIN EN 9001 certified. All rights reserved.