14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.3.7. Setting Up Master-Detail Synchronization<br />

}<br />

return getLastName() + "," + getFirstName();<br />

10. Save the changes and close the View Object dialog.<br />

Reference: It is recommended to test the ViewObject with the Business<br />

Components Browser. See section Test the model.<br />

<strong>JHeadstart</strong> is capable of generating parent-child or master-detail layouts. For example<br />

you want to show a department with all the employees in that departments as detail.<br />

When you want to generate master-detail layout, it is important to make some<br />

preparations in the ADF BC Model. Let’s take the Departments with Employees as an<br />

example:<br />

1. A View Link representing the master-detail relation must exist in your Model<br />

project:<br />

2. The master-detail relation must exist in the Data Model of your Application<br />

Module<br />

3 - 22 Creating Business Components <strong>JHeadstart</strong> <strong>Developer's</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!