Extended Object, Sub-object, and Link Properties

You can double-click any extended object symbol in the diagram to open its property sheet:

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 item used for generating code or scripts, which may be abbreviated, and should not generally include spaces.

Comment

Specifies additional information about the extended object.

Source

[extended links only] Specifies the name of the origin object of the extended link.

Destination

[extended links only] Specifies the name of the destination object of the extended link.

Stereotype

Sub-classification used to extend the semantics of the extended object. You can create stereotypes in the Profile category of the resource file attached to the current model.

CanLinkKind Event Handler

You can use the CanLinkKind event handler to restrict the kind and stereotype of the objects you want to link together. The CanLinkKind event handler has two input parameters: the source and the destination extremity of the link, note that these cannot be shortcuts.

The CanLink event handler is called when you create a link using the corresponding tool in the Palette or when you try to modify the ends of a link from its property sheet.

For more information about the CanLinkKind event handler, see "Event Handlers (Profile)" in the Extending your Models with Profiles chapter of the Customizing and Extending PowerDesigner manual.