For those languages that support the concept of packages and/or namespaces, classes must be generated in packages that are used as qualifying namespace. You can define these qualifying packages one by one in the model as necessary, or insert a base structure automatically via the Add Package Hierarchy command.
-
Right-click the Model in the Browser, and select Add Package Hierarchy from the contextual menu.
-
Enter a package hierarchy in the text field, using periods or slashes to separate the packages. For example:
com.mycompany.myproduct.oom
or
com/mycompany/myproduct/oom
The corresponding package hierarchy will be created in the Browser. All diagrams and objects (except global objects ) existing in the model will be moved to the lowest level package of the hierarchy.