
cn.afterturn.easypoi.excel.entity.result.ExcelImportResult Maven / Gradle / Ivy
/**
* Copyright 2013-2015 JueYue ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.afterturn.easypoi.excel.entity.result;
import java.util.List;
import java.util.Map;
import org.apache.poi.ss.usermodel.Workbook;
/**
* 导入返回类
*
* @author JueYue
* 2014年6月29日 下午5:12:10
*/
public class ExcelImportResult {
/**
* 结果集
*/
private List list;
/**
* 失败数据
*/
private List failList;
/**
* 是否存在校验失败
*/
private boolean verfiyFail;
/**
* 数据源
*/
private Workbook workbook;
/**
* 失败的数据源
*/
private Workbook failWorkbook;
private Map map;
public ExcelImportResult() {
}
public ExcelImportResult(List list, boolean verfiyFail, Workbook workbook) {
this.list = list;
this.verfiyFail = verfiyFail;
this.workbook = workbook;
}
public List getList() {
return list;
}
public Workbook getWorkbook() {
return workbook;
}
public boolean isVerfiyFail() {
return verfiyFail;
}
public void setList(List list) {
this.list = list;
}
public void setVerfiyFail(boolean verfiyFail) {
this.verfiyFail = verfiyFail;
}
public void setWorkbook(Workbook workbook) {
this.workbook = workbook;
}
public Map getMap() {
return map;
}
public void setMap(Map map) {
this.map = map;
}
public Workbook getFailWorkbook() {
return failWorkbook;
}
public void setFailWorkbook(Workbook failWorkbook) {
this.failWorkbook = failWorkbook;
}
public List getFailList() {
return failList;
}
public void setFailList(List failList) {
this.failList = failList;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy