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.salgroup;
017    
018    import org.kuali.hr.core.KPMEConstants;
019    import org.kuali.hr.time.HrBusinessObject;
020    
021    import java.sql.Date;
022    import java.sql.Timestamp;
023    import java.util.LinkedHashMap;
024    
025    public class SalGroup extends HrBusinessObject {
026        public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "SalGroup";
027            /**
028             * 
029             */
030            private static final long serialVersionUID = 1L;
031            private String hrSalGroupId;
032            private String hrSalGroup;
033            private String descr;
034            private boolean history;
035    
036            public Date getEffectiveDate() {
037                    return effectiveDate;
038            }
039    
040            public void setEffectiveDate(Date effectiveDate) {
041                    this.effectiveDate = effectiveDate;
042            }
043    
044            public boolean isHistory() {
045                    return history;
046            }
047    
048            public void setHistory(boolean history) {
049                    this.history = history;
050            }
051    
052            public boolean isActive() {
053                    return active;
054            }
055    
056            public void setActive(boolean active) {
057                    this.active = active;
058            }
059    
060            public void setTimestamp(Timestamp timestamp) {
061                    this.timestamp = timestamp;
062            }
063    
064            public Timestamp getTimestamp() {
065                    return timestamp;
066            }
067    
068            public String getHrSalGroupId() {
069                    return hrSalGroupId;
070            }
071    
072            public void setHrSalGroupId(String hrSalGroupId) {
073                    this.hrSalGroupId = hrSalGroupId;
074            }
075    
076            public String getHrSalGroup() {
077                    return hrSalGroup;
078            }
079    
080            public void setHrSalGroup(String hrSalGroup) {
081                    this.hrSalGroup = hrSalGroup;
082            }
083    
084            public String getDescr() {
085                    return descr;
086            }
087    
088            public void setDescr(String descr) {
089                    this.descr = descr;
090            }
091    
092            @Override
093            public String getUniqueKey() {
094                    return hrSalGroup;
095            }
096    
097            @Override
098            public String getId() {
099                    return getHrSalGroupId();
100            }
101    
102            @Override
103            public void setId(String id) {
104                    setHrSalGroupId(id);
105            }
106    
107    }