Extensions files (*.xem) provide means for customizing and extending PowerDesigner metaclasses, parameters and generation. You can use extensions to define additional properties for existing object types or entirely new kinds of objects, to modify the PowerDesigner interface (reorganizing and adding property sheet tabs, Toolbox tools and menu items), and to define additional generation targets and options.
Generation - used to develop or complement the default PowerDesigner object generation (for BPM, OOM, and XSM models) or for separate generation. For more information, see Customizing and Extending PowerDesigner > Object, Process, and XML Language Definition Files > Generation Category.
The Java 5.0 object language resource file - extends the Component metaclass via several levels of criteria to model various forms of EJBs.
The BPEL4WS 1.1 process language resource file - extends the Event metaclass through stereotypes to model Compensation, Fault, and Timer events.
The MSSQLSRV2005 DBMS resource file - uses stereotyped extended objects in order to model aggregates, assemblies, and other SQL Server-specific objects.
You can review and edit the profile in a resource file by opening it in the Resource Editor and expanding the top-level Profile category. You can add extensions to a metaclass (a type of object, such as Class in an OOM or Table in a PDM), or to a stereotype or criterion, which has previously been defined on a metaclass:
Class is a metaclass. Metaclasses are drawn from the PowerDesigner metamodel, and always appear at the top level, directly beneath the Profile category
MyCriterion is a criterion that refines the Class metaclass. Those classes that meet the criterion can be presented and processed differently from other classes.
MyStereotype is a stereotype that refines the Class metaclass. Those classes that bear the MyStereotype stereotype can be presented and processed differently from other classes.
AnotherCriterion is a criterion that refines further those classes that bear the MyStereotype stereotype. Classes bearing the stereotype AND meeting the criterion can be presented and processed differently from those that merely bear the stereotype.
Extensions are inherited, so that any extensions made to a metaclass are available to its stereotyped children, and those that are subject to criteria.
Thus, in the example above, classes that bear the MyStereotype stereotype have available the Attribute_5 extended attribute, and those that bear this stereotype AND meet AnotherCriterion have Attribute_4 and Attribute_5 available.