class GuidedDTDRLPersistence {

    String getName(GuidedDecisionTable52 dt,
                   List<DTCellValue52> row,
                   Number num) {
        final DTCellValue52 ruleNameValue = row.get(RULE_NAME_COLUMN_INDEX);
        if (hasStringValue(ruleNameValue)) {
            return ruleNameValue.getStringValue();
        } else {
            return String.format("Row %d %s", num.longValue(), dt.getTableName());
        }
    }

}