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.detail.web;
17  
18  import java.math.BigDecimal;
19  import java.util.ArrayList;
20  import java.util.List;
21  
22  import org.kuali.hr.lm.balancetransfer.BalanceTransfer;
23  import org.kuali.hr.time.timesheet.web.TimesheetActionForm;
24  
25  /**
26   * Base form for both WS and Regular TimeDetail action.
27   */
28  @SuppressWarnings("serial")
29  public class TimeDetailActionFormBase extends TimesheetActionForm {
30  
31      private String tkTimeBlockId;
32      private String outputString;
33      private List<String> warnings = new ArrayList<String>();
34      private String startTime;
35      private String endTime;
36      private String acrossDays;
37      private String startDate;
38      private String endDate;
39      private BigDecimal hours;
40      private BigDecimal amount;
41      private String overtimePref;
42      private String spanningWeeks; // KPME-1446
43      private String lmLeaveBlockId;
44      private BigDecimal leaveAmount; // for leave blocks
45      private List<BalanceTransfer> forfeitures;
46  
47      public String getSpanningWeeks() {
48  		return spanningWeeks;
49  	}
50  
51  	public void setSpanningWeeks(String spanningWeeks) {
52  		this.spanningWeeks = spanningWeeks;
53  	}
54  
55  	public String getTkTimeBlockId() {
56          return tkTimeBlockId;
57      }
58  
59      public void setTkTimeBlockId(String tkTimeBlockId) {
60          this.tkTimeBlockId = tkTimeBlockId;
61      }
62  
63      public BigDecimal getHours() {
64          return hours;
65      }
66  
67      public void setHours(BigDecimal hours) {
68          this.hours = hours;
69      }
70  
71      public BigDecimal getAmount() {
72          return amount;
73      }
74  
75      public void setAmount(BigDecimal amount) {
76          this.amount = amount;
77      }
78  
79      public String getStartDate() {
80          return startDate;
81      }
82  
83      public void setStartDate(String startDate) {
84          this.startDate = startDate;
85      }
86  
87      public String getEndDate() {
88          return endDate;
89      }
90  
91      public void setEndDate(String endDate) {
92          this.endDate = endDate;
93      }
94  
95      public String getEndTime() {
96          return endTime;
97      }
98  
99      public void setEndTime(String endTime) {
100         this.endTime = endTime;
101     }
102 
103     public String getAcrossDays() {
104         return acrossDays;
105     }
106 
107     public void setAcrossDays(String acrossDays) {
108         this.acrossDays = acrossDays;
109     }
110 
111     public String getStartTime() {
112         return startTime;
113     }
114 
115     public void setStartTime(String startTime) {
116         this.startTime = startTime;
117     }
118 
119     public String getOutputString() {
120         return outputString;
121     }
122 
123     public void setOutputString(String outputString) {
124         this.outputString = outputString;
125     }
126 
127     public List<String> getWarnings() {
128         return warnings;
129     }
130 
131     public void setWarnings(List<String> warnings) {
132         this.warnings = warnings;
133     }
134 
135     public String getOvertimePref() {
136         return overtimePref;
137     }
138 
139     public void setOvertimePref(String overtimePref) {
140         this.overtimePref = overtimePref;
141     }
142 
143 	public String getLmLeaveBlockId() {
144 		return lmLeaveBlockId;
145 	}
146 
147 	public void setLmLeaveBlockId(String lmLeaveBlockId) {
148 		this.lmLeaveBlockId = lmLeaveBlockId;
149 	}
150 
151 	public BigDecimal getLeaveAmount() {
152 		return leaveAmount;
153 	}
154 
155 	public void setLeaveAmount(BigDecimal leaveAmount) {
156 		this.leaveAmount = leaveAmount;
157 	}
158 
159 	public List<BalanceTransfer> getForfeitures() {
160 		return forfeitures;
161 	}
162 
163 	public void setForfeitures(List<BalanceTransfer> forfeitures) {
164 		this.forfeitures = forfeitures;
165 	}
166 }