ER/Studio - Embarcadero Technologies Product Documentation
ER/Studio - Embarcadero Technologies Product Documentation ER/Studio - Embarcadero Technologies Product Documentation
USING ER/STUDIO > EXPORTING THE DATA MODEL 3 In the Property Value column of the properties pane, click the name of the include declaration and then type the URI of the schema. 4 To create more include declarations, repeat steps 1 to 3. TIP: You can later edit the name of the include declaration or delete it by right-clicking its name under the Includes node and then selecting Edit or Delete. Import Referenced Namespaces The import declaration identifies a namespace whose schema components are referenced by the schema containing the import declaration. TIP: Use the import declaration to declare any namespaces not previously identified in the Schema Attributes on page 2 of the XML Schema Generation Wizard. 1 In the Schema Body on page 4 of the XML Schema Generation Wizard, right-click Import and then select New. 2 Type a name for the import declaration and then click OK. The new import declaration appears highlighted within the Import folder of the Schema Body tree and its properties display in the properties pane below. 3 In the Property Value column of the properties pane, click the space next to the schemaLocation property and then type the URI of the schema document containing the imported namespace. 4 In the Property Value column of the properties pane, click the name of the namespace declaration and then type the URI of the schema containing the namespace to import. 5 To create more import declarations, repeat steps 1 to 3. TIP: You can edit the name of the import declaration or delete it by right-clicking its name under the Import node and then selecting Edit or Delete. Add Domains and Attributes to the Simple Types Section Domains can be included in the Simple Types or Complex Types sections of the Schema Body. NOTE: Dragging a domain that contains a subdomain into the Simple Types node does not include any of its subdomains in the schema. From the list of Available Objects, click a simple domain or attribute and then drag it to the Simple Types node in the Schema Body pane. The Simple Types node expands to show the newly added object. NOTE: If the target domain is for the simple type added, you can select the schema element, scroll through the properties, and change the default type and type prefix by clicking the Property Value list. The available namespaces are dependent on the namespaces declared on page 2 of the wizard. EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 264
USING ER/STUDIO > EXPORTING THE DATA MODEL Add Reference Values to a Domain Drag and drop the reference value from the list of Available Objects onto the object in the Schema Body. The reference values for the object appear as a property of the object in the Schema Body. Notes • For information on reordering objects in Schema Body nodes, see Change the Object Order in a Schema Body Section • For information on changing the property values of objects in Schema Body nodes, see Change the Property Values of Schema Objects. • To preview the schema, click Preview or for more information, see Preview the Schema. Add Domains, Attributes, and Entity Objects to the Elements Section From the list of Available Objects, click a domain, attribute or entity object and then drag it to the Elements node in the Schema Body pane. The Elements node expands to show the newly added objects. Notes • You cannot drag reference values onto domains in the Elements node; instead, use the Simple Types node. • You can drag a simple entity or a complex entity, with all their attributes, to the Elements node and then drag other attributes to its choice, sequence, or all attribute container. • To convert an attribute of an element to an element, drag the attribute out of the complexType container. • To convert an element to an attribute of another element, drag the element into the complexType node. • An element defined in the elements node may have a complex type underneath it. You can insert the complex type under the element and insert composites under that. • If you drag an attribute to the complex type node under an element, it is included within the xs:attribute container below the composite. • If you drag an attribute to a composite node, it is included within the xs:element container below the composite. Add Domains, Attributes and Entities to the Groups Section From the list of Available Objects, click a domain, attribute or entity and then drag it to the Groups node in the Schema Body pane. The Groups node expands to show the newly added object. Notes • Use the Groups node to define groups that another part of the schema, such as an element can reference. • A group may have a composite underneath it just like an element or complex type. EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 265
- Page 213 and 214: USING ER/STUDIO > DEVELOPING THE PH
- Page 215 and 216: USING ER/STUDIO > DEVELOPING THE PH
- Page 217 and 218: USING ER/STUDIO > DEVELOPING THE PH
- Page 219 and 220: USING ER/STUDIO > DEVELOPING THE PH
- Page 221 and 222: USING ER/STUDIO > WORKING WITH THE
- Page 223 and 224: USING ER/STUDIO > WORKING WITH THE
- Page 225 and 226: USING ER/STUDIO > WORKING WITH THE
- Page 227 and 228: USING ER/STUDIO > WORKING WITH THE
- Page 229 and 230: USING ER/STUDIO > WORKING WITH THE
- Page 231 and 232: USING ER/STUDIO > WORKING WITH THE
- Page 233 and 234: USING ER/STUDIO > WORKING WITH THE
- Page 235 and 236: USING ER/STUDIO > WORKING WITH THE
- Page 237 and 238: USING ER/STUDIO > WORKING WITH THE
- Page 239 and 240: USING ER/STUDIO > WORKING WITH THE
- Page 241 and 242: USING ER/STUDIO > DOCUMENTING DATA
- Page 243 and 244: USING ER/STUDIO > DOCUMENTING DATA
- Page 245 and 246: USING ER/STUDIO > DOCUMENTING DATA
- Page 247 and 248: USING ER/STUDIO > DOCUMENTING DATA
- Page 249 and 250: USING ER/STUDIO > SAVING AND USING
- Page 251 and 252: USING ER/STUDIO > GENERATING RTF AN
- Page 253 and 254: USING ER/STUDIO > EXPORTING THE DAT
- Page 255 and 256: USING ER/STUDIO > EXPORTING THE DAT
- Page 257 and 258: USING ER/STUDIO > EXPORTING THE DAT
- Page 259 and 260: USING ER/STUDIO > EXPORTING THE DAT
- Page 261 and 262: USING ER/STUDIO > EXPORTING THE DAT
- Page 263: USING ER/STUDIO > EXPORTING THE DAT
- Page 267 and 268: USING ER/STUDIO > EXPORTING THE DAT
- Page 269 and 270: USING ER/STUDIO > EXPORTING THE DAT
- Page 271 and 272: USING ER/STUDIO > EXPORTING THE DAT
- Page 273 and 274: USING ER/STUDIO > EXPORTING THE DAT
- Page 275 and 276: USING ER/STUDIO > EXPORTING AN IMAG
- Page 277 and 278: WORKING WITH THE REPOSITORY > WORKI
- Page 279 and 280: WORKING WITH THE REPOSITORY > WORKI
- Page 281 and 282: WORKING WITH THE REPOSITORY > WORKI
- Page 283 and 284: WORKING WITH THE REPOSITORY > WORKI
- Page 285 and 286: WORKING WITH THE REPOSITORY > WORKI
- Page 287 and 288: WORKING WITH THE REPOSITORY > WORKI
- Page 289 and 290: WORKING WITH THE REPOSITORY > WORKI
- Page 291 and 292: WORKING WITH THE REPOSITORY > WORKI
- Page 293 and 294: WORKING WITH THE REPOSITORY > WORKI
- Page 295 and 296: WORKING WITH THE REPOSITORY > WORKI
- Page 297 and 298: WORKING WITH THE REPOSITORY > CANCE
- Page 299 and 300: AUTOMATING ER/STUDIO > Related Topi
- Page 301 and 302: AUTOMATING ER/STUDIO > Object Model
- Page 303 and 304: AUTOMATING ER/STUDIO > Macros which
- Page 305 and 306: AUTOMATING ER/STUDIO > Meta Data Ma
- Page 307 and 308: AUTOMATING ER/STUDIO > • Definiti
- Page 309 and 310: AUTOMATING ER/STUDIO > Access ER/St
- Page 311 and 312: AUTOMATING ER/STUDIO > You can cust
- Page 313 and 314: AUTOMATING ER/STUDIO > The table be
USING <strong>ER</strong>/STUDIO > EXPORTING THE DATA MODEL<br />
Add Reference Values to a Domain<br />
Drag and drop the reference value from the list of Available Objects onto the object in the Schema Body.<br />
The reference values for the object appear as a property of the object in the Schema Body.<br />
Notes<br />
• For information on reordering objects in Schema Body nodes, see Change the Object Order in a Schema<br />
Body Section<br />
• For information on changing the property values of objects in Schema Body nodes, see Change the Property<br />
Values of Schema Objects.<br />
• To preview the schema, click Preview or for more information, see Preview the Schema.<br />
Add Domains, Attributes, and Entity Objects to the Elements Section<br />
From the list of Available Objects, click a domain, attribute or entity object and then drag it to the Elements<br />
node in the Schema Body pane.<br />
The Elements node expands to show the newly added objects.<br />
Notes<br />
• You cannot drag reference values onto domains in the Elements node; instead, use the Simple Types node.<br />
• You can drag a simple entity or a complex entity, with all their attributes, to the Elements node and then drag<br />
other attributes to its choice, sequence, or all attribute container.<br />
• To convert an attribute of an element to an element, drag the attribute out of the complexType container.<br />
• To convert an element to an attribute of another element, drag the element into the complexType node.<br />
• An element defined in the elements node may have a complex type underneath it. You can insert the complex<br />
type under the element and insert composites under that.<br />
• If you drag an attribute to the complex type node under an element, it is included within the xs:attribute<br />
container below the composite.<br />
• If you drag an attribute to a composite node, it is included within the xs:element container below the<br />
composite.<br />
Add Domains, Attributes and Entities to the Groups Section<br />
From the list of Available Objects, click a domain, attribute or entity and then drag it to the Groups node in the<br />
Schema Body pane.<br />
The Groups node expands to show the newly added object.<br />
Notes<br />
• Use the Groups node to define groups that another part of the schema, such as an element can reference.<br />
• A group may have a composite underneath it just like an element or complex type.<br />
EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 265