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      
26  
27  
28      private static final long serialVersionUID = 1L;
29  
30  
31      protected abstract String getUniqueKey();
32      protected Date effectiveDate;
33      protected boolean active;
34      protected Timestamp timestamp;
35  
36      public abstract String getId();
37  
38      public abstract void setId(String id);
39  
40      public Date getEffectiveDate() {
41          return effectiveDate;
42      }
43  
44      public void setEffectiveDate(Date effectiveDate) {
45          this.effectiveDate = effectiveDate;
46      }
47  
48      public boolean isActive() {
49          return active;
50      }
51  
52      public void setActive(boolean active) {
53          this.active = active;
54      }
55  
56      public void setTimestamp(Timestamp timestamp) {
57          this.timestamp = timestamp;
58      }
59  
60      public Timestamp getTimestamp() {
61          return timestamp;
62      }
63  
64  }