Adding a New Collection to an Object

The PowerDesigner metamodel specifies the collections of related objects available by default for an object (for example table columns or class attributes). To quickly extend the metamodel and add a new collection from an object property sheet, click the menu button, and select New List of Associated Objects. The new collection is immediately available on all objects of this type.

Note: The definition of the new collection is stored in a PowerDesigner extension file. For detailed information about working with these files, see Customizing and Extending PowerDesigner > Extension Files.
  1. Open the property sheet of the object you want to extend, click the menu button, and select New List of Associated Objects.

    new-list-dialog
  2. Enter a Name for your list. This name is used as the name of the property sheet tab on which the list appears.
  3. Select the type of associated object that you want your list to display. You can choose from any of the object types available in your model.
  4. [optional] To limit the objects of the selected type that your object can be associated with, specify a stereotype that objects must bear in order to appear in the list.
  5. [optional] If you want to view the new collection in the PowerDesigner Resource Editor, select the Open Resource Editor on OK checkbox.
    For information about working with the Resource Editor, see Customizing and Extending PowerDesigner > PowerDesigner Resource Files
  6. Click OK to exit the dialog and create the new list.

    The list appears as a new tab in your property sheet, containing tools that let you associate existing and new objects of the specified type with your object:


    new-list-dialog-result