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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

USING <strong>ER</strong>/STUDIO > EXPORTING THE DATA MODEL<br />

Add a Composite to an Element<br />

Use composites in a schema to group elements together.<br />

The following composite types are supported:<br />

• xs:sequence<br />

• xs:choice<br />

• xs:all<br />

The composite type node appears below the complexType container.<br />

1 In the Schema Body, right-click the element name and then select New Local complexType.<br />

2 Right-click the Complex Types node just added, select New and then select the type of composite you want to<br />

add.<br />

You can now drag other objects to the composite node.<br />

NOTE: To create a composite type node within an existing composite node, right-click the composite<br />

node, select New and then select the type of composite you want to add.<br />

Add a Group Reference to an Element<br />

You can add a reference to group to an empty composite node.<br />

1 In the Schema Body, right-click the element name and then select New Local complexType.<br />

2 Right-click the Complex Type node just added and then select New Group.<br />

3 In the property box, click the space in the Property Value column that is next to the Property Name ref and then<br />

type the name of the group or click the arrow and select the name of the group to reference.<br />

Change the Type of an Existing Composite Type<br />

Once you have added a composite type to the Schema Body node, if desired you can change its type.<br />

Composite node names can be.<br />

• xs:sequence<br />

• xs:choice<br />

• xs:all<br />

Right-click the composite node, select Convert to and then select the new composite type.<br />

Preview the Schema<br />

1 To preview the schema, click Preview.<br />

A preview of the generated schema appears.<br />

2 When you are finished with the preview, click Close to return to the previous dialog where you can continue to<br />

change the format and contents of the schema.<br />

3 If necessary, click Back to return to a previous dialog and change the options.<br />

Exporting a Data Model to Describe<br />

When you export an <strong>ER</strong>/<strong>Studio</strong> diagram to Describe, new UML object models are created directly from the <strong>ER</strong>/<strong>Studio</strong><br />

models. The <strong>ER</strong>/<strong>Studio</strong> - Describe Export Wizard lets you export an <strong>ER</strong>/<strong>Studio</strong> data mode to a Describe diagram.<br />

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

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

Saved successfully!

Ooh no, something went wrong!