A shortcut is an object that represents and references a target object.
With shortcuts you can benefit from:
Reusability: You can create libraries of reusable objects whose properties are inherited by multiple objects in different models. For example, the entity person and its four attributes: Name, Age, Nationality and Address can be used via inheritance links in any model where you have need of a Customer, Employee, etc.
Automatic updates: When the target object changes, the updates cascades automatically to all the shortcuts. Note that both the referencing and target models must be open in the workspace for the changes to be propagated.
In the example below, the Person entity is created in one CDM, and a shortcut to it is created in a second CDM. The Person symbol in the second CDM carries a small arrow in its bottom left corner to indicate that it is a shortcut:
You can create shortcuts for most PowerDesigner objects (including composite objects and other shortcuts). You cannot create shortcuts of diagrams, links, or the following objects:
Module |
Object |
---|---|
All |
Diagrams, Links |
RQM |
Traceability link, user allocation |
EAM |
- |
BPM |
Decisions, synchronizations |
CDM/LDM |
Associations, Inheritances |
PDM |
Privileges |
DMM |
- |
OOM |
Decisions, synchronizations, interaction fragments, interaction references, messages |
XSM |
Internal shortcuts not supported for any object. External shortcuts not supported for imports, includes, redefines, annotations |
You cannot create internal shortcuts to global objects, such as organization units, or business rules, because they always belong to the model and cannot be displaced into a sub-package. However, you can create external shortcuts to these objects. You can reuse data item shortcuts only if they are internal (same namespace). A duplicated data item shortcut has the same characteristics as the original data item shortcut.