protected Object getRowId ( final Object rowBean ) { String rowIdProperty = getComponentModel ( ) . rowIdProperty ; if ( rowIdProperty == null || rowBean == null ) { return rowBean ; } try { return PropertyUtils . getProperty ( rowBean , rowIdProperty ) ; } catch ( Exception e ) { LOG . error ( "Failed to read row property \"" + rowIdProperty + "\" on " + rowBean , e ) ; return rowBean ; } }
Retrieves the row id for the given row .