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 java.sql.Date;
19  import java.sql.Timestamp;
20  
21  import org.kuali.hr.core.KPMEConstants;
22  import org.kuali.hr.time.HrBusinessObject;
23  import org.kuali.hr.time.salgroup.SalGroup;
24  
25  public class PayGrade extends HrBusinessObject {
26      public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "PayGrade";
27  	/**
28  	 * 
29  	 */
30  	private static final long serialVersionUID = 1L;
31  	private String hrPayGradeId;
32  	private String payGrade;
33  	private String description;
34  	private String userPrincipalId;
35      private String salGroup;
36      private SalGroup salGroupObj;
37  
38      public String getHrPayGradeId() {
39  		return hrPayGradeId;
40  	}
41  
42  	public void setHrPayGradeId(String hrPayGradeId) {
43  		this.hrPayGradeId = hrPayGradeId;
44  	}
45  
46  	public String getPayGrade() {
47  		return payGrade;
48  	}
49  
50  	public void setPayGrade(String payGrade) {
51  		this.payGrade = payGrade;
52  	}
53  
54  	public String getDescription() {
55  		return description;
56  	}
57  
58  	public void setDescription(String description) {
59  		this.description = description;
60  	}
61  
62  	public Date getEffectiveDate() {
63  		return effectiveDate;
64  	}
65  
66  	public void setEffectiveDate(Date effectiveDate) {
67  		this.effectiveDate = effectiveDate;
68  	}
69  
70  	public Timestamp getTimestamp() {
71  		return timestamp;
72  	}
73  
74  	public void setTimestamp(Timestamp timestamp) {
75  		this.timestamp = timestamp;
76  	}
77  
78  	public Boolean getActive() {
79  		return active;
80  	}
81  
82  	public void setActive(Boolean active) {
83  		this.active = active;
84  	}
85  
86  	public void setUserPrincipalId(String userPrincipalId) {
87  		this.userPrincipalId = userPrincipalId;
88  	}
89  
90  	public String getUserPrincipalId() {
91  		return userPrincipalId;
92  	}
93  
94  	@Override
95  	public String getUniqueKey() {
96  		return payGrade;
97  	}
98  	
99  	@Override
100 	public String getId() {
101 		return getHrPayGradeId();
102 	}
103 
104 	@Override
105 	public void setId(String id) {
106 		setHrPayGradeId(id);
107 	}
108 
109     public String getSalGroup() {
110         return salGroup;
111     }
112 
113     public void setSalGroup(String salGroup) {
114         this.salGroup = salGroup;
115     }
116 
117 	public SalGroup getSalGroupObj() {
118 		return salGroupObj;
119 	}
120 
121 	public void setSalGroupObj(SalGroup salGroupObj) {
122 		this.salGroupObj = salGroupObj;
123 	}
124 
125 }