1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  package org.kuali.hr.time.syslunch.rule;
17  
18  import org.kuali.hr.core.KPMEConstants;
19  import org.kuali.hr.time.rule.TkRule;
20  
21  public class SystemLunchRule extends TkRule {
22      public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "SystemLunchRule";
23  	
24  
25  
26  	private static final long serialVersionUID = 1L;
27  	private String tkSystemLunchRuleId;
28  	private Boolean showLunchButton = false;
29  	private boolean history;
30  	private String userPrincipalId;
31  
32  
33  	public String getTkSystemLunchRuleId() {
34  		return tkSystemLunchRuleId;
35  	}
36  
37  	public void setTkSystemLunchRuleId(String tkSystemLunchRuleId) {
38  		this.tkSystemLunchRuleId = tkSystemLunchRuleId;
39  	}
40  
41  	public boolean isHistory() {
42  		return history;
43  	}
44  
45  
46  	public void setHistory(boolean history) {
47  		this.history = history;
48  	}
49  
50  	public String getUserPrincipalId() {
51  		return userPrincipalId;
52  	}
53  
54  	public void setUserPrincipalId(String userPrincipalId) {
55  		this.userPrincipalId = userPrincipalId;
56  	}
57  
58  
59  	public Boolean getShowLunchButton() {
60  		return showLunchButton;
61  	}
62  
63  
64  	public void setShowLunchButton(Boolean showLunchButton) {
65  		this.showLunchButton = showLunchButton;
66  	}
67  
68  
69  	@Override
70  	public String getUniqueKey() {
71  		return "";
72  	}
73  
74  	@Override
75  	public String getId() {
76  		return getTkSystemLunchRuleId();
77  	}
78  
79  	@Override
80  	public void setId(String id) {
81  		setTkSystemLunchRuleId(id);
82  	}
83  
84  }