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.paygrade;
017
018 import org.kuali.hr.core.KPMEConstants;
019 import org.kuali.hr.time.HrBusinessObject;
020 import org.kuali.hr.time.salgroup.SalGroup;
021
022 public class PayGrade extends HrBusinessObject {
023
024 private static final long serialVersionUID = -5736949952127760566L;
025
026 public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "PayGrade";
027
028 private String hrPayGradeId;
029 private String payGrade;
030 private String description;
031 private String userPrincipalId;
032 private String salGroup;
033 private SalGroup salGroupObj;
034
035 public String getHrPayGradeId() {
036 return hrPayGradeId;
037 }
038
039 public void setHrPayGradeId(String hrPayGradeId) {
040 this.hrPayGradeId = hrPayGradeId;
041 }
042
043 public String getPayGrade() {
044 return payGrade;
045 }
046
047 public void setPayGrade(String payGrade) {
048 this.payGrade = payGrade;
049 }
050
051 public String getDescription() {
052 return description;
053 }
054
055 public void setDescription(String description) {
056 this.description = description;
057 }
058
059 public void setUserPrincipalId(String userPrincipalId) {
060 this.userPrincipalId = userPrincipalId;
061 }
062
063 public String getUserPrincipalId() {
064 return userPrincipalId;
065 }
066
067 @Override
068 public String getUniqueKey() {
069 return payGrade;
070 }
071
072 @Override
073 public String getId() {
074 return getHrPayGradeId();
075 }
076
077 @Override
078 public void setId(String id) {
079 setHrPayGradeId(id);
080 }
081
082 public String getSalGroup() {
083 return salGroup;
084 }
085
086 public void setSalGroup(String salGroup) {
087 this.salGroup = salGroup;
088 }
089
090 public SalGroup getSalGroupObj() {
091 return salGroupObj;
092 }
093
094 public void setSalGroupObj(SalGroup salGroupObj) {
095 this.salGroupObj = salGroupObj;
096 }
097
098 }