View Javadoc

1   /**
2    * Copyright 2004-2012 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.accrual;
17  
18  import org.kuali.hr.time.HrBusinessObject;
19  
20  import java.sql.Date;
21  import java.sql.Timestamp;
22  import java.util.LinkedHashMap;
23  
24  public class AccrualCategory extends HrBusinessObject {
25  
26  	/**
27  	 * 
28  	 */
29  	private static final long serialVersionUID = 1L;
30  	private String lmAccrualCategoryId;
31  	private String accrualCategory;
32  	private String descr;
33      private String unitOfTime;
34  	private boolean history;
35  	
36  
37  
38  	public String getAccrualCategory() {
39  		return accrualCategory;
40  	}
41  
42  
43  
44  	public void setAccrualCategory(String accrualCategory) {
45  		this.accrualCategory = accrualCategory;
46  	}
47  
48  
49  
50  	public String getDescr() {
51  		return descr;
52  	}
53  
54  
55  
56  	public void setDescr(String descr) {
57  		this.descr = descr;
58  	}
59  
60  
61  	public boolean isHistory() {
62  		return history;
63  	}
64  
65      public String getUnitOfTime() {
66          return unitOfTime;
67      }
68  
69      public void setUnitOfTime(String unitOfTime) {
70          this.unitOfTime = unitOfTime;
71      }
72  
73  	public void setHistory(boolean history) {
74  		this.history = history;
75  	}
76  
77  	public boolean isActive() {
78  		return active;
79  	}
80  
81  
82  
83  	public void setActive(boolean active) {
84  		this.active = active;
85  	}
86  
87  
88  
89  	public Date getEffectiveDate() {
90  		return effectiveDate;
91  	}
92  
93  
94  
95  	public void setEffectiveDate(Date effectiveDate) {
96  		this.effectiveDate = effectiveDate;
97  	}
98  
99  	public String getLmAccrualCategoryId() {
100 		return lmAccrualCategoryId;
101 	}
102 
103 	public void setLmAccrualCategoryId(String lmAccrualCategoryId) {
104 		this.lmAccrualCategoryId = lmAccrualCategoryId;
105 	}
106 
107 	public Timestamp getTimestamp() {
108 		return timestamp;
109 	}
110 
111 	public void setTimestamp(Timestamp timestamp) {
112 		this.timestamp = timestamp;
113 	}
114 
115 	@Override
116 	public String getUniqueKey() {
117 		return accrualCategory;
118 	}
119 
120 	@Override
121 	public String getId() {
122 		return getLmAccrualCategoryId();
123 	}
124 
125 	@Override
126 	public void setId(String id) {
127 		setLmAccrualCategoryId(id);
128 	}
129 
130 }