First page Back Continue Last page Text

oracle adf workshop

Notes:


Data Controls and Standard Metadata Interfaces

Data controls abstract the implementation technology of a business service by using standard metadata interfaces to describe the service’s operations and data collections. This includes information about the properties, methods, and types involved. At design time, visual tools such as JDeveloper can leverage the standard service metadata to simplify binding UI components to any data control operation or data collection. At run time, the generic Oracle ADF Model layer reads the information describing your data controls and bindings from appropriate XML files and implements the two-way “wiring” that connects your UI to your business service.

The slide illustrates how the Data Control Palette displays the VO instances in the active data model. Each VO instance appears as a named data collection whose name matches the VO instance name. Note the hierarchical structure of the data collections. For ease of viewing, the figure omits some details in the tree that appear for each VO. These additional VO details are highlighted in the ADF Developers Guide for Forms Developers. The Data Control Palette reflects the master or detail hierarchies in your application module data model by displaying detail data collections nested under their master data collection.

The Data Control Palette also displays each custom method on the application module’s client interface as a named data control custom operation whose name matches the method name. If a method accepts arguments, they appear in a Parameters node.