Chapter 2 Accessing Objects Using Scripts


Understanding the Metamodel Objects Help File

PowerDesigner provides a compiled HTML help file that you can open from the Help→Metamodel Objects Help command or from the Edit/Run Script editor dialog box. This reference guide is intended to help you get familiar with the PowerDesigner objects properties, collections and methods that you can use in scripting.

For more information on the Edit/Run Script editor, see the "Using the Edit/Run Script Editor" section.

Metamodel Objects Help file structure

The Metamodel Objects Help file is composed of two distinct parts: the node tree view displayed on the left hand side to navigate through the objects hierarchy and their corresponding description displayed to the right of the tree view:


You can expand the following nodes from the tree view:

Nodes What you can find...
Basic Elements General information on:

Collections per type (read-only, ordered and unordered)

Structured Types (points, rectangles, lists of points)

Global properties, constants and functions
Libraries PdCommon that contains: Basic object classes library used by all modules, for example File Object and Business Rules, or by at least two modules such as the Organization Unit used in the OOM and the BPM

PdRMG that contains Repository object classes library

PdWSP that contains Workspace object classes library

Object classes libraries per module (in PdCDM, PdOOM, PdBPM, PdPDM, PdXSM, PdRQM, PdILM and PdFRM)
Appendix Hierarchical representation of the PowerDesigner metamodel

List of constants used to identify objects of each library

For more information on collections, see the "Collections" section.

For more information on global properties, constants and functions, see the "Global properties", "Global constants", "Global functions" section.

For more information on libraries, see the "Libraries" section.

Metamodel Objects Help file content

The scripting objects provided by PowerDesigner correspond to the design objects (tables, entities, classes, processes etc.) that appear in the user interface.

For each PowerDesigner object you can browse a list of:

The nature of each collection is indicated: read-only, ordered, unordered, or composition.

 


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