package com.vci.ubcs.starter.poi.bo;
|
|
|
import java.util.List;
|
import java.util.Map;
|
|
public class ReadExcelOption {
|
private int fristRow = 1;
|
private int sheetIndex = 0;
|
private String sheetName;
|
private boolean readAllSheet = false;
|
private Map<String, List<ExcelColumnMap>> extendAttrMap;
|
|
public String getSheetName() {
|
return this.sheetName;
|
}
|
|
public void setSheetName(String sheetName) {
|
this.sheetName = sheetName;
|
}
|
|
public ReadExcelOption() {
|
}
|
|
public ReadExcelOption(int fristRow) {
|
this.fristRow = fristRow;
|
}
|
|
public ReadExcelOption(int fristRow, boolean readAllSheet) {
|
this.fristRow = fristRow;
|
this.readAllSheet = readAllSheet;
|
}
|
|
public int getFristRow() {
|
return this.fristRow;
|
}
|
|
public void setFristRow(int fristRow) {
|
this.fristRow = fristRow;
|
}
|
|
public int getSheetIndex() {
|
return this.sheetIndex;
|
}
|
|
public void setSheetIndex(int sheetIndex) {
|
this.sheetIndex = sheetIndex;
|
}
|
|
public boolean isReadAllSheet() {
|
return this.readAllSheet;
|
}
|
|
public void setReadAllSheet(boolean readAllSheet) {
|
this.readAllSheet = readAllSheet;
|
}
|
|
public Map<String, List<ExcelColumnMap>> getExtendAttrMap() {
|
return this.extendAttrMap;
|
}
|
|
public void setExtendAttrMap(Map<String, List<ExcelColumnMap>> extendAttrMap) {
|
this.extendAttrMap = extendAttrMap;
|
}
|
|
public String toString() {
|
return "ReadExcelOption{fristRow=" + this.fristRow + ", sheetIndex=" + this.sheetIndex + ", sheetName='" + this.sheetName + '\'' + ", readAllSheet=" + this.readAllSheet + ", extendAttrMap=" + this.extendAttrMap + '}';
|
}
|
}
|