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  public class SalGroup extends HrBusinessObject {
22  
23  	private static final long serialVersionUID = 8169672203236887348L;
24  
25  	public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "SalGroup";
26  
27  	private String hrSalGroupId;
28  	private String hrSalGroup;
29  	private String descr;
30  	private boolean history;
31  
32  	public boolean isHistory() {
33  		return history;
34  	}
35  
36  	public void setHistory(boolean history) {
37  		this.history = history;
38  	}
39  
40  	public String getHrSalGroupId() {
41  		return hrSalGroupId;
42  	}
43  
44  	public void setHrSalGroupId(String hrSalGroupId) {
45  		this.hrSalGroupId = hrSalGroupId;
46  	}
47  
48  	public String getHrSalGroup() {
49  		return hrSalGroup;
50  	}
51  
52  	public void setHrSalGroup(String hrSalGroup) {
53  		this.hrSalGroup = hrSalGroup;
54  	}
55  
56  	public String getDescr() {
57  		return descr;
58  	}
59  
60  	public void setDescr(String descr) {
61  		this.descr = descr;
62  	}
63  
64  	@Override
65  	public String getUniqueKey() {
66  		return hrSalGroup;
67  	}
68  
69  	@Override
70  	public String getId() {
71  		return getHrSalGroupId();
72  	}
73  
74  	@Override
75  	public void setId(String id) {
76  		setHrSalGroupId(id);
77  	}
78  
79  }