1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time;
17
18 import java.sql.Date;
19 import java.sql.Timestamp;
20
21 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22
23 public abstract class HrBusinessObject extends PersistableBusinessObjectBase{
24
25 private static final long serialVersionUID = -5743717258128864335L;
26
27 private Date effectiveDate;
28 private boolean active;
29 private Timestamp timestamp;
30
31 public abstract String getId();
32
33 public abstract void setId(String id);
34
35 protected abstract String getUniqueKey();
36
37 public Date getEffectiveDate() {
38 return effectiveDate;
39 }
40
41 public void setEffectiveDate(Date effectiveDate) {
42 this.effectiveDate = effectiveDate;
43 }
44
45 public boolean isActive() {
46 return active;
47 }
48
49 public void setActive(boolean active) {
50 this.active = active;
51 }
52
53 public void setTimestamp(Timestamp timestamp) {
54 this.timestamp = timestamp;
55 }
56
57 public Timestamp getTimestamp() {
58 return timestamp;
59 }
60
61 }