001 /* 002 * Copyright 2011 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.kfs.module.cab.businessobject; 017 018 import java.math.BigDecimal; 019 import java.sql.Date; 020 import java.sql.Timestamp; 021 import java.util.List; 022 023 import org.kuali.rice.kns.util.KualiDecimal; 024 025 /** 026 * Value object to carry the system parameters associated with CAB Batch 027 */ 028 public class BatchParameters { 029 private Timestamp lastRunTime; 030 private Date lastRunDate; 031 private List<String> excludedChartCodes; 032 private List<String> excludedSubFundCodes; 033 private List<String> includedFinancialBalanceTypeCodes; 034 private List<String> excludedFiscalPeriods; 035 private List<String> excludedDocTypeCodes; 036 private List<String> includedFinancialObjectSubTypeCodes; 037 private BigDecimal capitalizationLimitAmount; 038 039 /** 040 * Gets the lastRunTime attribute. 041 * 042 * @return Returns the lastRunTime 043 */ 044 045 public Timestamp getLastRunTime() { 046 return lastRunTime; 047 } 048 049 /** 050 * Sets the lastRunTime attribute. 051 * 052 * @param lastRunTime The lastRunTime to set. 053 */ 054 055 public void setLastRunTime(Timestamp lastRunTime) { 056 this.lastRunTime = lastRunTime; 057 } 058 059 /** 060 * Gets the excludedChartCodes attribute. 061 * 062 * @return Returns the excludedChartCodes 063 */ 064 065 public List<String> getExcludedChartCodes() { 066 return excludedChartCodes; 067 } 068 069 /** 070 * Sets the excludedChartCodes attribute. 071 * 072 * @param excludedChartCodes The excludedChartCodes to set. 073 */ 074 075 public void setExcludedChartCodes(List<String> excludedChartCodes) { 076 this.excludedChartCodes = excludedChartCodes; 077 } 078 079 /** 080 * Gets the excludedSubFundCodes attribute. 081 * 082 * @return Returns the excludedSubFundCodes 083 */ 084 085 public List<String> getExcludedSubFundCodes() { 086 return excludedSubFundCodes; 087 } 088 089 /** 090 * Sets the excludedSubFundCodes attribute. 091 * 092 * @param excludedSubFundCodes The excludedSubFundCodes to set. 093 */ 094 095 public void setExcludedSubFundCodes(List<String> excludedSubFundCodes) { 096 this.excludedSubFundCodes = excludedSubFundCodes; 097 } 098 099 /** 100 * Gets the includedFinancialBalanceTypeCodes attribute. 101 * 102 * @return Returns the includedFinancialBalanceTypeCodes 103 */ 104 105 public List<String> getIncludedFinancialBalanceTypeCodes() { 106 return includedFinancialBalanceTypeCodes; 107 } 108 109 /** 110 * Sets the includedFinancialBalanceTypeCodes attribute. 111 * 112 * @param includedFinancialBalanceTypeCodes The includedFinancialBalanceTypeCodes to set. 113 */ 114 115 public void setIncludedFinancialBalanceTypeCodes(List<String> includeFinancialBalanceTypeCodes) { 116 this.includedFinancialBalanceTypeCodes = includeFinancialBalanceTypeCodes; 117 } 118 119 /** 120 * Gets the excludedFiscalPeriods attribute. 121 * 122 * @return Returns the excludedFiscalPeriods 123 */ 124 125 public List<String> getExcludedFiscalPeriods() { 126 return excludedFiscalPeriods; 127 } 128 129 /** 130 * Sets the excludedFiscalPeriods attribute. 131 * 132 * @param excludedFiscalPeriods The excludedFiscalPeriods to set. 133 */ 134 135 public void setExcludedFiscalPeriods(List<String> excludeFiscalPeriods) { 136 this.excludedFiscalPeriods = excludeFiscalPeriods; 137 } 138 139 /** 140 * Gets the excludedDocTypeCodes attribute. 141 * 142 * @return Returns the excludedDocTypeCodes 143 */ 144 145 public List<String> getExcludedDocTypeCodes() { 146 return excludedDocTypeCodes; 147 } 148 149 /** 150 * Sets the excludedDocTypeCodes attribute. 151 * 152 * @param excludedDocTypeCodes The excludedDocTypeCodes to set. 153 */ 154 155 public void setExcludedDocTypeCodes(List<String> excludedDocTypeCodes) { 156 this.excludedDocTypeCodes = excludedDocTypeCodes; 157 } 158 159 /** 160 * Gets the includedFinancialObjectSubTypeCodes attribute. 161 * 162 * @return Returns the includedFinancialObjectSubTypeCodes 163 */ 164 165 public List<String> getIncludedFinancialObjectSubTypeCodes() { 166 return includedFinancialObjectSubTypeCodes; 167 } 168 169 /** 170 * Sets the includedFinancialObjectSubTypeCodes attribute. 171 * 172 * @param includedFinancialObjectSubTypeCodes The includedFinancialObjectSubTypeCodes to set. 173 */ 174 175 public void setIncludedFinancialObjectSubTypeCodes(List<String> includedFinancialObjectSubTypeCodes) { 176 this.includedFinancialObjectSubTypeCodes = includedFinancialObjectSubTypeCodes; 177 } 178 179 /** 180 * Gets the capitalizationLimitAmount attribute. 181 * 182 * @return Returns the capitalizationLimitAmount. 183 */ 184 public BigDecimal getCapitalizationLimitAmount() { 185 return capitalizationLimitAmount; 186 } 187 188 /** 189 * Sets the capitalizationLimitAmount attribute value. 190 * 191 * @param capitalizationLimitAmount The capitalizationLimitAmount to set. 192 */ 193 public void setCapitalizationLimitAmount(BigDecimal capitalizationLimitAmount) { 194 this.capitalizationLimitAmount = capitalizationLimitAmount; 195 } 196 197 /** 198 * Gets the lastRunDate attribute. 199 * 200 * @return Returns the lastRunDate. 201 */ 202 public Date getLastRunDate() { 203 return lastRunDate; 204 } 205 206 /** 207 * Sets the lastRunDate attribute value. 208 * 209 * @param lastRunDate The lastRunDate to set. 210 */ 211 public void setLastRunDate(Date lastRunDate) { 212 this.lastRunDate = lastRunDate; 213 } 214 }