package kr.wisestone.owl.vo;
|
|
import org.apache.poi.xssf.usermodel.XSSFCellStyle;
|
|
public class ExportExcelAttrVo {
|
public static final short ALIGN_LEFT = XSSFCellStyle.ALIGN_LEFT;
|
public static final short ALIGN_CENTER = XSSFCellStyle.ALIGN_CENTER;
|
public static final short ALIGN_RIGHT = XSSFCellStyle.ALIGN_RIGHT;
|
|
private String name;
|
private String desc;
|
private int width = 30;
|
private short align = ALIGN_LEFT;
|
private String i18Prefix;
|
private XSSFCellStyle cellStyle;
|
private String voAttrName;
|
private int mergeCount = 0;
|
private Boolean replaceWithNewlineYn = Boolean.FALSE;
|
|
public ExportExcelAttrVo() {
|
}
|
|
public ExportExcelAttrVo(String name) {
|
this.name = name;
|
}
|
|
public ExportExcelAttrVo(String name, String desc) {
|
this.name = name;
|
this.desc = desc;
|
}
|
|
public ExportExcelAttrVo(String name, String desc, int width) {
|
this.name = name;
|
this.desc = desc;
|
this.width = width;
|
}
|
|
public ExportExcelAttrVo(String name, String desc, int width, short align) {
|
this.name = name;
|
this.desc = desc;
|
this.width = width;
|
this.align = align;
|
}
|
|
public ExportExcelAttrVo(String name, String desc, int width, short align, Boolean replaceWithNewlineYn) {
|
this.name = name;
|
this.desc = desc;
|
this.width = width;
|
this.align = align;
|
this.replaceWithNewlineYn = replaceWithNewlineYn;
|
}
|
|
public ExportExcelAttrVo(String name, String desc, int width, short align, int mergeCount) {
|
this.name = name;
|
this.desc = desc;
|
this.width = width;
|
this.align = align;
|
this.mergeCount = mergeCount;
|
}
|
|
public ExportExcelAttrVo(String name, String desc, int width, XSSFCellStyle cellStyle, int mergeCount) {
|
this.name = name;
|
this.desc = desc;
|
this.width = width;
|
this.cellStyle = cellStyle;
|
this.mergeCount = mergeCount;
|
}
|
|
public ExportExcelAttrVo(String name, String desc, String voAttrName, int width, short align) {
|
this.name = name;
|
this.desc = desc;
|
this.voAttrName = voAttrName;
|
this.width = width;
|
this.align = align;
|
}
|
|
public ExportExcelAttrVo(String name, String desc, int width, short align, String i18Prefix) {
|
this.name = name;
|
this.desc = desc;
|
this.width = width;
|
this.align = align;
|
this.i18Prefix = i18Prefix;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDesc() {
|
return this.desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public int getWidth() {
|
return this.width;
|
}
|
|
public void setWidth(int width) {
|
this.width = width;
|
}
|
|
public short getAlign() {
|
return this.align;
|
}
|
|
public void setAlign(short align) {
|
this.align = align;
|
}
|
|
public XSSFCellStyle getCellStyle() {
|
return this.cellStyle;
|
}
|
|
public void setCellStyle(XSSFCellStyle cellStyle) {
|
this.cellStyle = cellStyle;
|
}
|
|
public String getI18Prefix() {
|
return this.i18Prefix;
|
}
|
|
public void setI18Prefix(String i18Prefix) {
|
this.i18Prefix = i18Prefix;
|
}
|
|
public String getVoAttrName() {
|
return this.voAttrName;
|
}
|
|
public void setVoAttrName(String voAttrName) {
|
this.voAttrName = voAttrName;
|
}
|
|
public int getMergeCount() {
|
return mergeCount;
|
}
|
|
public void setMergeCount(int mergeCount) {
|
this.mergeCount = mergeCount;
|
}
|
|
public Boolean getReplaceWithNewlineYn() {
|
return replaceWithNewlineYn;
|
}
|
|
public void setReplaceWithNewlineYn(Boolean replaceWithNewlineYn) {
|
this.replaceWithNewlineYn = replaceWithNewlineYn;
|
}
|
}
|