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.time.earncodegroup;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  import org.kuali.hr.time.HrBusinessObject;
22  
23  public class EarnCodeGroup extends HrBusinessObject {
24  
25  	/**
26  	 * 
27  	 */
28  	private static final long serialVersionUID = -3034933572755800531L;
29  
30  	private String hrEarnCodeGroupId;
31  
32  	private String earnCodeGroup;
33  
34  	private String descr;
35  
36  	private Boolean history;
37  	
38  	private Boolean showSummary;
39  
40  	private List<EarnCodeGroupDefinition> earnCodeGroups = new ArrayList<EarnCodeGroupDefinition>();
41  	
42  	private String warningText;
43  
44  	
45  
46  	public Boolean getHistory() {
47  		return history;
48  	}
49  
50  	public void setHistory(Boolean history) {
51  		this.history = history;
52  	}
53  
54  	public List<EarnCodeGroupDefinition> getEarnCodeGroups() {
55  		return earnCodeGroups;
56  	}
57  
58  	public void setEarnCodeGroups(List<EarnCodeGroupDefinition> earnCodeGroups) {
59  		this.earnCodeGroups = earnCodeGroups;
60  	}
61  
62  	public void setDescr(String descr) {
63  		this.descr = descr;
64  	}
65  
66  	public String getDescr() {
67  		return descr;
68  	}
69  
70  	
71  	public Boolean getShowSummary() {
72  		return showSummary;
73  	}
74  
75  	public void setShowSummary(Boolean showSummary) {
76  		this.showSummary = showSummary;
77  	}
78  
79  	@Override
80  	public String getUniqueKey() {
81  		return earnCodeGroup;
82  	}
83  
84  	@Override
85  	public String getId() {
86  		return getHrEarnCodeGroupId();
87  	}
88  
89  	@Override
90  	public void setId(String id) {
91  		setHrEarnCodeGroupId(id);
92  	}
93  
94  	public String getWarningText() {
95  		return warningText;
96  	}
97  
98  	public void setWarningText(String warningText) {
99  		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 }