All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spreadsheet.mapper.w2o.validation.validator.row.RowValidator Maven / Gradle / Ivy

The newest version!
package spreadsheet.mapper.w2o.validation.validator.row;


import spreadsheet.mapper.model.core.Row;
import spreadsheet.mapper.model.meta.SheetMeta;

import java.util.Set;

/**
 * row validator, after sheet validators.
 * 

* Created by hanwen on 4/26/16. */ public interface RowValidator { /** * the error message will be collected when validator failure if error message is not blank * * @return valid error message */ String getErrorMessage(); /** * valid supplied row * * @param row {@link Row} * @param sheetMeta {@link SheetMeta} * @return true if pass */ boolean valid(Row row, SheetMeta sheetMeta); /** * @return error message on which fields */ Set getMessageOnFields(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy