/** * The column-data type is looked up from the SuggestionCompletionEngine and represents the *true* * data-type that the column represents. The data-type associated with the Cell Value can be * incorrect for legacy models. For pre-5.2 they will always be String and for pre-5.4 numerical * fields are always Numeric * * @param dataType * @param dcv */ public void assertDTCellValue(DataType.DataTypes dataType, DTCellValue52 dcv) { if (dcv == null) { return; } // If already converted exit if (dataType.equals(dcv.getDataType())) { return; } switch (dcv.getDataType()) { case NUMERIC: convertDTCellValueFromNumeric(dataType, dcv); break; default: convertDTCellValueFromString(dataType, dcv); } }