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.time.salgroup; 017 018 import org.kuali.hr.core.KPMEConstants; 019 import org.kuali.hr.time.HrBusinessObject; 020 021 public class SalGroup extends HrBusinessObject { 022 023 private static final long serialVersionUID = 8169672203236887348L; 024 025 public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "SalGroup"; 026 027 private String hrSalGroupId; 028 private String hrSalGroup; 029 private String descr; 030 private boolean history; 031 032 public boolean isHistory() { 033 return history; 034 } 035 036 public void setHistory(boolean history) { 037 this.history = history; 038 } 039 040 public String getHrSalGroupId() { 041 return hrSalGroupId; 042 } 043 044 public void setHrSalGroupId(String hrSalGroupId) { 045 this.hrSalGroupId = hrSalGroupId; 046 } 047 048 public String getHrSalGroup() { 049 return hrSalGroup; 050 } 051 052 public void setHrSalGroup(String hrSalGroup) { 053 this.hrSalGroup = hrSalGroup; 054 } 055 056 public String getDescr() { 057 return descr; 058 } 059 060 public void setDescr(String descr) { 061 this.descr = descr; 062 } 063 064 @Override 065 public String getUniqueKey() { 066 return hrSalGroup; 067 } 068 069 @Override 070 public String getId() { 071 return getHrSalGroupId(); 072 } 073 074 @Override 075 public void setId(String id) { 076 setHrSalGroupId(id); 077 } 078 079 }