1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.location;
17
18 import org.kuali.hr.core.KPMEConstants;
19 import org.kuali.hr.time.HrBusinessObject;
20
21 public class Location extends HrBusinessObject {
22
23 private static final long serialVersionUID = 9015089510044249197L;
24
25 public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "Location";
26
27 private String hrLocationId;
28 private String location;
29 private String timezone;
30 private String description;
31 private String userPrincipalId;
32 private String history;
33
34 public String getHrLocationId() {
35 return hrLocationId;
36 }
37
38 public void setHrLocationId(String hrLocationId) {
39 this.hrLocationId = hrLocationId;
40 }
41
42 public String getLocation() {
43 return location;
44 }
45
46 public void setLocation(String location) {
47 this.location = location;
48 }
49
50 public String getTimezone() {
51 return timezone;
52 }
53
54 public void setTimezone(String timezone) {
55 this.timezone = timezone;
56 }
57
58 public String getDescription() {
59 return description;
60 }
61
62 public void setDescription(String description) {
63 this.description = description;
64 }
65
66 public String getUserPrincipalId() {
67 return userPrincipalId;
68 }
69
70 public void setUserPrincipalId(String userPrincipalId) {
71 this.userPrincipalId = userPrincipalId;
72 }
73
74 @Override
75 public String getUniqueKey() {
76 return location;
77 }
78
79 public String getHistory() {
80 return history;
81 }
82
83 public void setHistory(String history) {
84 this.history = history;
85 }
86
87 @Override
88 public String getId() {
89 return getHrLocationId();
90 }
91
92 @Override
93 public void setId(String id) {
94 setHrLocationId(id);
95 }
96
97 }