Controlling the Namespace of a Package

PowerDesigner applies uniqueness checks on the names of objects. The namespace defines an area in which the name and the code of an object of a given type must be unique. You can decide whether an individual package must represent a separate namespace or not with the Use parent namespace property.

Depending on the type of model where you create a new package, this option may be selected by default:
  • For the EAM, CDM, LDM, PDM, DMM, and FEM - the entire model is, by default, a single namespace, and all the packages have the Use parent namespace. PowerDesigner applies checks on uniqueness at the model level.

    Note: The Glossary and XSM do not support packages. For information on namespaces in the XSM, see XML Modeling.
  • For the OOM, RQM and BPM – each package is, by default, a separate namespace and the property is not selected. PowerDesigner applies checks on uniqueness at the package level.

In the following example, the class Printer is located in the Peripheral Package of an OOM where each package is, by default, a separate namespace: