You can move an object from package to package using drag and drop feature.
Moving objects is different from cutting and pasting items, since you do not duplicate objects.
For entities containing data items, the following situations can occur when you move the entity:
Data items |
Namespace |
Move result |
---|---|---|
Only used by selected entity |
Move within the same namespace |
The data items are moved with the entity |
Reused among different entities |
Move within the same namespace |
Shortcuts of data items are created for reused data items |
Used only by one entity or reused among different entities |
Change namespace |
Data items are copied in the other namespace |
For more information about shortcut and copy rules, see Shortcuts.
Moving objects is restricted as follows:
When you move an object from a package to another, linking objects that you move keep their links in the target package and a shortcut is usually created in the source package. The general rule being that conceptual modeling must be preserved.
Shortcuts creation rules in PowerDesigner also apply to moving objects between packages.
For more information about shortcuts creation, see Shortcuts.
To move an object with a non-oriented link:
Source package |
Moving result |
---|---|
|
In the source package, a shortcut of the moved entity is created: In the target package, the moved entity is displayed: |
To move an object with an oriented link: