public class ExcelBooleanClassificationFieldValidator extends AbstractSingleClassificationFieldValidator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VALIDATION_INCORRECTTYPE_BOOLEAN_MESSAGE_KEY |
| Constructor and Description |
|---|
ExcelBooleanClassificationFieldValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleSingle(ExcelClassificationAttribute excelAttribute,
ImportParameters importParameters) |
ExcelValidationResult |
validate(ExcelClassificationAttribute excelAttribute,
ImportParameters importParameters,
java.util.Map<java.lang.String,java.lang.Object> context)
Validates given cell and returns validation result.
|
canHandlepublic static final java.lang.String VALIDATION_INCORRECTTYPE_BOOLEAN_MESSAGE_KEY
public ExcelBooleanClassificationFieldValidator()
public boolean canHandleSingle(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters)
canHandleSingle in class AbstractSingleClassificationFieldValidatorpublic ExcelValidationResult validate(ExcelClassificationAttribute excelAttribute, ImportParameters importParameters, java.util.Map<java.lang.String,java.lang.Object> context)
ExcelAttributeValidatorExcelValidationResult.SUCCESS should be returned.context - map which can be used as a cache. The map is shared between all request for given excel sheet.Copyright © 2018 SAP SE. All Rights Reserved.