Understanding the Available User Interface Components

In this section:

iWay MDS provides several interfaces for data, depending on the file type and the related operation.


Top of page

x
iWay MDS Relationship Editor

iWay MDS offers an interface to display relations between business objects in the Relationship Editor. It enables viewing, mapping, and modifying tables, relationship types and their attributes through a simple graphical user interface. This interface is mostly used to edit objects in the logical model and connected systems model.



x
Procedure: How to Define a Model

A logical model is the core of iWay MDS, as it defines the data tables that are to be used and their relationships to each other.

A logical model can be created from scratch. Parts of the logical model can also be imported by importing database metadata, an XMI file, or other model (for example, Powerdesigner .cdm or .pdm file). To import database metadata or a model file, right-click the Entities node in the navigation pane, as shown in the following image.

Select the appropriate option from the context menu to launch a wizard that will import the information in the file.

Note: To define a database connection, see Working With Databases.



x
Procedure: How to Add Tables

To add tables:

  1. Click Table in the Entities tab of the workspace area and then click again on the diagram canvas.

    A new table called new_entity is created, as shown in the following image.

  2. Double-click the new_entity component.

    The new_entity table configuration dialog opens, as shown in the following image.

    There are two types of tables that you can select from the Entity role drop-down list:

    • Entity
    • Relationship

    Entity tables represent the data that exists in the connected systems, while relationship tables are created to store information that is common to multiple entity tables.

  3. Specify the matching mode (automatic or manual) from the Matching mode drop-down list.
  4. Add columns to the table by clicking Add to the right of the Columns table.

    Each column must have a name, role, and type (the original database type and how it should be treated in iWay MDS). The workspace area will show a representation of the table, with the columns categorized by role, as shown in the following image.

    Entity tables are displayed with a blue border and header, while relationship tables are displayed with an orange border and header. Any issues that may exist are listed in the status pane.



x
Procedure: How to Define Relationships

After the tables have been added, relationships between them can be added.

  1. To add a relationship, select the Relationship item from the palette and drag a connection from one table to another.

    Create relationship

    A relationship is created, called new_relationship.

  2. Double-click on the green box to open the relationship configuration dialog.

    New relationship

  3. In the Parent Table field, enter the table that the arrow points to.
  4. In the Child Table field, enter the table that the relationship originates from.
  5. Enter the name(s) of the matching key columns in the Representative Foreign Key table to define the specific relationship between the tables.

Top of page

x
Importing a Database Structure Interface

This section describes how to import a database structure interface.

This interface is used when importing source data for the analysis (for example, Bulk Profiling projects), or when loading the logical model into MDS in order to see it in the Entities viewer.



x
Procedure: How to Import Database Metadata

To import database metadata:

  1. Right-click on the Entities node in the navigation pane and select Import database metadata.

    A window with the same structure as the File Explorer appears.

    The database connection is shown on the left pane, while the tables and their columns are shown on the right pane.

  2. To select all tables at once, right-click on any table in the Tables window and select Check All.
  3. In the Import review pane, review the changes which will be applied.
  4. To approve the changes, click Finish.

Top of page

x
XML Metadata Interchange (XMI) Interface

This section describes how to import the XML Metadata Interchange Interface.

XMI is a standard for exchanging metadata using XML-based interchange format. MDS enables you to import XMI files describing UML models created in other applications.

In MDS, it is used in the following two different cases:



x
Procedure: How to Import XML Metadata

To import XML metadata:

  1. Right-click on the Entities node and select Import XMI , as shown in the following image.

    Import XMI

  2. Locate and select the XMI file in the dialog that opens.

Top of page

x
Generating a Source Interface

This section describes how to generate a source interface.

MDS offers an option to automatically create parts of the project tree in accordance with the given parameters. It saves time when creating the code. For generating parts of the code, MDS contains generators defined in metadata files. When supported, the generators are used in different parts of the project tree, for example, Transformations, Bulk Profiling, and Batch interfaces.

For the more information and the steps in the specific cases, see the appropriate sections in this guide.



x
Procedure: How to Generate Sources

To generate sources:

  1. Right-click on the appropriate node and select Generate, as shown in the following image.

    Generate Source

    The Generate dialog window appears.

  2. Select the location of where you wish to place the generated files, and click the Generate button, as shown in the following image.

    Generate

    After running the process, you can find the generated plans in the specified location.


iWay Software