24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USING <strong>ER</strong>/STUDIO > CREATING AND WORKING WITH DATA MODELS<br />

Mapping Datatypes Between Describe and <strong>ER</strong>/<strong>Studio</strong><br />

The <strong>ER</strong>/<strong>Studio</strong> Describe integration includes default mappings that are displayed in the <strong>ER</strong>/<strong>Studio</strong> - Describe<br />

Integration Advanced Setup - Datatypes tab. You can add, change, or delete mappings, import mappings from an XML<br />

file, or import a Data Dictionary and then save the new mappings in another datatype mapping file for later use. You<br />

cannot modify the default datatypes file; it is read-only.<br />

1 Click File > Describe Collaboration > Import from Describe > Advanced.<br />

2 On the Describe - <strong>ER</strong>/<strong>Studio</strong> Integration Advanced Setup dialog, click the Datatypes tab.<br />

3 Click a UML or Database type and then select another type from the list.<br />

4 When finished changing the UML to datatype mappings, click Save Mapping, and save your changes to a new<br />

mapping file.<br />

5 When finished making changes on the other tabs of the dialog, click OK.<br />

A new model is created based on the Describe project specified.<br />

Notes<br />

The following describe options that require additional explanation:<br />

• Datatypes added as: Database types are mapped to UML types; you can add datatypes as User Datatypes or<br />

as Domains. Select an option.<br />

• Import Mapping: Select Import Mapping to import an XML file that contains datatype mappings. The Open dialog<br />

opens, allowing you to select an XML file. Click Open to import the file and return to the <strong>ER</strong>/<strong>Studio</strong> - Describe<br />

Integration Advanced Setup Editor.<br />

• Import Dictionary: Lets you import an <strong>ER</strong>/<strong>Studio</strong> diagram’s Data Dictionary. Clicking Import Dictionary opens a<br />

dialog box, that lets you select a dm1 file whose Data Dictionary you want to use. Click Open to import the Data<br />

Dictionary and return to the <strong>ER</strong>/<strong>Studio</strong> - Describe Integration Advanced Setup Editor.<br />

Mapping Relationships Between Describe and <strong>ER</strong>/<strong>Studio</strong><br />

The table below illustrates how Describe relationships map to <strong>ER</strong>/<strong>Studio</strong> relationships.<br />

Describe Relationship <strong>ER</strong>/<strong>Studio</strong> Relationship<br />

Generalization Link Creates an incomplete subtype cluster:<br />

<strong>ER</strong>/<strong>Studio</strong> supertype = Describe Super Class<br />

<strong>ER</strong>/<strong>Studio</strong> supertype = Describe Super Class<br />

Realization Link Not supported for export to <strong>ER</strong>/<strong>Studio</strong><br />

Dependency Link Not supported for export to <strong>ER</strong>/<strong>Studio</strong><br />

1:1 association link Creates a non-identifying relationship:<br />

<strong>ER</strong>/<strong>Studio</strong> parent = Describe start class<br />

<strong>ER</strong>/<strong>Studio</strong> child = Describe end class<br />

1:N association link Creates a non-identifying relationship:<br />

<strong>ER</strong>/<strong>Studio</strong> parent = Describe start class<br />

<strong>ER</strong>/<strong>Studio</strong> child = Describe end class<br />

N:M association link Creates a non-specific relationship:<br />

<strong>ER</strong>/<strong>Studio</strong> parent = Describe start class<br />

<strong>ER</strong>/<strong>Studio</strong> child = Describe end class<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!