Create Individual Class Procedure |
To create a stored procedure as an individual Class, follow the steps below, in two stages:
Define Procedure Stereotype
- Select the Settings | UML menu option. The UML Types dialog displays, at the Stereotypes tab.
- In the Stereotype field, type procedure.
- In the Base Class field, type class.
- Click on the Save button, and on the Close button.
Create Procedure Element
- Open the required diagram.
- Select the More tools | UML | Class menu option in the Enterprise Architect UML Toolbox.
- Click on the Class element in the list of elements and then click on the diagram. If the Class Properties dialog does not automatically display, double-click on the element.
- In the Name field, type a name for the procedure.
- In the Stereotype field, type procedure.
- Click on the OK button to close the dialog. The new procedure element displays.

- Double-click on the procedure element. The Procedure <name> dialog displays.

- In the Database field click on the drop-down arrow and select the target DBMS to model. (The field displays the default database if it has already been set.)
- In the Procedure definition field, type the entire procedure text.
- Click on the Save button, and then the Close button.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2008 Sparx Systems Pty Ltd.
