1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.clock.location;
17
18 import org.kuali.hr.time.HrBusinessObject;
19
20 public class ClockLocationRuleIpAddress extends HrBusinessObject {
21
22 private static final long serialVersionUID = 1L;
23 private String tkClockLocationRuleIpId;
24 private String tkClockLocationRuleId;
25 private String ipAddress;
26
27 @Override
28 public String getId() {
29 return this.getTkClockLocationRuleIpId();
30 }
31
32 @Override
33 public void setId(String id) {
34 this.setTkClockLocationRuleIpId(id);
35 }
36 @Override
37 public String getUniqueKey() {
38 String ipAddressKey = getTkClockLocationRuleIpId().toString()
39 +"_"+ getTkClockLocationRuleId().toString() + "_" + getIpAddress();
40 return ipAddressKey;
41 }
42
43 public String getIpAddress() {
44 return ipAddress;
45 }
46
47 public void setIpAddress(String ipAddress) {
48 this.ipAddress = ipAddress;
49 }
50
51 public String getTkClockLocationRuleIpId() {
52 return tkClockLocationRuleIpId;
53 }
54
55 public void setTkClockLocationRuleIpId(String tkClockLocationRuleIpId) {
56 this.tkClockLocationRuleIpId = tkClockLocationRuleIpId;
57 }
58
59 public String getTkClockLocationRuleId() {
60 return tkClockLocationRuleId;
61 }
62
63 public void setTkClockLocationRuleId(String tkClockLocationRuleId) {
64 this.tkClockLocationRuleId = tkClockLocationRuleId;
65 }
66
67 }