001    /**
002     * Copyright 2004-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.hr.time;
017    
018    import java.sql.Date;
019    import java.sql.Timestamp;
020    
021    import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
022    
023    public abstract class HrBusinessObject extends PersistableBusinessObjectBase{
024    
025            private static final long serialVersionUID = -5743717258128864335L;
026            
027            private Date effectiveDate;
028            private boolean active;
029            private Timestamp timestamp;
030            
031            public abstract String getId();
032            
033            public abstract void setId(String id);
034            
035            protected abstract String getUniqueKey();
036            
037            public Date getEffectiveDate() {
038                    return effectiveDate;
039            }
040    
041            public void setEffectiveDate(Date effectiveDate) {
042                    this.effectiveDate = effectiveDate;
043            }
044    
045            public boolean isActive() {
046                    return active;
047            }
048    
049            public void setActive(boolean active) {
050                    this.active = active;
051            }
052    
053            public void setTimestamp(Timestamp timestamp) {
054                    this.timestamp = timestamp;
055            }
056    
057            public Timestamp getTimestamp() {
058                    return timestamp;
059            }
060    
061    }