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.earncodegroup;
017
018 import java.util.ArrayList;
019 import java.util.List;
020
021 import org.kuali.hr.time.HrBusinessObject;
022
023 public class EarnCodeGroup extends HrBusinessObject {
024
025 /**
026 *
027 */
028 private static final long serialVersionUID = -3034933572755800531L;
029
030 private String hrEarnCodeGroupId;
031
032 private String earnCodeGroup;
033
034 private String descr;
035
036 private Boolean history;
037
038 private Boolean showSummary;
039
040 private List<EarnCodeGroupDefinition> earnCodeGroups = new ArrayList<EarnCodeGroupDefinition>();
041
042 private String warningText;
043
044
045
046 public Boolean getHistory() {
047 return history;
048 }
049
050 public void setHistory(Boolean history) {
051 this.history = history;
052 }
053
054 public List<EarnCodeGroupDefinition> getEarnCodeGroups() {
055 return earnCodeGroups;
056 }
057
058 public void setEarnCodeGroups(List<EarnCodeGroupDefinition> earnCodeGroups) {
059 this.earnCodeGroups = earnCodeGroups;
060 }
061
062 public void setDescr(String descr) {
063 this.descr = descr;
064 }
065
066 public String getDescr() {
067 return descr;
068 }
069
070
071 public Boolean getShowSummary() {
072 return showSummary;
073 }
074
075 public void setShowSummary(Boolean showSummary) {
076 this.showSummary = showSummary;
077 }
078
079 @Override
080 public String getUniqueKey() {
081 return earnCodeGroup;
082 }
083
084 @Override
085 public String getId() {
086 return getHrEarnCodeGroupId();
087 }
088
089 @Override
090 public void setId(String id) {
091 setHrEarnCodeGroupId(id);
092 }
093
094 public String getWarningText() {
095 return warningText;
096 }
097
098 public void setWarningText(String warningText) {
099 this.warningText = warningText;
100 }
101
102 public String getHrEarnCodeGroupId() {
103 return hrEarnCodeGroupId;
104 }
105
106 public void setHrEarnCodeGroupId(String hrEarnCodeGroupId) {
107 this.hrEarnCodeGroupId = hrEarnCodeGroupId;
108 }
109
110 public String getEarnCodeGroup() {
111 return earnCodeGroup;
112 }
113
114 public void setEarnCodeGroup(String earnCodeGroup) {
115 this.earnCodeGroup = earnCodeGroup;
116 }
117
118 }