You can add a nested instance of any predefined application module to
your data model at runtime by calling createApplicationModule()
on the containing application module instance.
To add a nested application module at runtime:
String containing the package-qualified name of
the definition of the application module to be nested. For example, if
the application module definition is called SubTaskModule
and is in the package orderentry.datamodel, you would use
the following code:
String amDefName = "orderentry.datamodel.SubTaskModule";
ApplicationModule nestedAM =
containingAM.createRootApplicationModule(amDefName);
Changing the Data Model at Runtime
About Oracle ADF Application Modules
Creating an Application Module Definition
Accessing a Root-Level Application Module
Finding a Nested Application Module Instance
Copyright © 1997, 2004, Oracle. All rights reserved.