📄 timesheethelper.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -