Perform a Static Check on a Model, Sub-Model or Datastore

6-2 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator 6.1.2 Why assemble datastores and columns from other models? When assembling datastores and columns from other models or sub-models in a diagram, Oracle Data Integrator keeps track of the origin of the datastore or column that is added to the diagram. These references to the original datastores and columns enable Oracle Data Integrator to automatically generate the integration interfaces to the assembled datastores Interfaces IN Automatic interface generation does not work to load datastores and columns that are not created from other models datastores and columns. It is still possible to create the integration interfaces manually, or complete generated interface for the columns not automatically mapped.

6.1.3 Graphical Synonyms

In a diagram, a datastore may appear several times as a Graphical Synonym. A synonym is a graphical representation of a datastore. Graphical synonyms are used to make the diagram more readable. If you delete a datastore from a diagram, Designer prompts you to delete either the synonym the datastore remains, or the datastore itself all synonyms for this datastore are deleted. References in the diagram are attached to a datastores graphical synonym. It is possible create graphical synonyms at will, and move the references graphical representation to any graphical synonym of the datastores involved in the references.

6.2 Using the Diagram

From a diagram, you can edit all the model elements datastore, columns, references, filters, etc visible in this diagram, using their popup menu, directly available from the diagram. Changes performed in the diagram immediately apply to the model.

6.2.1 Creating a New Diagram

To create a new diagram:

1. In the Models tree in Designer Navigator, expand the data model or sub-model

into which you want to create the diagram, then select the Diagrams node. 2. Right-click, then select New Diagram to open the Diagram Editor. 3. On the Definition tab of the Diagram Editor enter the diagram’s Name and Description .

4. Select Save from the File main menu.

The new diagram appears under the Diagrams node of the model.

6.2.2 Create Datastores and Columns

To insert an existing datastore in a diagram: 1. Open the Diagram Editor by double-clicking the diagram under the Diagrams node under the model’s node.

2. In the Diagram Editor, select the Diagram tab.

3. Select the datastore from the Models tree in Designer Navigator.

Working with Common Format Designer 6-3 4. Drag this datastore into the diagram. If the datastore comes from a modelsub-model different from the current modelsub-model, Designer will prompt you to create a copy of this datastore in the current model. If the datastore already exists in the diagram, Oracle Data Integrator will prompt you to either create new graphical synonym, or create a duplicate of the datastore. The new graphical synonym for the datastore appears in the diagram. If you have added a datastore from another model, or chosen to create a duplicate, the new datastore appears in model. If references join existed in the original models between tables inserted to the diagram, these references are also copied. To create a graphical synonym of a datastore already in the diagram select Create Graphical Synonym in the popup menu of the datastore. To create a new datastore in a diagram:

1. In the Diagram Editor, select the Diagram tab.

2. In the Diagram Editor toolbar, click Add Datastore.

3. Click into the diagram workbench. 4. An Editor appears for this new datastore. Follow the process described in Chapter 5, Creating and Reverse-Engineering a Model for creating your datastore. To add columns from another datastore:

1. In the Diagram Editor, select the Diagram tab.

2. Select a column under a datastore from the Models tree of the Designer Navigator.

3. Drag this column into the datastore in the diagram to which you want to append this column. The Column Editor appears to edit this new column. Edit the column according to your needs.

4. Select Save from the File main menu. The new column is added to the datastore.

6.2.3 Creating Graphical Synonyms

To create a graphical synonym for a datastore:

1. In the Diagram tab, select the datastore.

2. Right-click, then select Create Graphical Synonym.

The new graphical synonym appears in the diagram. This operation does not add a new datastore. It creates only a new representation for the datastore in the diagram.

6.2.4 Creating and Editing Constraints and Filters

To add a new condition, filter, key to a datastore:

1. In the Diagram tab, select the datastore.

2. Right-click then select the appropriate option: Add Key, Add Filter, etc.

3. A new Editor appears for the new condition, filter, key, etc. Follow the process described in Chapter 5, Creating and Reverse-Engineering a Model for creating this element.