Try OpenEdge Now
skip to main content
Java Open Clients
Accessing ABL ProDataSets : Updating a ProDataSet : Finding a row in a ProDataGraph
 

Finding a row in a ProDataGraph

You can find a row (ProDataObject instance) in a ProDataGraph in different ways, depending on how the tables (ProDataObject collections) are related (what ProDataRelationMetaData is associated with the ProDataGraph). If a table does not participate in any data-relations, the only way to find a row is to search through the entire ProDataObject list that you can get using the ProDataGraph getProDataObjects() method for a given table. If you know that a table you are searching participates in a data-relation, you can use the data-relation to find related parent and child rows for each ProDataObject in the table.
* Finding parent rows
* Finding child rows