You can use a view link to obtain detail data for a master row. There are two ways to do this:
To traverse a view link using the data model:
To traverse a view link using view link accessors:
getAttribute()
on the master row.
For example, if custVO
is an instance of the view
object with definition CustomersView
, and custRow
is a row of custVO
and CustOrdLink
is a view link
definition between CustomersView
and OrdersView
and the destination accessor for the view link is OrdersForCustomer
, then you could obtain all of the detail rows for custRow
using
the following code:
RowIterator orders = custRow.getAttribute("OrdersForCustomer");
RowIterator
, just as you would a view object
instance.
Accessing Data from Clients
About Oracle ADF View Links
About Oracle
ADF View Objects
About Oracle ADF
Application Modules
About View
Object and View Link Instances
Creating a View Object Definition
Creating a View Link Definition
Copyright © 1997, 2004, Oracle. All rights reserved.