Modifying the Collection of a Report Item

The Report Editor and the report items contained within it are drawn from the PowerDesigner metamodel. You can extend the metamodel to, for example, add new properties to an existing object (extended attributes), to create new objects (extended objects), and to create new connections between object types (extended and calculated collections and extended compositions).

For more information about these extension mechanisms, see the Extending your Models with Profiles chapter of the Customizing and Extending PowerDesigner manual.

While you can report on these new properties, objects, and collections, the collections are not included, by default, in the object book report items in the Available Items pane of the Report Editor and you must reconstruct them yourself. You can add any object list or book inside any other object book to allow you to represent any extended or calculated collection. Since there is no control over the location where you drop report items, and you are responsible for the global consistency of items and collections in your report

Note:

If you create extended or calculated collections in your model and use the Report Wizard (see Creating a report with the Report Wizard) to create your report, the generated report automatically creates a list for each type of extended and calculated collection inside the book item for each affected metaclass.

Once you have dropped the appropriate item, you can modify its collection and select a calculated or extended collection.

Book Item

In the following example, a calculated collection has been created on the operations metaclass that retrieves the diagrams where messages using a given operation are displayed. To display these diagrams in the report, a diagram item must be inserted inside the operation book item and the appropriate calculated collection selected for its collection:



List Item

In the following example, in order to manage the "schedule" and "event" concepts, the extended object <<event>> has been created, along with an extended collection of extended objects <<schedule>>. The Extended Object report item is added to the report and filtered on the stereotype Event (see Refining the selection of objects for a report item) and the List of Extended Objects is added to the Extended Object book, with its collection set to Schedule: