Chapter 4 Building an Analysis Business Process Model


Importing data

You select data to import from a CDM, a PDM and an OOM from the Data Import Wizard available from the Tools menu.

There must be a source model (CDM, PDM or OOM) open in the workspace.

The import process converts source model objects to data as follows:

Model Object Data type of the data
CDM Data item
Entity
Elementary
Structured
PDM Table Structured
OOM Class Structured

Although table columns and class attributes are not available for selection when you import from a PDM or from an OOM, they are automatically imported as sub-data in the BPM and connected to their parent structured data.

When you import from a CDM, a PDM or an OOM an object that has the same type, name and code as an existing data in the BPM, the existing data is reused, unless the data already has a definition object. In this case, the new data is automatically renamed and linked to the selected object in the source models.

A PDM Reference between two tables is imported as a parent/child relationship between the two imported data. The child table is imported as a structured data, and the parent table is imported as a structured sub-data.

Foreign key columns are not imported because they are created by the PDM reference between tables, which is already imported.

Sub-data import

When an entity, a table or a class object is imported as a data, their data items, columns or attributes are automatically imported as sub-data and connected to their structured data.

Steps To import data:

  1. Select Tools→Data Import Wizard.

    The Data Import Wizard opens. It contains all models or packages open in the workspace from which you can import data.
  2. Select the source (CDM, PDM or OOM) model or package from which you want to import data and click the Next button.

    An object selection dialog box is displayed. It contains a list of all the objects you can import according to the type of model.
  3. Select a model or package from the list located at the top part of the Data Import Wizard page.
  4. Select objects to import.
  5. Click the Finish button.

    The result of the import is displayed in the Output window. You can view in the Browser tree view the creation of data that correspond to the objects you imported in the current model:

 


Copyright (C) 2007. Sybase Inc. All rights reserved.