Chapter 11 Generating for a Language
For those languages that support the concept of package and/or namespace, classes must be generated in packages that are used as qualifying namespace. You can start the application design by defining these qualifying packages in the model.
You can also use the Add Package Hierarchy command from the model contextual menu. This feature allows you to define a path of packages and the corresponding package hierarchy. All diagrams and objects existing in the model will be moved to the lower level package of the hierarchy except global objects.
For example, you can define the following package hierarchy in the VBScript box:
com.mycompany.myproduct.oom
or
com/mycompany/myproduct/oom
The corresponding package hierarchy will be created in the Browser.
Copyright (C) 2005. Sybase Inc. All rights reserved. |