Class DTCellValueUtilities
- java.lang.Object
-
- org.drools.workbench.screens.dtablexls.backend.server.conversion.DTCellValueUtilities
-
public class DTCellValueUtilities extends Object
Utilities relating to the use of DTCellValue's
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDTCellValueUtilities.ConversionErrorCallbackCallback to record data-type conversion errors.
-
Constructor Summary
Constructors Constructor Description DTCellValueUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassertDTCellValue(String type, org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52 dcv, DTCellValueUtilities.ConversionErrorCallback callback)The column-data type is looked up from the SuggestionCompletionEngine and represents the *true* data-type that the column represents.
-
-
-
Method Detail
-
assertDTCellValue
public static void assertDTCellValue(String type, org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52 dcv, DTCellValueUtilities.ConversionErrorCallback callback)
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- Parameters:
type-dcv-
-
-