Chapter 4 Managing Profiles


Defining Methods in a Profile

You can add methods to any PowerDesigner metaclass.

Methods can be defined on stereotypes and criteria if you want to restrict their use to the metaclass instances with correct stereotype or verifying criterion. Methods defined in a parent metaclass are inherited by children metaclasses.

A method contains a script that will be executed when the method will be called from a menu command for example. The method script is defined using VBScript.

For more information on VBScript, see the "Accessing objects using VBScript" chapter in the General Features Guide .

 


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