Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Oracle Packages

When you are modeling an Oracle database, you can also define Oracle Packages, which are Class elements with the stereotype Package.

Create an Oracle Package

Step

Action

See also

1

Add a Class element to your data model.

 

 

2

Open the Properties dialog for the element and, in the Stereotype field, type the value Package.

Click on the OK button.

 

 

3

Click on the element and press F10, to display the Features dialog at the Operations page.

For the Package specification, press Ctrl+N and create an Operation with the name Specification and with no return type.

 

 

4

Click on the Behavior tab and on the Initial Code button, and type the entire Package specification into the Initial Code screen.

 

 

5

Return to the main panel of the Features dialog and, for the Package body, press Ctrl+N and create an Operation with the name Body and with no return type.

 

 

6

Click on the Behavior tab and on the Initial Code button, and type the entire Package body code into the Initial Code screen.

 

 

Learn more

?>