001 /**
002 * Copyright 2004-2012 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.detail.web;
017
018 import java.math.BigDecimal;
019 import java.util.ArrayList;
020 import java.util.List;
021
022 import org.kuali.hr.time.timesheet.web.TimesheetActionForm;
023
024 /**
025 * Base form for both WS and Regular TimeDetail action.
026 */
027 @SuppressWarnings("serial")
028 public class TimeDetailActionFormBase extends TimesheetActionForm {
029
030 private String tkTimeBlockId;
031 private String outputString;
032 private List<String> warnings = new ArrayList<String>();
033 private String startTime;
034 private String endTime;
035 private String acrossDays;
036 private String startDate;
037 private String endDate;
038 private BigDecimal hours;
039 private BigDecimal amount;
040 private String overtimePref;
041 private String spanningWeeks; // KPME-1446
042
043 public String getSpanningWeeks() {
044 return spanningWeeks;
045 }
046
047 public void setSpanningWeeks(String spanningWeeks) {
048 this.spanningWeeks = spanningWeeks;
049 }
050
051 public String getTkTimeBlockId() {
052 return tkTimeBlockId;
053 }
054
055 public void setTkTimeBlockId(String tkTimeBlockId) {
056 this.tkTimeBlockId = tkTimeBlockId;
057 }
058
059 public BigDecimal getHours() {
060 return hours;
061 }
062
063 public void setHours(BigDecimal hours) {
064 this.hours = hours;
065 }
066
067 public BigDecimal getAmount() {
068 return amount;
069 }
070
071 public void setAmount(BigDecimal amount) {
072 this.amount = amount;
073 }
074
075 public String getStartDate() {
076 return startDate;
077 }
078
079 public void setStartDate(String startDate) {
080 this.startDate = startDate;
081 }
082
083 public String getEndDate() {
084 return endDate;
085 }
086
087 public void setEndDate(String endDate) {
088 this.endDate = endDate;
089 }
090
091 public String getEndTime() {
092 return endTime;
093 }
094
095 public void setEndTime(String endTime) {
096 this.endTime = endTime;
097 }
098
099 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 }