Time for action – creating an association between EmpEO and DeptEO objects
Carry out the
following steps to create an association between EmpEO
and DeptEO
objects:
- Select the New option from the File menu and select ADF Business Component from the Business Tier.
- Enter the package name as
com.empdirectory.model.association
and the name asEmpEOToDeptEOAssoc
in the Create Association wizard. The package structure for all these business objects can be predefined from the Tools | Preferences | ADF Business Components | Packages section. - Click on the Next > button to create an association between the entity objects. Select the value of Cardinality as
* to 1
from the drop-down menu to represent the many-to-one relationship betweenEmpEO
andDeptEO
.Note ...
Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.