Chapter 8 Managing Objects


Managing paste conflicts

When you paste an object in PowerDesigner, checks are applied in order to verify that no conflict occurs between the identifying properties of the objects. The identifying criteria depends on the type of object, for some objects the identifying property is just the code, for other objects, identifying properties are the name and the code.

For more information about the identifying properties of an object, see section Identifying objects.

When a paste conflict occurs, PowerDesigner automatically renames the name and/or the code of the object in the following way:

Source object First renaming Second renaming
Name Name2 Name3
CODE CODE2 CODE3

A message is displayed in the Modeling Output to warn you that the object was renamed.

Renaming an entity

When a paste conflict occurs on a CDM entity, the entity is renamed according to the data item options set in the model.

Data item options Result of copying an entity
Unique Code

Allow Reuse
New entity with new name and code

New identifier with new name and code

Reuses other attributes
Unique Code only New entity with new name and code

New identifier with new name and code

New attributes with new names and codes
Allow Reuse only New entity with new name and code

New identifier with same name and code

Reuses other attributes
None New entity with new name and code

New identifier with same name and code

New attributes with same names and codes

 


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