protected Object getTopRowBean ( final List < Integer > row ) { // Get root level List < ? > lvl = getBeanList ( ) ; if ( lvl == null || lvl . isEmpty ( ) ) { return null ; } // Get root row bean (ie top level) int rowIdx = row . get ( 0 ) ; Object rowData = lvl . get ( rowIdx ) ; return rowData ; }
Return the top level bean for this row index .