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.paygrade;
17  
18  import org.kuali.hr.core.KPMEConstants;
19  import org.kuali.hr.time.HrBusinessObject;
20  import org.kuali.hr.time.salgroup.SalGroup;
21  
22  public class PayGrade extends HrBusinessObject {
23  
24  	private static final long serialVersionUID = -5736949952127760566L;
25  
26  	public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "PayGrade";
27  
28  	private String hrPayGradeId;
29  	private String payGrade;
30  	private String description;
31  	private String userPrincipalId;
32  	private String salGroup;
33  	private SalGroup salGroupObj;
34      private String history;
35  
36      public String getHistory() {
37          return history;
38      }
39  
40      public void setHistory(String history) {
41          this.history = history;
42      }
43  
44  	public String getHrPayGradeId() {
45  		return hrPayGradeId;
46  	}
47  
48  	public void setHrPayGradeId(String hrPayGradeId) {
49  		this.hrPayGradeId = hrPayGradeId;
50  	}
51  
52  	public String getPayGrade() {
53  		return payGrade;
54  	}
55  
56  	public void setPayGrade(String payGrade) {
57  		this.payGrade = payGrade;
58  	}
59  
60  	public String getDescription() {
61  		return description;
62  	}
63  
64  	public void setDescription(String description) {
65  		this.description = description;
66  	}
67  
68  	public void setUserPrincipalId(String userPrincipalId) {
69  		this.userPrincipalId = userPrincipalId;
70  	}
71  
72  	public String getUserPrincipalId() {
73  		return userPrincipalId;
74  	}
75  
76  	@Override
77  	public String getUniqueKey() {
78  		return payGrade;
79  	}
80  	
81  	@Override
82  	public String getId() {
83  		return getHrPayGradeId();
84  	}
85  
86  	@Override
87  	public void setId(String id) {
88  		setHrPayGradeId(id);
89  	}
90  	
91  	public String getSalGroup() {
92  		return salGroup;
93  	}
94  
95  	public void setSalGroup(String salGroup) {
96  		this.salGroup = salGroup;
97  	}
98  
99  	public SalGroup getSalGroupObj() {
100 		return salGroupObj;
101 	}
102 
103 	public void setSalGroupObj(SalGroup salGroupObj) {
104 		this.salGroupObj = salGroupObj;
105 	}
106 
107 }