Time for action – creating a view link between EmpVO and DeptVO
Now in the following steps, we will see
how to create a view link between EmpVO
and DeptVO
:
- Since both the view objects are based on entity objects, we can map the view link based on the association between
EmpEO
andDeptEO
. - Right-click on the
com.empdirectory.model.view
package and select New View Link. - In the Create View Link wizard, enter
com.empdirectory.model.viewlink
as the Package name andEmpVOToDeptVOLink
as the Name value: - In the next screen, we will select the cardinality as * to 1 which represents a many-to-one relationship and map the association
EmpEOToDeptEOAssoc
between ...
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.