You can modify an object's properties from its property sheet. To open a file object, right-click its diagram symbol or its Browser entry in the Files folder and select Properties from the contextual menu.
Property |
Description |
---|---|
Name |
Specifies the name of the item, which should be clear and meaningful, and should convey the item's purpose to non-technical users. |
Code |
Specifies the technical name of the object, which is used for generating code or scripts. |
Comment |
Descriptive comment for the object. |
Stereotype |
Extends the semantics of the object beyond the core UML definition. |
Location Type |
Specifies where PowerDesigner can find the file. You can choose between: |
Location |
Specifies the path to the file. This option is not available if you specify an embedded file. |
Extension |
Specifies the extension to be used when generating an embedded file. |
Generate |
The file object is automatically included among the objects generated from the model when you launch a generation process. |
Artifact |
The code of an artifact file object is generated as part of the generation process. Only file objects that have the Artifact property selected are generated. Their contents may be edited using the editor of your choice. An artifact file object can be edited in the internal editor of PowerDesigner if its extension corresponds to an extension defined in the Editors page of the General Options dialog box (Tools menu), and if the <internal> keyword is defined in the Editor Name and Editor Command columns for this extension. In this case the Contents tab is displayed in the file object property sheet, it allows you to directly edit the content of the artifact file object. |