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