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.salgroup;
17  
18  import org.kuali.hr.core.KPMEConstants;
19  import org.kuali.hr.time.HrBusinessObject;
20  
21  import java.sql.Date;
22  import java.sql.Timestamp;
23  import java.util.LinkedHashMap;
24  
25  public class SalGroup extends HrBusinessObject {
26      public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "SalGroup";
27  	/**
28  	 * 
29  	 */
30  	private static final long serialVersionUID = 1L;
31  	private String hrSalGroupId;
32  	private String hrSalGroup;
33  	private String descr;
34  	private boolean history;
35  
36  	public Date getEffectiveDate() {
37  		return effectiveDate;
38  	}
39  
40  	public void setEffectiveDate(Date effectiveDate) {
41  		this.effectiveDate = effectiveDate;
42  	}
43  
44  	public boolean isHistory() {
45  		return history;
46  	}
47  
48  	public void setHistory(boolean history) {
49  		this.history = history;
50  	}
51  
52  	public boolean isActive() {
53  		return active;
54  	}
55  
56  	public void setActive(boolean active) {
57  		this.active = active;
58  	}
59  
60  	public void setTimestamp(Timestamp timestamp) {
61  		this.timestamp = timestamp;
62  	}
63  
64  	public Timestamp getTimestamp() {
65  		return timestamp;
66  	}
67  
68  	public String getHrSalGroupId() {
69  		return hrSalGroupId;
70  	}
71  
72  	public void setHrSalGroupId(String hrSalGroupId) {
73  		this.hrSalGroupId = hrSalGroupId;
74  	}
75  
76  	public String getHrSalGroup() {
77  		return hrSalGroup;
78  	}
79  
80  	public void setHrSalGroup(String hrSalGroup) {
81  		this.hrSalGroup = hrSalGroup;
82  	}
83  
84  	public String getDescr() {
85  		return descr;
86  	}
87  
88  	public void setDescr(String descr) {
89  		this.descr = descr;
90  	}
91  
92  	@Override
93  	public String getUniqueKey() {
94  		return hrSalGroup;
95  	}
96  
97  	@Override
98  	public String getId() {
99  		return getHrSalGroupId();
100 	}
101 
102 	@Override
103 	public void setId(String id) {
104 		setHrSalGroupId(id);
105 	}
106 
107 }