The «CORBAModule» stereotype is applied to packages. It indicates that a package contains only CORBA-stereotyped model elements.
IBM® Rational® Rhapsody® does not generate C++ code for «CORBAModule» stereotyped packages - it generates them into CORBA modules.
The «CORBAModule» stereotype is optional for packages unless the package contains CORBA types, which can be defined only in CORBA modules. If you want to define CORBA types, you can do so in a CORBA module.
If the CPP_CG::Package::DefineNameSpace property for the package is set to True, Rational Rhapsody generates the CORBA interfaces in the package - all encapsulated within the scope of a CORBA module. The scope name is the same as the package name.