Chapter 6 Building Implementation Diagrams


File object property sheet General tab

The General Tab contains the following properties:

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:

  • Embedded File – saved within the project
  • External File
  • URL
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.

For more information on file objects, see section Using file objects in chapter Managing objects in the General Features Guide .

 


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