Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Configuring Schema Context for an EIS Descriptor

TopLink Workbench uses the schema context to associate the class that the EIS descriptor describes with a simple or complex type in one of the schemas associated with the EIS project (see "Configuring XML Schema Reference"). This allows TopLink Workbench to display the appropriate attributes available for mapping in that context.

You must configure the schema context for an EIS root descriptor (see "Configuring an EIS Descriptor as a Root or Composite Type") only if you are using TopLink Workbench.

Using TopLink Workbench

To associate an EIS descriptor with a simple or complex type in this project's schema, use this procedure:

  1. Select an EIS descriptor in the Navigator. Its properties appear in the Editor.

  2. Click the Descriptor Info tab. The Descriptor Info tab appears.

    Figure 31-1 Descriptor Info Tab, Schema Context Option

    Description of Figure 31-1  follows
    Description of "Figure 31-1 Descriptor Info Tab, Schema Context Option"

Click Browse to select the schema element to associate with this descriptor. For more information, see "Choosing a Schema Context".

Choosing a Schema Context

Use the Choose Schema Context dialog box to select a specific schema element (such as when mapping an element).

Figure 31-2 Choose Schema Context Dialog Box

Choose a Schema Context dialog

Select the schema element and click OK.

Using Java

For an EIS descriptor, the TopLink runtime does not need the schema context: the runtime can determine the schema context based on the mappings you configure on the descriptor. No further configuration is required.