View Javadoc

1   /**
2    * Copyright 2004-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
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  }