To create an Oracle package, follow the steps below:
1. | Open the project in the Project Browser window and create an Enterprise Architect package (and, if required, a Class diagram). |
2. | Add a Class element to either the package or the diagram. |
3. | Open the Properties dialog for the element and, in the field, assign the value . |
4. | For the package specification, create an Operation with the name Specification and with no return type. |
5. | Open the Properties dialog for the Specification Operation and, on the Behavior tab, type the entire package specification into the field. |
6. | For the package body, create an Operation with the name Body and with no return type. |
7. | Open the Properties dialog for the Body Operation and, on the Behavior tab, type the entire package body into the field. |