⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simplebean.java

📁 一个java生成自动生成Excel
💻 JAVA
字号:
package net.sf.jxls.bean;import java.util.Date;/** * @author Leonid Vysochyn */public class SimpleBean {    private String name;    private Double doubleValue;    private Integer intValue;    private Date dateValue;    private SimpleBean other;    int amount;    public SimpleBean(String name, Double doubleValue, Integer intValue, Date dateValue) {        this.name = name;        this.doubleValue = doubleValue;        this.intValue = intValue;        this.dateValue = dateValue;    }    public SimpleBean(String name, Double doubleValue, Integer intValue) {        this.name = name;        this.doubleValue = doubleValue;        this.intValue = intValue;    }    public SimpleBean(int amount) {        this.amount = amount;    }    public int getAmount() {        return amount;    }    public void setAmount(int amount) {        this.amount = amount;    }    public String getBeansProp(){        return "beans_for_" + name;    }    public String getName() {        return name;    }    public void setName(String name) {        this.name = name;    }    public Double getDoubleValue() {        return doubleValue;    }    public void setDoubleValue(Double doubleValue) {        this.doubleValue = doubleValue;    }    public SimpleBean getOther() {        return other;    }    public void setOther(SimpleBean other) {        this.other = other;    }    public Integer getIntValue() {        return intValue;    }    public void setIntValue(Integer intValue) {        this.intValue = intValue;    }    public Date getDateValue() {        return dateValue;    }    public void setDateValue(Date dateValue) {        this.dateValue = dateValue;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -