private String getColumnName(DataColumnsDao dataColumnsDao, FeatureRow featureRow, String columnName) {

        String newColumnName = columnName;

        if (dataColumnsDao != null) {
            try {
                DataColumns dataColumn = dataColumnsDao.getDataColumn(featureRow.getTable().getTableName(), columnName);
                if (dataColumn != null) {
                    newColumnName = dataColumn.getName();
                }
            } catch (SQLException e) {
                Log.e(FeatureOverlayQuery.class.getSimpleName(),
                        "Failed to search for Data Column name for column: " + columnName
                                + ", Feature Table: " + featureRow.getTable().getTableName(), e);
            }
        }

        return newColumnName;
    }
private String getColumnName ( DataColumnsDao dataColumnsDao , FeatureRow featureRow , String columnName ) { String newColumnName = columnName ; if ( dataColumnsDao != null ) { try { DataColumns dataColumn = dataColumnsDao . getDataColumn ( featureRow . getTable ( ) . getTableName ( ) , columnName ) ; if ( dataColumn != null ) { newColumnName = dataColumn . getName ( ) ; } } catch ( SQLException e ) { Log . e ( FeatureOverlayQuery . class . getSimpleName ( ) , "Failed to search for Data Column name for column: " + columnName + ", Feature Table: " + featureRow . getTable ( ) . getTableName ( ) , e ) ; } } return newColumnName ; }
Get the column name by checking for a DataColumns name, otherwise returns the provided column name

@param dataColumnsDao data columns dao
@param featureRow     feature row
@param columnName     column name
@return column name