A view link allows us to create a relationship between view objects. The relationship can be one-to-one, one-to-many, many-to-one, or many-to-many. The View Link Wizard and Editor lets us specify source and destination view objects, and links them using attributes selected.
To create a view link, we first need to have all the underlying view objects in place.
A view link is also like a Oracle Forms Block relation, that allows you to join two objects.
If you wish to create a master detail relation screen in ADF, then you must create View Links. As the user sets focus to the master row, the detail rows can be automatically queried using view link. This becomes possible when two view objects are related through a master-detail view link, and are in an application module, the iterator for the master view object automatically changes the detail rowset when the master row changes.
View links can optionally be created based on entity association [see this link for EO Assoc], but an association is not mandatory to create a view link.
A view link is similar to an association, but more flexible. It allows more relationships than equality between attributes and supports automatic master-detail synchronization.
Now, let us create a DepartmentVO.
![]()
To create a view link, we first need to have all the underlying view objects in place.
A view link is also like a Oracle Forms Block relation, that allows you to join two objects.
If you wish to create a master detail relation screen in ADF, then you must create View Links. As the user sets focus to the master row, the detail rows can be automatically queried using view link. This becomes possible when two view objects are related through a master-detail view link, and are in an application module, the iterator for the master view object automatically changes the detail rowset when the master row changes.
View links can optionally be created based on entity association [see this link for EO Assoc], but an association is not mandatory to create a view link.
A view link is similar to an association, but more flexible. It allows more relationships than equality between attributes and supports automatic master-detail synchronization.
Now, let us create a DepartmentVO.