timesheethelper.java

来自「一个很好的开源项目管理系统源代码」· Java 代码 · 共 37 行

JAVA
37
字号
package net.java.workeffort.webapp.support;import java.util.HashMap;import java.util.Map;import org.apache.commons.lang.Validate;import org.apache.commons.lang.builder.ToStringBuilder;/** * Helper for timesheet user interface. Stored in users session. * @author Antony Joseph */public class TimesheetHelper {    private String timesheetUserType;    private Map timesheetTotals = new HashMap();    public Map getTimesheetTotals() {        return timesheetTotals;    }    public void setTimesheetTotals(Map timesheetTotals) {        Validate.notNull(timesheetTotals, " timesheetTotals cannot be null");        this.timesheetTotals = timesheetTotals;    }    public String getTimesheetUserType() {        return timesheetUserType;    }    public void setTimesheetUserType(String timesheetUserType) {        this.timesheetUserType = timesheetUserType;    }    public String toString() {        return ToStringBuilder.reflectionToString(this);    }}

⌨️ 快捷键说明

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