Importing a Logical Model

In this section:

This section describes the steps needed to import a logical Instance Layer or Master Data Layer model from an existing PowerDesigner model. For best results, read through the requirements first.

Other importing alternatives are:


Top of page

x
PowerDesigner Logical and Physical Model Prerequisites

The entity type is derived from the following entity stereotypes:

The relationship import is driven by the following relationship stereotypes:

The attribute names must follow the following patterns:

The behavior of imported columns is determined by extended attributes (boolean).

Note: All Boolean values have to be set as true by default, otherwise import will not be correct.

Oracle 11g DBMS is required for the Physical model to support the imported data type.

The following image shows the PowerDesigner Logical Model (includes both instance and master entities and relationships).

Note:


Top of page

x
Importing Procedure

Perform the following procedures to import a logical model into iWay MDS. The procedures are divided into Instance and Master Data Layers.



x
Procedure: How to Import the Instance Layer Logical Model into iWay Master Data Server (MDS)

To import the Instance Layer into iWay MDS:

  1. Expand Logical Model, right-click Instance Layer, and then select Import Logical/Physical PowerDesigner Model, as shown in the following image.

  2. Click Browse to browse for the imported file, select the required entities, attributes, and relationships, and click Next, as shown in the following image.

    The Import Review pane appears.

  3. Adjust your selections (by selecting or clearing the check boxes) on the objects and click Finish, as shown in the following image.

    The following image shows the Instance Layer Import Result in the top pane.

  4. Note the validation messages in the Properties tab of the Status Panel and adjust the imported entities.
    1. Enable matching of the Instance Layer if the corresponding entity exists on the Master Layer.
    2. Set up other elements that were not imported, such as Reference Data, Description, and so on.
    3. Delete the instance2instance type of relationships on the Master Layer.
  5. Note the validation messages in the Properties tab of the Status Panel and adjust the imported relationships. Make sure to check the elements that are not imported, such as Relationship type, Roles, and so on.


x
Procedure: How to Import the Master Data Layer Logical Model into iWay Master Data Server (MDS)

To import the Master Data Layer into iWay MDS:

  1. Expand Logical Model then expand Master Data Layers, right-click the desired layer (for example, masters), and then select Import Logical/Physical PowerDesigner Model, as shown in the following image.

  2. Click Browse to browse for the imported file, select the required entities, attributes, and relationships, and click Next. Exclude instance2instance relationships on the Master Data Layer. Alternatively, delete them after the import, as shown in the following image.

    The Import Review pane appears.

  3. Adjust your selections (by selecting or clearing the check boxes) on the objects and click Finish, as shown in the following image.

    The following image shows the Master Data Layer Import Result in the middle pane.

  4. Note the validation messages in the Properties tab of the Status Panel and adjust the imported entities.
    1. Set up a related instance entity and change the data type for all PK and FK attributes to long_int for Master Entities.
    2. Set up other elements that were not imported, such as Reference Data, Description, and so on.
    3. Delete the instance2instance type of relationships on the Master Layer.
  5. Note the validation messages in the Properties tab of the Status Panel and adjust the imported relationships.
    1. In case of compound keys between two instance entities in the Master Layer, set up an appropriate alias key.
    2. Make sure to check the elements that are not imported, such as Relationship type, Roles, and so on.

iWay Software