Skip Headers
Oracle® Application Development Framework Developer's Guide
10g (10.1.3.1.0)

Part Number B28967-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

19.3 Configuring Method Access for Relationship

By default, TopLink mappings use direct access to access public attributes. Alternatively, you can use getter and setter methods to access object attributes when writing the attributes of the object to the database, or reading the attributes of the object from the database. This is known as method access.

Figure 19-2 shows a TopLink mapped attribute that uses method accessing.

To configure method accessing for a relationship:

  1. Select a relationship mapping from a TopLink descriptor in the Structure window.

  2. On the mapping's General tab, select the Use Method Accessing option.

    Figure 19-2 General Tab of TopLink Mapping Editor

    Image shows TopLink Mapping editor dialog
  3. Select the specific getter and setter methods for the relationship.